WidgetSwap

Verified contract

Active on Ethereum with 2,775 txns
Deployed by via 0x3f7a5c09 at 18187961
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0
0x56eb74a333b7476d8d986eb3461aafbcbf9bb423baead0ee060bf87ba97a1495
0xbc220f05a57e79124f5b1d26df88e23cad35484c8a6cf113022b0fb47641a77e
0x55a89a86222118804773829f82e99af9ff5723de340a8d0c5e989295f2d127a2
0x40b570483f216836ee18ed1edb4b2f3cc3694c7adcd13305c8ae5a6c7b7d2954
0x0c4573884d5a9120537b1e4c56249e93e1c0881d6cf3b7c6e781d88e7bdb747f
0x83e84870f994f65eaa84f4386fe3472b990e245a3ac99bf207273f6d9d1b705b
0x283602566929df22313ef60358b77cb708052db9866e2589dbf4e2bbb453719c
0xdf11e099956350e75047ba530f8feb39dc1697c94262c7f4c8941cf138effef7
0x96176bca34ca9c29dcfb6cd4eba703245741225d0b13fb49e55a74dee3f1d79c
0xa17a5db7cdc87e94885cf32599c9a8873a540b11d9fd320a82669c5f0aa5e9fd

Functions
Getter at block 21211460
MAX_UINT(view returns (uint256)
115792089237316195423570985008687907853269984665640564039457584007913129639935
TENTH_BPS_DENOMINATOR(view returns (uint256)
100000
stargateFactory(view returns (address)
0x06d538690af257da524f25d0cd52fd85b1c2173e
stargateRouter(view returns (address)
0x8731d54e9d02c286767d56ac03e8037c07e01e98
stargateRouterETH(view returns (address)
0x150f94b44927f078737562f0fcf3c95c01cc2376
Read-only
tokenApproved(addressview returns (bool)
State-modifying
partnerSwap(bytes2 _partnerId
swapETH(uint16 _dstChainIduint256 _amountLDuint256 _minAmountLDbytes _tobytes2 _partnerIdstruct IStargateWidgetFeeObj _feeObjpayable 
swapTokens(uint16 _dstChainIduint16 _srcPoolIduint16 _dstPoolIduint256 _amountLDuint256 _minAmountLDstruct IStargateRouterlzTxObj _lzTxParamsbytes _tobytes2 _partnerIdstruct IStargateWidgetFeeObj _feeObjpayable 
Events
PartnerSwap(bytes2 indexed partnerId
WidgetSwapped(bytes2 indexed partnerIduint256 tenthBpsuint256 widgetFee
Constructor
constructor(address _stargateRouteraddress _stargateRouterETHaddress _stargateFactory
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.