# Issuing functions

The following functions are to be called on the Securities Factory contract.&#x20;

### **Request issue of a Security token**

```typescript
issueSecurity(  _security: string,
                _category: string,
                _company: string, 
                _isin: string, 
                _currency: string, 
                _issuer: string,
                _intermediary: string,                
                _restrictions: string,
                _country: string,
                _qualified: string
                )
```

| \_security     | address of associated investment product                                |
| -------------- | ----------------------------------------------------------------------- |
| \_category     | string product category (eg, Shares)                                    |
| \_company      | string issuing business                                                 |
| \_currency     | address of settlement token                                             |
| \_issuer       | address of issuer wallet requesting issue                               |
| \_intermediary | address of registrar and transfer agent                                 |
| \_restrictions | bytes encoded array of restricted countries                             |
| \_country      | string country of issuer                                                |
| \_qualified    | boolean indicating access of security token to only qualified investors |

### **Query issuer of a Security token**

```
getHolder(_token: string)
```

### **Query investment product for a Security token**

```typescript
getSecurity(_token: string)
```

### **Query other attributes of a Security token**

```typescript
getSecurityToken(_token: string, _issuer: string)
```

| \_token  | address of security token issued |
| -------- | -------------------------------- |
| \_issuer | address of security token issuer |
