# OptionCore

This contract is the base that sets common configuration that `call`, `puts`, e even in the future other complex forms of options.

## View methods

### underlyingBalanc&#x65;**()**

**`function underlyingBalance()`**

Returns the current total `underlyingAsset` balance available in the `contract`

| `return` name     | Type    | Description                              |
| ----------------- | ------- | ---------------------------------------- |
| underlyingBalance | uint256 | `underlyingAsset` balance, in wei units. |

### strikeBalanc&#x65;**()**

**`function strikeBalance()`**

Returns the current total `strikeAsset` balance available in the `contract`

| `return` name | Type    | Description                          |
| ------------- | ------- | ------------------------------------ |
| strikeBalance | uint256 | `strikeAsset` balance, in wei units. |

### hasExpire&#x64;**()**

**`function hasExpired()`**

Returns a boolean representing whether the current options series has expired.

| `return` name | Type    | Description                              |
| ------------- | ------- | ---------------------------------------- |
| hasExpired    | boolean | receiver if option contract has expired. |

### lockedBalanc&#x65;**()**

**`function lockedBalance(address)`**

Returns the current total of asset locked by an `address` in order to create options.

`return` name

| Type    | Description |                                                                                                                           |
| ------- | ----------- | ------------------------------------------------------------------------------------------------------------------------- |
| balance | uint256     | locked balance of the user. if is put, the locked is the `strikeAsset`. If is call, then is the `underlyingAsset` locked. |
