WidgetSwap

Verified contract

Active on Base with 11,247 txns
Deployed by via 0x4e8b9bb0 at 4277420
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
0x4af219c24652395df002ceb1b0c8f17d9993d5ee9c4e9544a21d7588044a1d8f
0xc6d31bf63a91a0d2716051d2d525a34f51e74985fdee3fca3a84c910b1586ae1
0x9949e11b42299f9c344a106e326ae19fd7dcadc06eac30df2c5408bfd95c2e89
0xae772f113ed888a8be852fa6716b2951e4435fba73c1805e313538f85e56091d
0xa8b76710bbf88dae05353bd5837434709a9868cdf61271470994eea12f772bd5
0xbd55e77f907bcaafb01856abd368c250d8558c82563a70c241b22f7b2d9ac4b0
0x0b1942b89a235dd86d4172998604ed6d1417025ab32d4fa0fe2b84c3959c654d
0x6ef1f3e418f27be4b1a24f2979f912803d19828b599bbe96b0d78f63d0440c98
0xe7abd1a4781df0e61c7c2ab049c74ba9791bcbc24fdd5cc16eb791b73e3eddad
0x914d497bf9f7425a4e46366297cd701533a122e9595c09cc05c982d0148bb3ef

Functions
Getter at block 22748399
MAX_UINT(view returns (uint256)
115792089237316195423570985008687907853269984665640564039457584007913129639935
TENTH_BPS_DENOMINATOR(view returns (uint256)
100000
stargateFactory(view returns (address)
0xaf5191b0de278c7286d6c7cc6ab6bb8a73ba2cd6
stargateRouter(view returns (address)
0x45f1a95a4d3f3836523f5c83673c797f4d4d263b
stargateRouterETH(view returns (address)
0x50b6ebc2103bfec165949cc946d739d5650d7ae4
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.