MockOracle.sol
View Source: contracts/mocks/MockOracle.sol
↗ Extends: IOracle
MockOracle
Contract Members
Constants & Variables
Functions
Arguments
Name | Type | Description |
_currency | address | |
_currencySymbol | bytes32 | |
_denominatedCurrency | bytes32 | |
_price | uint256 |
changePrice
Arguments
Name | Type | Description |
_price | uint256 |
getCurrencyAddress
⤾ overrides IOracle.getCurrencyAddress
Returns address of oracle currency (0x0 for ETH)
Arguments
Name | Type | Description |
getCurrencySymbol
⤾ overrides IOracle.getCurrencySymbol
Returns symbol of oracle currency (0x0 for ETH)
Arguments
Name | Type | Description |
getCurrencyDenominated
⤾ overrides IOracle.getCurrencyDenominated
Returns denomination of price
Arguments
Name | Type | Description |
getPrice
⤾ overrides IOracle.getPrice
Returns price - should throw if not valid
Arguments
Name | Type | Description |
PreviousIPolymathRegistry.solNextTransfer Manager module for manually approving transactions between accounts (ManualApprovalTransfer
Last updated