Skip to main content

Module Exchange

Module Exchange 

Source
Expand description

Module containing a contract’s types and functions.

contract Exchange {
    event Deposit(address indexed account, address indexed from, address indexed token, uint256 amount);
    event UsdcDeposit(address indexed account, address indexed from, address indexed token, uint256 amount, uint32 dstDex);
    event PmLiquidityDeposit(address indexed lp, address indexed from, address indexed token, string underlying, uint256 amount, uint32 dstDex);
    function managers(address account) external view returns (address);
}

Structs§

Deposit
Event with signature Deposit(address,address,address,uint256) and selector 0x7cfff908a4b583f36430b25d75964c458d8ede8a99bd61be750e97ee1b2f3a96.
ExchangeInstance
A Exchange instance.
PmLiquidityDeposit
Event with signature PmLiquidityDeposit(address,address,address,string,uint256,uint32) and selector 0x45ed6dd0cb02b90a0b3b01f4d5659ce1c5e74e4c80111f61f39b48ff57a0e1a7.
UsdcDeposit
Event with signature UsdcDeposit(address,address,address,uint256,uint32) and selector 0x07ad20a3b9346d0688924ac70ee08fc04de9f80a1240899c8dc17c65b369477a.
managersCall
Function with signature managers(address) and selector 0xfdff9b4d.
managersReturn
Container type for the return parameters of the managers(address) function.

Enums§

ExchangeCalls
Container for all the Exchange function calls.
ExchangeEvents
Container for all the Exchange events.

Functions§

new
Creates a new wrapper around an on-chain Exchange contract instance.