IPCVSwapper
Functions
swap
function swap() external
setReceivingAddress
function setReceivingAddress(
address _tokenReceivingAddress
) external
Parameters
Name | Type | Description |
---|---|---|
_tokenReceivingAddress | address |
tokenSpent
function tokenSpent() external returns (address)
tokenReceived
function tokenReceived() external returns (address)
tokenReceivingAddress
function tokenReceivingAddress() external returns (address)
Events
UpdateReceivingAddress
event UpdateReceivingAddress(
address oldTokenReceivingAddress,
address newTokenReceivingAddress
)
Parameters
Name | Type | Description |
---|---|---|
oldTokenReceivingAddress | address | |
newTokenReceivingAddress | address |
Swap
event Swap(
address _caller,
address _tokenSpent,
address _tokenReceived,
uint256 _amountSpent,
uint256 _amountReceived
)
Parameters
Name | Type | Description |
---|---|---|
_caller | address | |
_tokenSpent | address | |
_tokenReceived | address | |
_amountSpent | uint256 | |
_amountReceived | uint256 |