ExchangeIncreasePositionHandler
ExchangeIncreasePositionHandler
Addresses
Chain | Address |
---|---|
Arbitrum Sepolia | 0xB8bC88E45B3a9ed98cE76EfBdbcA2EDf7d2445df |
Base Sepolia | 0xe5f656AC8B38Dc3F4DA0844dfAEE104B5C037a4b |
Base Mainnet | 0x12451E4FFc826441C8850AA859013F719d969A15 |
Functions
initialize
function initialize(struct StorageInstance app_) external
emitPriceUpdate
function emitPriceUpdate(ProductId productId, FPUnsigned value, uint64 timestamp, address oracle) external
invoke
function invoke(
contract IERC20 asset,
struct IExchangeDomain.IncreaseState state
) external returns (
struct IExchangeDomain.IncreasePreview next
)
Events
PriceUpdate
event PriceUpdate(ProductId productId, FPUnsigned value, uint64 timestamp, address oracle)