Ownable.allowOwnership(allowedAddress) nonpayable
4bbc142c
Allows interface contracts to access contract methods (e.g. Storage contract)
Inputs
type | name | description |
---|---|---|
address | allowedAddress | The address of new owner |
Outputs
type | name | description |
---|---|---|
bool | success | Returns true when successfully allowed ownership |
Ownable.owner() view
666e1b39
Inputs
type | name | description |
---|---|---|
address | undefined |
Ownable.transferOwnership(newOwner) nonpayable
f2fde38b
Allows the current owner to transfer control of the contract to a newOwner.
Inputs
type | name | description |
---|---|---|
address | newOwner | The address to transfer ownership to. |
Outputs
type | name | description |
---|---|---|
bool | success | Returns true when successfully transferred ownership |
Ownable.LogOwnershipTransferred(previousOwner, newOwner) db6d05f3
Arguments
type | name | description |
---|---|---|
address | previousOwner | indexed |
address | newOwner | indexed |
Ownable.LogAllowOwnership(allowedAddress) 5c65eb6a
Arguments
type | name | description |
---|---|---|
address | allowedAddress | indexed |
TokenIOLib.Approval(owner, spender, amount) 8c5be1e5
Arguments
type | name | description |
---|---|---|
address | owner | indexed |
address | spender | indexed |
uint256 | amount | not indexed |
TokenIOLib.Deposit(currency, account, amount, issuerFirm) b20a3585
Arguments
type | name | description |
---|---|---|
string | currency | not indexed |
address | account | indexed |
uint256 | amount | not indexed |
string | issuerFirm | not indexed |
TokenIOLib.Withdraw(currency, account, amount, issuerFirm) be0071d3
Arguments
type | name | description |
---|---|---|
string | currency | not indexed |
address | account | indexed |
uint256 | amount | not indexed |
string | issuerFirm | not indexed |
TokenIOLib.Transfer(currency, from, to, amount, data) 6f3dcde0
Arguments
type | name | description |
---|---|---|
string | currency | not indexed |
address | from | indexed |
address | to | indexed |
uint256 | amount | not indexed |
bytes | data | not indexed |
TokenIOLib.KYCApproval(account, status, issuerFirm) ab56f145
Arguments
type | name | description |
---|---|---|
address | account | indexed |
bool | status | not indexed |
string | issuerFirm | not indexed |
TokenIOLib.AccountStatus(account, status, issuerFirm) 1d711093
Arguments
type | name | description |
---|---|---|
address | account | indexed |
bool | status | not indexed |
string | issuerFirm | not indexed |
TokenIOLib.FxSwap(tokenASymbol, tokenBSymbol, tokenAValue, tokenBValue, expiration, transactionHash) 8afc838d
Arguments
type | name | description |
---|---|---|
string | tokenASymbol | not indexed |
string | tokenBSymbol | not indexed |
uint256 | tokenAValue | not indexed |
uint256 | tokenBValue | not indexed |
uint256 | expiration | not indexed |
bytes32 | transactionHash | not indexed |
TokenIOLib.AccountForward(originalAccount, forwardedAccount) 940b3d9c
Arguments
type | name | description |
---|---|---|
address | originalAccount | indexed |
address | forwardedAccount | indexed |
TokenIOLib.NewAuthority(authority, issuerFirm) c05f995c
Arguments
type | name | description |
---|---|---|
address | authority | indexed |
string | issuerFirm | not indexed |
TokenIOMerchant.allowOwnership(allowedAddress) nonpayable
4bbc142c
Allows interface contracts to access contract methods (e.g. Storage contract)
Inputs
type | name | description |
---|---|---|
address | allowedAddress | The address of new owner |
Outputs
type | name | description |
---|---|---|
bool | success | Returns true when successfully allowed ownership |
TokenIOMerchant.setParams(feeContract) nonpayable
4e49acac
Sets Merchant globals and fee paramters
Inputs
type | name | description |
---|---|---|
address | feeContract | Address of fee contract |
Outputs
type | name | description |
---|---|---|
bool | success | Returns true if successfully called from another contract |
TokenIOMerchant.calculateFees(amount) view
52238fdd
Calculates fee of a given transfer amount
Inputs
type | name | description |
---|---|---|
uint256 | amount | Amount to calculcate fee value |
Outputs
type | name | description |
---|---|---|
uint256 | fees | Returns the calculated transaction fees based on the fee contract parameters |
TokenIOMerchant.owner() view
666e1b39
Inputs
type | name | description |
---|---|---|
address | undefined |
TokenIOMerchant.pay(currency, merchant, amount, merchantPaysFees, data) nonpayable
6db31c25
Pay method for merchant interface
Inputs
type | name | description |
---|---|---|
string | currency | Currency symbol of the token (e.g. USDx, JYPx, GBPx) |
address | merchant | Ethereum address of merchant |
uint256 | amount | Amount of currency to send to merchant |
bool | merchantPaysFees | Provide option for merchant to pay the transaction fees |
bytes | data | Optional data to be included when paying the merchant (e.g. item receipt) |
Outputs
type | name | description |
---|---|---|
bool | success | Returns true if successfully called from another contract |
TokenIOMerchant.getFeeParams() view
be6fc181
Gets fee parameters
Outputs
type | name | description |
---|---|---|
uint256 | bps | Fee amount as a mesuare of basis points |
uint256 | min | Minimum fee amount |
uint256 | max | Maximum fee amount |
uint256 | flat | Flat fee amount |
address | feeAccount | undefined |
TokenIOMerchant.transferOwnership(newOwner) nonpayable
f2fde38b
Allows the current owner to transfer control of the contract to a newOwner.
Inputs
type | name | description |
---|---|---|
address | newOwner | The address to transfer ownership to. |
Outputs
type | name | description |
---|---|---|
bool | success | Returns true when successfully transferred ownership |
TokenIOMerchant.LogOwnershipTransferred(previousOwner, newOwner) db6d05f3
Arguments
type | name | description |
---|---|---|
address | previousOwner | indexed |
address | newOwner | indexed |
TokenIOMerchant.LogAllowOwnership(allowedAddress) 5c65eb6a
Arguments
type | name | description |
---|---|---|
address | allowedAddress | indexed |
Ryan Tate [email protected], Sean Pollock [email protected]
TokenIOStorage.deleteAddress(_key) nonpayable
0e14a376
Delete value for Address associated with bytes32 id key
Inputs
type | name | description |
---|---|---|
bytes32 | _key | Pointer identifier for value in storage |
Outputs
type | name | description |
---|---|---|
bool | success | Returns true when successfully called from another contract |
TokenIOStorage.getAddress(_key) view
21f8a721
Get value for Address associated with bytes32 id key
Inputs
type | name | description |
---|---|---|
bytes32 | _key | Pointer identifier for value in storage |
Outputs
type | name | description |
---|---|---|
address | _value | Returns the Address value associated with the id key |
TokenIOStorage.deleteBool(_key) nonpayable
2c62ff2d
Delete value for Bool associated with bytes32 id key
Inputs
type | name | description |
---|---|---|
bytes32 | _key | Pointer identifier for value in storage |
Outputs
type | name | description |
---|---|---|
bool | success | Returns true when successfully called from another contract |
TokenIOStorage.setBytes(_key, _value) nonpayable
2e28d084
Set value for Bytes associated with bytes32 id key
Inputs
type | name | description |
---|---|---|
bytes32 | _key | Pointer identifier for value in storage |
bytes | _value | The Bytes value to be set |
Outputs
type | name | description |
---|---|---|
bool | success | Returns true when successfully called from another contract |
TokenIOStorage.setInt(_key, _value) nonpayable
3e49bed0
Set value for Int associated with bytes32 id key
Inputs
type | name | description |
---|---|---|
bytes32 | _key | Pointer identifier for value in storage |
int256 | _value | The Int value to be set |
Outputs
type | name | description |
---|---|---|
bool | success | Returns true when successfully called from another contract |
TokenIOStorage.allowOwnership(allowedAddress) nonpayable
4bbc142c
Allows interface contracts to access contract methods (e.g. Storage contract)
Inputs
type | name | description |
---|---|---|
address | allowedAddress | The address of new owner |
Outputs
type | name | description |
---|---|---|
bool | success | Returns true when successfully allowed ownership |
TokenIOStorage.deleteBytes(_key) nonpayable
616b59f6
Delete value for Bytes associated with bytes32 id key
Inputs
type | name | description |
---|---|---|
bytes32 | _key | Pointer identifier for value in storage |
Outputs
type | name | description |
---|---|---|
bool | success | Returns true when successfully called from another contract |
TokenIOStorage.owner() view
666e1b39
Inputs
type | name | description |
---|---|---|
address | undefined |
TokenIOStorage.setString(_key, _value) nonpayable
6e899550
Set value for String associated with bytes32 id key
Inputs
type | name | description |
---|---|---|
bytes32 | _key | Pointer identifier for value in storage |
string | _value | The String value to be set |
Outputs
type | name | description |
---|---|---|
bool | success | Returns true when successfully called from another contract |
TokenIOStorage.getBool(_key) view
7ae1cfca
Get value for Bool associated with bytes32 id key
Inputs
type | name | description |
---|---|---|
bytes32 | _key | Pointer identifier for value in storage |
Outputs
type | name | description |
---|---|---|
bool | _value | Returns the Bool value associated with the id key |
TokenIOStorage.deleteInt(_key) nonpayable
8c160095
Delete value for Int associated with bytes32 id key
Inputs
type | name | description |
---|---|---|
bytes32 | _key | Pointer identifier for value in storage |
Outputs
type | name | description |
---|---|---|
bool | success | Returns true when successfully called from another contract |
TokenIOStorage.getString(_key) view
986e791a
Get value for String associated with bytes32 id key
Inputs
type | name | description |
---|---|---|
bytes32 | _key | Pointer identifier for value in storage |
Outputs
type | name | description |
---|---|---|
string | _value | Returns the String value associated with the id key |
TokenIOStorage.setBool(_key, _value) nonpayable
abfdcced
Set value for Bool associated with bytes32 id key
Inputs
type | name | description |
---|---|---|
bytes32 | _key | Pointer identifier for value in storage |
bool | _value | The Bool value to be set |
Outputs
type | name | description |
---|---|---|
bool | success | Returns true when successfully called from another contract |
TokenIOStorage.getUint(_key) view
bd02d0f5
Get value for Uint associated with bytes32 id key
Inputs
type | name | description |
---|---|---|
bytes32 | _key | Pointer identifier for value in storage |
Outputs
type | name | description |
---|---|---|
uint256 | _value | Returns the Uint value associated with the id key |
TokenIOStorage.getBytes(_key) view
c031a180
Get value for Bytes associated with bytes32 id key
Inputs
type | name | description |
---|---|---|
bytes32 | _key | Pointer identifier for value in storage |
Outputs
type | name | description |
---|---|---|
bytes | _value | Returns the Bytes value associated with the id key |
TokenIOStorage.setAddress(_key, _value) nonpayable
ca446dd9
Set value for Address associated with bytes32 id key
Inputs
type | name | description |
---|---|---|
bytes32 | _key | Pointer identifier for value in storage |
address | _value | The Address value to be set |
Outputs
type | name | description |
---|---|---|
bool | success | Returns true when successfully called from another contract |
TokenIOStorage.getInt(_key) view
dc97d962
Get value for Int associated with bytes32 id key
Inputs
type | name | description |
---|---|---|
bytes32 | _key | Pointer identifier for value in storage |
Outputs
type | name | description |
---|---|---|
int256 | _value | Returns the Int value associated with the id key |
TokenIOStorage.setUint(_key, _value) nonpayable
e2a4853a
Set value for Uint associated with bytes32 id key
Inputs
type | name | description |
---|---|---|
bytes32 | _key | Pointer identifier for value in storage |
uint256 | _value | The Uint value to be set |
Outputs
type | name | description |
---|---|---|
bool | success | Returns true when successfully called from another contract |
TokenIOStorage.deleteUint(_key) nonpayable
e2b202bf
Delete value for Uint associated with bytes32 id key
Inputs
type | name | description |
---|---|---|
bytes32 | _key | Pointer identifier for value in storage |
Outputs
type | name | description |
---|---|---|
bool | success | Returns true when successfully called from another contract |
TokenIOStorage.transferOwnership(newOwner) nonpayable
f2fde38b
Allows the current owner to transfer control of the contract to a newOwner.
Inputs
type | name | description |
---|---|---|
address | newOwner | The address to transfer ownership to. |
Outputs
type | name | description |
---|---|---|
bool | success | Returns true when successfully transferred ownership |
TokenIOStorage.deleteString(_key) nonpayable
f6bb3cc4
Delete value for String associated with bytes32 id key
Inputs
type | name | description |
---|---|---|
bytes32 | _key | Pointer identifier for value in storage |
Outputs
type | name | description |
---|---|---|
bool | success | Returns true when successfully called from another contract |
TokenIOStorage.LogOwnershipTransferred(previousOwner, newOwner) db6d05f3
Arguments
type | name | description |
---|---|---|
address | previousOwner | indexed |
address | newOwner | indexed |
TokenIOStorage.LogAllowOwnership(allowedAddress) 5c65eb6a
Arguments
type | name | description |
---|---|---|
address | allowedAddress | indexed |