Spend less on fees, more on crypto. Buy crypto easily with MoonPay Balance. 20M+ users trust MoonPay worldwide.
Don’t invest unless you’re prepared to lose all the money you invest.
3000+ Slots, 20+ Cryptos, 75K Raffle, Sports Promos - World's largest Crypto Casino & Sportsbook - Provably Fair!
Play in crypto to make deposits and withdrawals easy! Register and get a free daily shot at a 100 000 $ jackpot.
Monthly Wagering Contest - $500,000+ rewards. Provably Fair, Low House Edge and best VIP Program!
Daily free Spin 50000 Matic ,760% Deposit Bonus, 20%Rakeback, And Get 1000000 Matic free bonus on BC.Game
Deposit BONUS 300% and Cashbacks. without verification!
Holidays are coming soon! Start betting on 1xBit and get a secret gift from Santa!
Overview
POL Balance
POL Value
$0.00Token Holdings
Could not find any matches!
- ERC-20 Tokens (>100)549,416,627.043223 ELONDogelon (ELON)$115.38@0.0018.85031251 DAI(PoS) Dai St... (DAI)$18.83@0.9988142.691028 USDT(PoS) Tether... (USDT)$142.50@0.99870.00034248 WBTC(PoS) Wrappe... (WBTC)$32.64@95,303.0018.55537395 GHSTAavegotchi G... (GHST)$23.38@1.262.02961451 ankrMATICAnkr Staked ... (ankrMA...)$1.48@0.72893.823347 AXLAxelar (AXL)$3.70@0.968825.429429 axlUSDCAxelar Wrapp... (axlUSD...)0.00716127 BOBBOB (BOB)$0.01@0.9989191.47940077 CBYCarbify (CBY)$54.52@0.284711.88945286 LINKChainLink To... (LINK)$259.55@21.8328.24260362 CRVCRV (PoS) (CRV)$21.22@0.75133,365.86762637 DGDecentral Ga... (DG)$56.80@0.016960.13968955 DIMODimo (DIMO)$13.29@0.221251.18933222 PUSHEthereum Pus... (PUSH)$26.93@0.10721 FKRFlicker (FKR)$0.01@0.00521,832.98179804 FOODFoodChain Gl... (FOOD)$44.66@0.024453.6941629 GNSGains Networ... (GNS)$133.70@2.4979,370.49275275 GDDYGiddy Token (GDDY)$105.14@0.0013121.57584987 HOPHop (HOP)$2.37@0.019583.10667517 LDOLido DAO Tok... (LDO)$147.10@1.7719.28166581 MaticXLiquid Staki... (MaticX)$13.53@0.7018135.36428653 MASQMASQ (PoS) (MASQ)$27.25@0.20135 MEGAMEGA STAKE T... (MEGA)2.233461 miMATICmiMATIC (miMATI...)$2.21@0.9893254.25901934 IXTPlanetIX (IXT)$62.18@0.24461,428.50532474 NSFWPleasure Coi... (NSFW)$0.04@0.001,829,233,471.72774 PolyDogePolyDoge (PolyDo...)$24.33@0.000.00456202 tBTCPolygon tBTC... (tBTC)$434.36@95,213.00120.96959164 RunyRuny (Runy)$0.02@0.0002106.68020329 SANDSAND (SAND)$67.55@0.63320.73968476 SDStader (PoS) (SD)$0.74@0.9958268.21413481 stMATICStaked MATIC... (stMATI...)$185.90@0.693117.9805537 TAKITakiToken (TAKI)$0.03@0.001811,671.79 TELTelcoin (TEL)$76.57@0.006614.28268765 SOULSUnfettered E... (SOULS)$0.03@0.0019460.34143314 UNCNUnseen (UNCN)$287.57@0.6247333.141249 USDC.eUSD Coin (Po... (USDC.e)$332.71@0.998776.96129075 VEXTVeloce (VEXT)$2.90@0.03763,400.97810295 VDAVerida (VDA)$84.73@0.0249126.03038465 VOXELVOXEL Token (VOXEL)$29.80@0.23643,136.18023147 WOMBATWombat (WOMBAT)$1.13@0.00041,047.86447017 WMATICWrapped Mati... (WMATIC)$644.78@0.61531,076.7585057 DUCKIESYellow Ducki... (DUCKIE...)$3.50@0.00320.75533823 AAVEAave (PoS) (AAVE)$172.77@228.73317.62901964 QUICKQuickSwap (QUICK)$16.77@0.0528178.478136 USDCUSD Coin (USDC)$178.25@0.99870.1843709 WETHWrapped Ethe... (WETH)$664.51@3,604.228475,000 WUSD [ WWW.USD.GIFT] Visit to claim rewardERC-20: ! (WUSD [...)15,000 WETH [ WWW.3ETH.NET } Visit to claim rewardERC-20: ! (WETH [...)15,000 WETH [ 3ETH.NET ] Claim RewardERC-20: ! (WETH [...)15,000 WPOL [ WWW.POL-MAT.COM ]ERC-20: ! (WPOL [...)15,000 WPOL [ pol-mat.com ] Visit pol-mat.com to claim reERC-20: ! (WPOL [...)15,000 WPOL [ POL-MAT.COM ] Claim RewardERC-20: ! (WPOL [...)15,000 WPOL [ POL-MAT.COM ] Visit to claim rewardERC-20: ! (WPOL [...)900,000,000 POL-MAT.COM - Visit to claim RewardERC-20: ! (USD) (POL-MA...)43,767 AAVE [ACCESS AAVE.ASIA]ERC-20: ! AAVE.as... (AAVE [...)900,000,000 3 eth at www.ethfi.pwERC-20: ! ETHFI (3 eth ...)153,250 Fyde Points - www.fyde.pwERC-20: ! FYDE (Fyde P...)9,000,000,000 pol-mat.com -Visit to claim Reward BonusERC-20: ! POL-MAT... (pol-ma...)15,000 Visit GET-WLD.ORG to Claim RewardERC-20: ! Worldco... (Visit ...)53,086 $ MetaWin.farmERC-20: !MetaWin.... ($ Meta...)10,000 10000 ZKsync airdrop claim [ zksync.lat ]ERC-20: !ZKsync (10000 ...)9,000,000,000 ethfi.pw - Visit to claim bonus reward.ERC-20: $ ETHFI.p... (ethfi....)29,367 SIMPERC-20: $ SimpSwa... (SIMP)18,516,901.6481334 $CULOERC-20: $CULO ($CULO)250 BUSDERC-20: 250busd.c... (BUSD)99.16 pAAVEERC-20: AAVEPool.... (pAAVE)100 AIAPEERC-20: AIApe Coi... (AIAPE)9,927.9ERC20 ***8,558.20003562 ALGBAlgebra$0.72@0.0001333 ANYERC-20: Anything (ANY)8,512.39389888 ABONDERC-20: ApeBond (ABOND)10,000 AVAXVOUCHER.COM SWAP NOWERC-20: AVAX (AVAXVO...)155 BABYANDYERC-20: Babyandy (BABYAN...)50,408,610.178967 CONEBitCone$58.75@0.001,000 LIVE | BLASTC.com | AIRDROP BLASTERC-20: BLASTC.co... (LIVE |...)3.33513621 BOMERC-20: Borderles... (BOM)48.995 BRZBRZ0.22034815 CPLEERC-20: Carpool L... (CPLE)129.92 CASHCOINERC-20: CASH COIN (CASHCO...)20 CODOGEERC-20: CoDoge (CODOGE)0.00073474 COGERC-20: COG (COG)0.05425086 CMTKERC-20: COIN MOGE... (CMTK)0.00045673 fxcbETHCoinbase Wrapped Staked ETH (FXERC20)$1.79@3,915.93125.07231589 CRETACRETA TOKEN16,055.41925151 RADARERC-20: DappRadar (RADAR)1.26765253 DUSDDavos.xyz USD0.47218158 DECATSDECATS447.05576722 DSRUNERC-20: DerbyStar... (DSRUN)969.28119754 dQUICKERC-20: Dragon QU... (dQUICK)69 DylERC-20: Dyl (Dyl)20.86449392 ENDEndblock100 EvoXERC-20: Evo Excha... (EvoX)13,678 EXSVEXZENSVERS168.73020196 FBXFireBotToken$34.37@0.20374,924.28927211 fccfirst choice coin228.29408129 FUSEFuse Token$7.93@0.03471.52474653 GEODGeodnet Token$0.38@0.2497122,964.1215558 GONEGONENFT Tokens (44)GIVEAWAY$100,000,000ERC-1155NFT Airdrop Round0.05 WBTCERC-1155LIDO Launch Pool Drop1 stECDOERC-1155LIDO Launch Pool Drop1 stECDOERC-1155NFT Airdrop Round1,000 DAIERC-1155NFT Airdrop1000 DAIERC-1155NFT Airdrop Round1000 DAIERC-1155http://usdcash.xyz/1000$ AirDropERC-1155NFT Airdrop1300 GHSTERC-1155Vouchers5 stETH EventERC-1155Base Chain Raffle5.00 ETH by BaseERC-1155NFTVoucher5000$ CYBERERC-1155NFT Airdrop6000 IXTERC-1155NFT Airdrop700 LDOERC-1155NFT Airdrop Round700 LDOERC-1155NFT Airdrop Round700 LDOERC-1155NFT Airdrop700 LDO VoucherERC-11555 ETHAirdrop at ethliq.xyzERC-721APE COINAPE NFT TICKETSERC-1155https://t.ly/ethersdeBridge Airdropx2ERC-721OPTIMISMOPTIMISM NFT TICKETSERC-1155OPTIMISMOPTIMISM NFT TICKETSERC-1155OPTIMISMOPTIMISM NFT TICKETSERC-1155DCL-PLNTIXXICEPKRPlanet IX x ICE PokerERC-721test-box.onlineTestERC-1155ERC-1155 TOKEN*[Suspicious]ERC-1155 TOKEN*[Suspicious]ERC-1155 TOKEN*[Suspicious]ERC-1155 TOKEN*x3 [Spam]ERC-1155 TOKEN*[Spam]ERC-1155 TOKEN*[Spam]ERC-1155 TOKEN*[Spam]ERC-1155 TOKEN*[Spam]ERC-1155 TOKEN*[Spam]ERC-1155 TOKEN*[Spam]
Latest 25 from a total of 11,297 transactions
Transaction Hash MethodBlockFromToConvert 65000150 2024-12-02 16:47:46 1 hr ago 1733158066 IN 0 POL$0.00 0.06366277 107.18018013 Convert 65000092 2024-12-02 16:45:42 1 hr ago 1733157942 IN 0 POL$0.00 0.07504473 122.63214156 Convert Multiple 64991836 2024-12-02 11:51:28 5 hrs ago 1733140288 IN 0 POL$0.00 0.14370327 40.42319203 Convert Multiple 64946135 2024-12-01 8:16:22 33 hrs ago 1733040982 IN 0 POL$0.00 0.09066799 30.00002367 Convert Multiple 64833984 2024-11-28 13:05:42 4 days ago 1732799142 IN 0 POL$0.00 0.23253523 89.94401752 Convert Multiple 64785872 2024-11-27 8:27:36 5 days ago 1732696056 IN 0 POL$0.00 0.15165181 53.5678684 Convert Multiple 64750304 2024-11-26 10:11:07 6 days ago 1732615867 IN 0 POL$0.00 0.89579279 143.96022667 Convert 64708748 2024-11-25 9:13:22 7 days ago 1732526002 IN 0 POL$0.00 0.00429381 57.07199377 Convert 64708724 2024-11-25 9:12:32 7 days ago 1732525952 IN 0 POL$0.00 0.03448415 57.76501356 Convert 64708622 2024-11-25 9:08:54 7 days ago 1732525734 IN 0 POL$0.00 0.03977862 63.32682892 Convert Multiple 64708593 2024-11-25 9:07:54 7 days ago 1732525674 IN 0 POL$0.00 0.05974034 54.23067422 Convert Multiple 64708560 2024-11-25 9:06:44 7 days ago 1732525604 IN 0 POL$0.00 0.13450553 43.2946819 Convert Multiple 64640243 2024-11-23 15:46:29 9 days ago 1732376789 IN 0 POL$0.00 1.35434165 441.71707314 Convert 64573889 2024-11-22 0:06:20 10 days ago 1732233980 IN 0 POL$0.00 0.05217501 46.99491049 Convert 64573877 2024-11-22 0:05:54 10 days ago 1732233954 IN 0 POL$0.00 0.02424898 43.81200731 Convert 64573854 2024-11-22 0:05:04 10 days ago 1732233904 IN 0 POL$0.00 0.01792637 39.55598877 Convert Multiple 64573813 2024-11-22 0:03:38 10 days ago 1732233818 IN 0 POL$0.00 0.08530147 30.03000018 Convert Multiple 64521252 2024-11-20 16:26:37 12 days ago 1732119997 IN 0 POL$0.00 0.2648626 89.44963434 Convert 64468582 2024-11-19 9:04:56 13 days ago 1732007096 IN 0 POL$0.00 0.03519364 31.27707233 Convert 64468565 2024-11-19 9:04:20 13 days ago 1732007060 IN 0 POL$0.00 0.03457332 31.04340991 Convert 64468401 2024-11-19 8:58:32 13 days ago 1732006712 IN 0 POL$0.00 0.03596742 30.78116653 Convert Multiple 64468354 2024-11-19 8:56:52 13 days ago 1732006612 IN 0 POL$0.00 0.19569882 33.19701994 Convert Multiple 64468326 2024-11-19 8:55:52 13 days ago 1732006552 IN 0 POL$0.00 0.18108841 30.66960566 Convert Multiple 64414498 2024-11-18 0:45:10 14 days ago 1731890710 IN 0 POL$0.00 0.08724109 30.00000634 Convert Multiple 64322395 2024-11-15 17:19:13 17 days ago 1731691153 IN 0 POL$0.00 0.19177897 67.68348083 Loading...LoadingContract Name:ConverterV3
Compiler Versionv0.7.6+commit.7338295f
Optimization Enabled:Yes with 1000000 runs
Other Settings:default evmVersionContract Source Code (Solidity Standard Json-Input format)
pragma solidity 0.7.6; pragma abicoder v2; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import '@openzeppelin/contracts/token/ERC20/SafeERC20.sol'; import '@openzeppelin/contracts/math/SafeMath.sol'; import '@openzeppelin/contracts/access/Ownable.sol'; interface ISwapRouter { struct ExactInputSingleParams { address tokenIn; address tokenOut; address recipient; uint256 deadline; uint256 amountIn; uint256 amountOutMinimum; uint160 limitSqrtPrice; } /// @notice Swaps `amountIn` of one token for as much as possible of another token /// @param params The parameters necessary for the swap, encoded as `ExactInputSingleParams` in calldata /// @return amountOut The amount of the received token function exactInputSingle(ExactInputSingleParams calldata params) external payable returns (uint256 amountOut); } contract ConverterV3 is Ownable { using SafeMath for uint256; using SafeERC20 for IERC20; uint256 private constant MAX_UINT = type(uint256).max; address public immutable platformToken; address public immutable WNATIVE; address[] public receivers; uint256[] public feeShare; address public router; // V1 - V5: OK mapping(address => address) internal _bridges; // E1: OK event LogBridgeSet(address indexed token, address indexed bridge); // E1: OK event LogConvert( address indexed server, address indexed token, uint256 amount ); event ReceiverChanged( address newReceiver, address oldReceiver, uint256 indexed index ); event FeeShareChanged( uint256[] oldFeeShare, uint256[] newFeeShare ); constructor( address _platformToken, address _WNATIVE, address _router, address[] memory _receivers, uint256[] memory _feeShare ) public { platformToken = _platformToken; WNATIVE = _WNATIVE; router = _router; require(_receivers.length == _feeShare.length, "Invalid data"); receivers = _receivers; uint256 totalFee = 0; for (uint256 i = 0; i < _feeShare.length; i++) { totalFee = totalFee + _feeShare[i]; } require(totalFee == 10000, "Invalid fee params"); feeShare = _feeShare; } function changeRouter(address _router) external onlyOwner { require(_router != address(0), "Invalid router"); router = _router; } function bridgeFor(address token) public view returns (address bridge) { bridge = _bridges[token]; if (bridge == address(0)) { bridge = WNATIVE; } } function setBridge(address token, address bridge) external onlyOwner { // Checks require( token != platformToken && token != WNATIVE && token != bridge, "QuickConverter: Invalid bridge" ); // Effects _bridges[token] = bridge; emit LogBridgeSet(token, bridge); } function changeReceiver(address _receiver, uint256 index) external onlyOwner { require(_receiver != address(0), "Inavlid receiver"); address oldReceiver = receivers[index]; receivers[index] = _receiver; emit ReceiverChanged( _receiver, oldReceiver, index ); } function changeFeeShareConfig(uint256[] memory _feeShare) external onlyOwner { require(receivers.length == _feeShare.length, "Invalid data"); uint256 totalFee = 0; for (uint256 i = 0; i < _feeShare.length; i++) { totalFee = totalFee + _feeShare[i]; } require(totalFee == 10000, "Invalid fee params"); emit FeeShareChanged( feeShare, _feeShare ); feeShare = _feeShare; } // It's not a fool proof solution, but it prevents flash loans, so here it's ok to use tx.origin modifier onlyEOA() { // Try to make flash-loan exploit harder to do by only allowing externally owned addresses. require(msg.sender == tx.origin, "QuickConverter: must use EOA"); _; } // F1 - F10: OK // F3: _convert is separate to save gas by only checking the 'onlyEOA' modifier once in case of convertMultiple // F6: There is an exploit to add lots of QUICK to the dragonLair, run convert, then remove the QUICK again. // As the size of the DragonLair has grown, this requires large amounts of funds and isn't super profitable anymore // The onlyEOA modifier prevents this being done with a flash loan. // C1 - C24: OK function convert(address token) external onlyEOA() { _convert(token); distribute(); } // F1 - F10: OK, see convert // C1 - C24: OK // C3: Loop is under control of the caller function convertMultiple( address[] calldata tokens ) external onlyEOA() { // TODO: This can be optimized a fair bit, but this is safer and simpler for now uint256 len = tokens.length; for (uint256 i = 0; i < len; i++) { _convert(tokens[i]); } distribute(); } function _convert(address token) internal { uint256 amount = IERC20(token).balanceOf(address(this)); if (amount > 0) { _convertStep(token, amount); } emit LogConvert( msg.sender, token, amount ); } // F1 - F10: OK // C1 - C24: OK // All _swap, _toPlatformToken, _convertStep: X1 - X5: OK function _convertStep( address token, uint256 amount ) internal returns (uint256 platformTokenOut) { // Interactions if (token == platformToken) { // eg. QUICK platformTokenOut = amount; } else if (token == WNATIVE) { // eg. WMATIC platformTokenOut = _toPlatformToken( WNATIVE, amount ); } else { // eg. USDC address bridge = bridgeFor(token); platformTokenOut = _convertStep( bridge, _swap(token, bridge, amount, address(this)) ); } } // F1 - F10: OK // C1 - C24: OK // All safeTransfer, swap: X1 - X5: OK function _swap( address fromToken, address toToken, uint256 amountIn, address to ) internal returns (uint256 amountOut) { ISwapRouter.ExactInputSingleParams memory params = ISwapRouter.ExactInputSingleParams({ tokenIn: fromToken, tokenOut: toToken, recipient: to, deadline: block.timestamp + 100, amountIn: amountIn, amountOutMinimum: 1, limitSqrtPrice: 0 }); approve( router, fromToken, amountIn ); amountOut = ISwapRouter(router).exactInputSingle(params); } // F1 - F10: OK // C1 - C24: OK function _toPlatformToken(address token, uint256 amountIn) internal returns (uint256 amountOut) { // X1 - X5: OK amountOut = _swap(token, platformToken, amountIn, address(this)); } function distribute() public { uint256 amountPT = IERC20(platformToken).balanceOf(address(this)); for (uint256 i = 0; i < receivers.length; i++) { address receiverAddress = receivers[i]; uint256 receiverShare = feeShare[i]; uint256 amount = amountPT.mul(receiverShare).div(10000); if (i == receivers.length - 1) { amount = IERC20(platformToken).balanceOf(address(this)); } IERC20(platformToken).safeTransfer(receiverAddress, amount); } } function approve( address addressToApprove, address token, uint256 amount ) internal { IERC20 _token = IERC20(token); uint256 allowance = _token.allowance(address(this), addressToApprove); if (allowance < amount) { _token.safeApprove(addressToApprove, 0); _token.safeIncreaseAllowance(addressToApprove, MAX_UINT); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.7.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT pragma solidity ^0.7.0; import "./IERC20.sol"; import "../../math/SafeMath.sol"; import "../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.7.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.7.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.7.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
{ "optimizer": { "enabled": true, "runs": 1000000 }, "metadata": { "bytecodeHash": "none", "useLiteralContent": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
[{"inputs":[{"internalType":"address","name":"_platformToken","type":"address"},{"internalType":"address","name":"_WNATIVE","type":"address"},{"internalType":"address","name":"_router","type":"address"},{"internalType":"address[]","name":"_receivers","type":"address[]"},{"internalType":"uint256[]","name":"_feeShare","type":"uint256[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256[]","name":"oldFeeShare","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"newFeeShare","type":"uint256[]"}],"name":"FeeShareChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"bridge","type":"address"}],"name":"LogBridgeSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"server","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"LogConvert","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newReceiver","type":"address"},{"indexed":false,"internalType":"address","name":"oldReceiver","type":"address"},{"indexed":true,"internalType":"uint256","name":"index","type":"uint256"}],"name":"ReceiverChanged","type":"event"},{"inputs":[],"name":"WNATIVE","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"bridgeFor","outputs":[{"internalType":"address","name":"bridge","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_feeShare","type":"uint256[]"}],"name":"changeFeeShareConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"changeReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_router","type":"address"}],"name":"changeRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"convert","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"tokens","type":"address[]"}],"name":"convertMultiple","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"distribute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"feeShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"platformToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"receivers","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"bridge","type":"address"}],"name":"setBridge","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c06040523480156200001157600080fd5b506040516200277d3803806200277d8339810160408190526200003491620002d4565b60006200004062000180565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001600160601b0319606086811b821660805285901b1660a052600380546001600160a01b0385166001600160a01b03199091161790558051825114620000ee5760405162461bcd60e51b8152600401620000e590620003db565b60405180910390fd5b81516200010390600190602085019062000184565b506000805b825181101562000139578281815181106200011f57fe5b602002602001015182019150808060010191505062000108565b5080612710146200015e5760405162461bcd60e51b8152600401620000e59062000401565b815162000173906002906020850190620001ee565b505050505050506200046f565b3390565b828054828255906000526020600020908101928215620001dc579160200282015b82811115620001dc57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620001a5565b50620001ea9291506200022c565b5090565b828054828255906000526020600020908101928215620001dc579160200282015b82811115620001dc5782518255916020019190600101906200020f565b5b80821115620001ea57600081556001016200022d565b80516001600160a01b03811681146200025b57600080fd5b919050565b600082601f83011262000271578081fd5b815160206200028a620002848362000451565b6200042d565b8281528181019085830183850287018401881015620002a7578586fd5b855b85811015620002c757815184529284019290840190600101620002a9565b5090979650505050505050565b600080600080600060a08688031215620002ec578081fd5b620002f78662000243565b945060206200030881880162000243565b9450620003186040880162000243565b60608801519094506001600160401b038082111562000335578384fd5b818901915089601f83011262000349578384fd5b81516200035a620002848262000451565b81815284810190848601868402860187018e101562000377578788fd5b8795505b83861015620003a4576200038f8162000243565b8352600195909501949186019186016200037b565b5060808c01519097509450505080831115620003be578384fd5b5050620003ce8882890162000260565b9150509295509295909350565b6020808252600c908201526b496e76616c6964206461746160a01b604082015260600190565b602080825260129082015271496e76616c69642066656520706172616d7360701b604082015260600190565b6040518181016001600160401b03811182821017156200044957fe5b604052919050565b60006001600160401b038211156200046557fe5b5060209081020190565b60805160601c60a05160601c6122b2620004cb600039806109175280610a805280610b26528061133a52806113915250806108c05280610b815280610c305280610d965280610e3852806112df52806114c752506122b26000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c8063b11e93a911610097578063def2489b11610066578063def2489b146101e2578063e4fc6b6d146101f5578063f2fde38b146101fd578063f887ea401461021057610100565b8063b11e93a9146101ac578063b381cf40146101bf578063bfd772fc146101c7578063d1b812cd146101da57610100565b8063768c4c82116100d3578063768c4c821461015e5780638da5cb5b146101715780639d22ae8c14610186578063a761a9391461019957610100565b8063340ac20f146101055780633e0d6e501461011a578063715018a61461014357806374b45ed51461014b575b600080fd5b610118610113366004611d90565b610218565b005b61012d610128366004611f22565b61035d565b60405161013a91906121cf565b60405180910390f35b61011861037e565b610118610159366004611e74565b610495565b61011861016c366004611ddc565b610639565b6101796107fa565b60405161013a9190611f52565b610118610194366004611daa565b610816565b6101796101a7366004611d90565b610a50565b6101186101ba366004611e05565b610aa5565b610179610b24565b6101796101d5366004611f22565b610b48565b610179610b7f565b6101186101f0366004611d90565b610ba3565b610118610bf0565b61011861020b366004611d90565b610e6e565b61017961100f565b61022061102b565b73ffffffffffffffffffffffffffffffffffffffff1661023e6107fa565b73ffffffffffffffffffffffffffffffffffffffff16146102c057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116610316576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161030d9061212c565b60405180910390fd5b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6002818154811061036d57600080fd5b600091825260209091200154905081565b61038661102b565b73ffffffffffffffffffffffffffffffffffffffff166103a46107fa565b73ffffffffffffffffffffffffffffffffffffffff161461042657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b61049d61102b565b73ffffffffffffffffffffffffffffffffffffffff166104bb6107fa565b73ffffffffffffffffffffffffffffffffffffffff161461053d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b805160015414610579576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161030d90612019565b6000805b82518110156105ab5782818151811061059257fe5b602002602001015182019150808060010191505061057d565b5080612710146105e7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161030d906120f5565b7fe570af3424190abbb44972cd072e006ad126c4c8c4ad8ab72219eb83c91f6d23600283604051610619929190611f9a565b60405180910390a18151610634906002906020850190611d0c565b505050565b61064161102b565b73ffffffffffffffffffffffffffffffffffffffff1661065f6107fa565b73ffffffffffffffffffffffffffffffffffffffff16146106e157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff821661072e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161030d906120be565b60006001828154811061073d57fe5b6000918252602090912001546001805473ffffffffffffffffffffffffffffffffffffffff909216925084918490811061077357fe5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550817fa4f0519509ecedb907867dc65c99b1779b5acf97f115662800d7d582f8539a8884836040516107ed929190611f73565b60405180910390a2505050565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b61081e61102b565b73ffffffffffffffffffffffffffffffffffffffff1661083c6107fa565b73ffffffffffffffffffffffffffffffffffffffff16146108be57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415801561096657507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b801561099e57508073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b6109d4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161030d90612050565b73ffffffffffffffffffffffffffffffffffffffff82811660008181526004602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169486169485179055517f2e103aa707acc565f9a1547341914802b2bfe977fd79c595209f248ae4b006139190a35050565b73ffffffffffffffffffffffffffffffffffffffff8082166000908152600460205260409020541680610aa057507f00000000000000000000000000000000000000000000000000000000000000005b919050565b333214610ade576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161030d90612087565b8060005b81811015610b1b57610b13848483818110610af957fe5b9050602002016020810190610b0e9190611d90565b61102f565b600101610ae2565b50610634610bf0565b7f000000000000000000000000000000000000000000000000000000000000000081565b60018181548110610b5857600080fd5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b7f000000000000000000000000000000000000000000000000000000000000000081565b333214610bdc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161030d90612087565b610be58161102f565b610bed610bf0565b50565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815260009073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016906370a0823190610c65903090600401611f52565b60206040518083038186803b158015610c7d57600080fd5b505afa158015610c91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb59190611f3a565b905060005b600154811015610e6a57600060018281548110610cd357fe5b60009182526020822001546002805473ffffffffffffffffffffffffffffffffffffffff90921693509084908110610d0757fe5b60009182526020822001549150610d2a612710610d248785611151565b906111cd565b6001549091507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01841415610e1e576040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016906370a0823190610dcb903090600401611f52565b60206040518083038186803b158015610de357600080fd5b505afa158015610df7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1b9190611f3a565b90505b610e5f73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016848361124e565b505050600101610cba565b5050565b610e7661102b565b73ffffffffffffffffffffffffffffffffffffffff16610e946107fa565b73ffffffffffffffffffffffffffffffffffffffff1614610f1657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116610f82576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806121d96026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60035473ffffffffffffffffffffffffffffffffffffffff1681565b3390565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815260009073ffffffffffffffffffffffffffffffffffffffff8316906370a0823190611084903090600401611f52565b60206040518083038186803b15801561109c57600080fd5b505afa1580156110b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d49190611f3a565b905080156110e8576110e682826112db565b505b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fa99b1b6cca4f7e8cc6239870877afb13732b63c9569c23fdf2e8b9f1281bf3818360405161114591906121cf565b60405180910390a35050565b600082611160575060006111c7565b8282028284828161116d57fe5b04146111c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806122256021913960400191505060405180910390fd5b90505b92915050565b600080821161123d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161124657fe5b049392505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526106349084906113e7565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156113385750806111c7565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156113bd576113b67f0000000000000000000000000000000000000000000000000000000000000000836114bf565b90506111c7565b60006113c884610a50565b90506113df816113da868487306114f4565b6112db565b949350505050565b6000611449826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661160d9092919063ffffffff16565b8051909150156106345780806020019051602081101561146857600080fd5b5051610634576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612246602a913960400191505060405180910390fd5b60006114ed837f000000000000000000000000000000000000000000000000000000000000000084306114f4565b9392505050565b6040805160e08101825273ffffffffffffffffffffffffffffffffffffffff808716825285811660208301528381169282019290925260644201606082015260808101849052600160a0820152600060c08201819052600354909261155b9116878661161c565b6003546040517fbc65118800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bc651188906115b1908490600401612163565b602060405180830381600087803b1580156115cb57600080fd5b505af11580156115df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116039190611f3a565b9695505050505050565b60606113df8484600085611739565b6040517fdd62ed3e000000000000000000000000000000000000000000000000000000008152829060009073ffffffffffffffffffffffffffffffffffffffff83169063dd62ed3e906116759030908990600401611f73565b60206040518083038186803b15801561168d57600080fd5b505afa1580156116a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c59190611f3a565b905082811015611732576116f173ffffffffffffffffffffffffffffffffffffffff83168660006118f3565b61173273ffffffffffffffffffffffffffffffffffffffff8316867fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff611a81565b5050505050565b606082471015611794576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806121ff6026913960400191505060405180910390fd5b61179d85611bd4565b61180857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061187157805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101611834565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146118d3576040519150601f19603f3d011682016040523d82523d6000602084013e6118d8565b606091505b50915091506118e8828286611bda565b979650505050505050565b80158061199f5750604080517fdd62ed3e00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561197157600080fd5b505afa158015611985573d6000803e3d6000fd5b505050506040513d602081101561199b57600080fd5b5051155b6119f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260368152602001806122706036913960400191505060405180910390fd5b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f095ea7b3000000000000000000000000000000000000000000000000000000001790526106349084906113e7565b6000611b3e828573ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30876040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b158015611b0c57600080fd5b505afa158015611b20573d6000803e3d6000fd5b505050506040513d6020811015611b3657600080fd5b505190611c98565b6040805173ffffffffffffffffffffffffffffffffffffffff8616602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f095ea7b300000000000000000000000000000000000000000000000000000000179052909150611bce9085906113e7565b50505050565b3b151590565b60608315611be95750816114ed565b825115611bf95782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611c5d578181015183820152602001611c45565b50505050905090810190601f168015611c8a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6000828201838110156111c457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b828054828255906000526020600020908101928215611d47579160200282015b82811115611d47578251825591602001919060010190611d2c565b50611d53929150611d57565b5090565b5b80821115611d535760008155600101611d58565b803573ffffffffffffffffffffffffffffffffffffffff81168114610aa057600080fd5b600060208284031215611da1578081fd5b6114ed82611d6c565b60008060408385031215611dbc578081fd5b611dc583611d6c565b9150611dd360208401611d6c565b90509250929050565b60008060408385031215611dee578182fd5b611df783611d6c565b946020939093013593505050565b60008060208385031215611e17578182fd5b823567ffffffffffffffff80821115611e2e578384fd5b818501915085601f830112611e41578384fd5b813581811115611e4f578485fd5b8660208083028501011115611e62578485fd5b60209290920196919550909350505050565b60006020808385031215611e86578182fd5b823567ffffffffffffffff80821115611e9d578384fd5b818501915085601f830112611eb0578384fd5b813581811115611ebc57fe5b83810260405185828201018181108582111715611ed557fe5b604052828152858101935084860182860187018a1015611ef3578788fd5b8795505b83861015611f15578035855260019590950194938601938601611ef7565b5098975050505050505050565b600060208284031215611f33578081fd5b5035919050565b600060208284031215611f4b578081fd5b5051919050565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b73ffffffffffffffffffffffffffffffffffffffff92831681529116602082015260400190565b6000604082016040835280855480835260608501915086845260209250828420845b82811015611fd857815484529284019260019182019101611fbc565b50505083810382850152845180825285830191830190845b8181101561200c57835183529284019291840191600101611ff0565b5090979650505050505050565b6020808252600c908201527f496e76616c696420646174610000000000000000000000000000000000000000604082015260600190565b6020808252601e908201527f517569636b436f6e7665727465723a20496e76616c6964206272696467650000604082015260600190565b6020808252601c908201527f517569636b436f6e7665727465723a206d7573742075736520454f4100000000604082015260600190565b60208082526010908201527f496e61766c696420726563656976657200000000000000000000000000000000604082015260600190565b60208082526012908201527f496e76616c69642066656520706172616d730000000000000000000000000000604082015260600190565b6020808252600e908201527f496e76616c696420726f75746572000000000000000000000000000000000000604082015260600190565b600060e08201905073ffffffffffffffffffffffffffffffffffffffff808451168352806020850151166020840152806040850151166040840152606084015160608401526080840151608084015260a084015160a08401528060c08501511660c08401525092915050565b9081526020019056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a164736f6c6343000706000a000000000000000000000000b5c064f955d8e7f38fe0460c556a72987494ee170000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf1270000000000000000000000000f5b509bb0909a69b1c207e495f687a596c168e1200000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000003000000000000000000000000cf0b86f9944a60a0ba22b51a33c11d9e4de1ce9f0000000000000000000000001d8b6fa722230153be08c4fa4aa4b4c7cd01a95a000000000000000000000000958d208cdf087843e9ad98d23823d32e17d723a1000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000006a400000000000000000000000000000000000000000000000000000000000005dc0000000000000000000000000000000000000000000000000000000000001a90Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101005760003560e01c8063b11e93a911610097578063def2489b11610066578063def2489b146101e2578063e4fc6b6d146101f5578063f2fde38b146101fd578063f887ea401461021057610100565b8063b11e93a9146101ac578063b381cf40146101bf578063bfd772fc146101c7578063d1b812cd146101da57610100565b8063768c4c82116100d3578063768c4c821461015e5780638da5cb5b146101715780639d22ae8c14610186578063a761a9391461019957610100565b8063340ac20f146101055780633e0d6e501461011a578063715018a61461014357806374b45ed51461014b575b600080fd5b610118610113366004611d90565b610218565b005b61012d610128366004611f22565b61035d565b60405161013a91906121cf565b60405180910390f35b61011861037e565b610118610159366004611e74565b610495565b61011861016c366004611ddc565b610639565b6101796107fa565b60405161013a9190611f52565b610118610194366004611daa565b610816565b6101796101a7366004611d90565b610a50565b6101186101ba366004611e05565b610aa5565b610179610b24565b6101796101d5366004611f22565b610b48565b610179610b7f565b6101186101f0366004611d90565b610ba3565b610118610bf0565b61011861020b366004611d90565b610e6e565b61017961100f565b61022061102b565b73ffffffffffffffffffffffffffffffffffffffff1661023e6107fa565b73ffffffffffffffffffffffffffffffffffffffff16146102c057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116610316576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161030d9061212c565b60405180910390fd5b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6002818154811061036d57600080fd5b600091825260209091200154905081565b61038661102b565b73ffffffffffffffffffffffffffffffffffffffff166103a46107fa565b73ffffffffffffffffffffffffffffffffffffffff161461042657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b61049d61102b565b73ffffffffffffffffffffffffffffffffffffffff166104bb6107fa565b73ffffffffffffffffffffffffffffffffffffffff161461053d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b805160015414610579576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161030d90612019565b6000805b82518110156105ab5782818151811061059257fe5b602002602001015182019150808060010191505061057d565b5080612710146105e7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161030d906120f5565b7fe570af3424190abbb44972cd072e006ad126c4c8c4ad8ab72219eb83c91f6d23600283604051610619929190611f9a565b60405180910390a18151610634906002906020850190611d0c565b505050565b61064161102b565b73ffffffffffffffffffffffffffffffffffffffff1661065f6107fa565b73ffffffffffffffffffffffffffffffffffffffff16146106e157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff821661072e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161030d906120be565b60006001828154811061073d57fe5b6000918252602090912001546001805473ffffffffffffffffffffffffffffffffffffffff909216925084918490811061077357fe5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550817fa4f0519509ecedb907867dc65c99b1779b5acf97f115662800d7d582f8539a8884836040516107ed929190611f73565b60405180910390a2505050565b60005473ffffffffffffffffffffffffffffffffffffffff1690565b61081e61102b565b73ffffffffffffffffffffffffffffffffffffffff1661083c6107fa565b73ffffffffffffffffffffffffffffffffffffffff16146108be57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b7f000000000000000000000000b5c064f955d8e7f38fe0460c556a72987494ee1773ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415801561096657507f0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf127073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b801561099e57508073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b6109d4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161030d90612050565b73ffffffffffffffffffffffffffffffffffffffff82811660008181526004602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000169486169485179055517f2e103aa707acc565f9a1547341914802b2bfe977fd79c595209f248ae4b006139190a35050565b73ffffffffffffffffffffffffffffffffffffffff8082166000908152600460205260409020541680610aa057507f0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf12705b919050565b333214610ade576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161030d90612087565b8060005b81811015610b1b57610b13848483818110610af957fe5b9050602002016020810190610b0e9190611d90565b61102f565b600101610ae2565b50610634610bf0565b7f0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf127081565b60018181548110610b5857600080fd5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16905081565b7f000000000000000000000000b5c064f955d8e7f38fe0460c556a72987494ee1781565b333214610bdc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161030d90612087565b610be58161102f565b610bed610bf0565b50565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815260009073ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000b5c064f955d8e7f38fe0460c556a72987494ee1716906370a0823190610c65903090600401611f52565b60206040518083038186803b158015610c7d57600080fd5b505afa158015610c91573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cb59190611f3a565b905060005b600154811015610e6a57600060018281548110610cd357fe5b60009182526020822001546002805473ffffffffffffffffffffffffffffffffffffffff90921693509084908110610d0757fe5b60009182526020822001549150610d2a612710610d248785611151565b906111cd565b6001549091507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01841415610e1e576040517f70a0823100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000b5c064f955d8e7f38fe0460c556a72987494ee1716906370a0823190610dcb903090600401611f52565b60206040518083038186803b158015610de357600080fd5b505afa158015610df7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1b9190611f3a565b90505b610e5f73ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000b5c064f955d8e7f38fe0460c556a72987494ee1716848361124e565b505050600101610cba565b5050565b610e7661102b565b73ffffffffffffffffffffffffffffffffffffffff16610e946107fa565b73ffffffffffffffffffffffffffffffffffffffff1614610f1657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff8116610f82576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806121d96026913960400191505060405180910390fd5b6000805460405173ffffffffffffffffffffffffffffffffffffffff808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60035473ffffffffffffffffffffffffffffffffffffffff1681565b3390565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815260009073ffffffffffffffffffffffffffffffffffffffff8316906370a0823190611084903090600401611f52565b60206040518083038186803b15801561109c57600080fd5b505afa1580156110b0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d49190611f3a565b905080156110e8576110e682826112db565b505b8173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fa99b1b6cca4f7e8cc6239870877afb13732b63c9569c23fdf2e8b9f1281bf3818360405161114591906121cf565b60405180910390a35050565b600082611160575060006111c7565b8282028284828161116d57fe5b04146111c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806122256021913960400191505060405180910390fd5b90505b92915050565b600080821161123d57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161124657fe5b049392505050565b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb000000000000000000000000000000000000000000000000000000001790526106349084906113e7565b60007f000000000000000000000000b5c064f955d8e7f38fe0460c556a72987494ee1773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156113385750806111c7565b7f0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf127073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156113bd576113b67f0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf1270836114bf565b90506111c7565b60006113c884610a50565b90506113df816113da868487306114f4565b6112db565b949350505050565b6000611449826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661160d9092919063ffffffff16565b8051909150156106345780806020019051602081101561146857600080fd5b5051610634576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612246602a913960400191505060405180910390fd5b60006114ed837f000000000000000000000000b5c064f955d8e7f38fe0460c556a72987494ee1784306114f4565b9392505050565b6040805160e08101825273ffffffffffffffffffffffffffffffffffffffff808716825285811660208301528381169282019290925260644201606082015260808101849052600160a0820152600060c08201819052600354909261155b9116878661161c565b6003546040517fbc65118800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9091169063bc651188906115b1908490600401612163565b602060405180830381600087803b1580156115cb57600080fd5b505af11580156115df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116039190611f3a565b9695505050505050565b60606113df8484600085611739565b6040517fdd62ed3e000000000000000000000000000000000000000000000000000000008152829060009073ffffffffffffffffffffffffffffffffffffffff83169063dd62ed3e906116759030908990600401611f73565b60206040518083038186803b15801561168d57600080fd5b505afa1580156116a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116c59190611f3a565b905082811015611732576116f173ffffffffffffffffffffffffffffffffffffffff83168660006118f3565b61173273ffffffffffffffffffffffffffffffffffffffff8316867fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff611a81565b5050505050565b606082471015611794576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806121ff6026913960400191505060405180910390fd5b61179d85611bd4565b61180857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061187157805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101611834565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146118d3576040519150601f19603f3d011682016040523d82523d6000602084013e6118d8565b606091505b50915091506118e8828286611bda565b979650505050505050565b80158061199f5750604080517fdd62ed3e00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff848116602483015291519185169163dd62ed3e91604480820192602092909190829003018186803b15801561197157600080fd5b505afa158015611985573d6000803e3d6000fd5b505050506040513d602081101561199b57600080fd5b5051155b6119f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260368152602001806122706036913960400191505060405180910390fd5b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f095ea7b3000000000000000000000000000000000000000000000000000000001790526106349084906113e7565b6000611b3e828573ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30876040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b158015611b0c57600080fd5b505afa158015611b20573d6000803e3d6000fd5b505050506040513d6020811015611b3657600080fd5b505190611c98565b6040805173ffffffffffffffffffffffffffffffffffffffff8616602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f095ea7b300000000000000000000000000000000000000000000000000000000179052909150611bce9085906113e7565b50505050565b3b151590565b60608315611be95750816114ed565b825115611bf95782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611c5d578181015183820152602001611c45565b50505050905090810190601f168015611c8a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6000828201838110156111c457604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b828054828255906000526020600020908101928215611d47579160200282015b82811115611d47578251825591602001919060010190611d2c565b50611d53929150611d57565b5090565b5b80821115611d535760008155600101611d58565b803573ffffffffffffffffffffffffffffffffffffffff81168114610aa057600080fd5b600060208284031215611da1578081fd5b6114ed82611d6c565b60008060408385031215611dbc578081fd5b611dc583611d6c565b9150611dd360208401611d6c565b90509250929050565b60008060408385031215611dee578182fd5b611df783611d6c565b946020939093013593505050565b60008060208385031215611e17578182fd5b823567ffffffffffffffff80821115611e2e578384fd5b818501915085601f830112611e41578384fd5b813581811115611e4f578485fd5b8660208083028501011115611e62578485fd5b60209290920196919550909350505050565b60006020808385031215611e86578182fd5b823567ffffffffffffffff80821115611e9d578384fd5b818501915085601f830112611eb0578384fd5b813581811115611ebc57fe5b83810260405185828201018181108582111715611ed557fe5b604052828152858101935084860182860187018a1015611ef3578788fd5b8795505b83861015611f15578035855260019590950194938601938601611ef7565b5098975050505050505050565b600060208284031215611f33578081fd5b5035919050565b600060208284031215611f4b578081fd5b5051919050565b73ffffffffffffffffffffffffffffffffffffffff91909116815260200190565b73ffffffffffffffffffffffffffffffffffffffff92831681529116602082015260400190565b6000604082016040835280855480835260608501915086845260209250828420845b82811015611fd857815484529284019260019182019101611fbc565b50505083810382850152845180825285830191830190845b8181101561200c57835183529284019291840191600101611ff0565b5090979650505050505050565b6020808252600c908201527f496e76616c696420646174610000000000000000000000000000000000000000604082015260600190565b6020808252601e908201527f517569636b436f6e7665727465723a20496e76616c6964206272696467650000604082015260600190565b6020808252601c908201527f517569636b436f6e7665727465723a206d7573742075736520454f4100000000604082015260600190565b60208082526010908201527f496e61766c696420726563656976657200000000000000000000000000000000604082015260600190565b60208082526012908201527f496e76616c69642066656520706172616d730000000000000000000000000000604082015260600190565b6020808252600e908201527f496e76616c696420726f75746572000000000000000000000000000000000000604082015260600190565b600060e08201905073ffffffffffffffffffffffffffffffffffffffff808451168352806020850151166020840152806040850151166040840152606084015160608401526080840151608084015260a084015160a08401528060c08501511660c08401525092915050565b9081526020019056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565645361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f20746f206e6f6e2d7a65726f20616c6c6f77616e6365a164736f6c6343000706000a
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000b5c064f955d8e7f38fe0460c556a72987494ee170000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf1270000000000000000000000000f5b509bb0909a69b1c207e495f687a596c168e1200000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000000000003000000000000000000000000cf0b86f9944a60a0ba22b51a33c11d9e4de1ce9f0000000000000000000000001d8b6fa722230153be08c4fa4aa4b4c7cd01a95a000000000000000000000000958d208cdf087843e9ad98d23823d32e17d723a1000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000006a400000000000000000000000000000000000000000000000000000000000005dc0000000000000000000000000000000000000000000000000000000000001a90
-----Decoded View---------------
Arg [0] : _platformToken (address): 0xB5C064F955D8e7F38fE0460C556a72987494eE17
Arg [1] : _WNATIVE (address): 0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270
Arg [2] : _router (address): 0xf5b509bB0909a69B1c207E495f687a596C168E12
Arg [3] : _receivers (address[]): 0xCf0B86f9944A60A0ba22b51a33C11d9E4dE1CE9F,0x1d8b6fA722230153BE08C4Fa4Aa4B4c7cd01A95a,0x958d208Cdf087843e9AD98d23823d32E17d723A1
Arg [4] : _feeShare (uint256[]): 1700,1500,6800
-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 000000000000000000000000b5c064f955d8e7f38fe0460c556a72987494ee17
Arg [1] : 0000000000000000000000000d500b1d8e8ef31e21c99d1db9a6444d3adf1270
Arg [2] : 000000000000000000000000f5b509bb0909a69b1c207e495f687a596c168e12
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [6] : 000000000000000000000000cf0b86f9944a60a0ba22b51a33c11d9e4de1ce9f
Arg [7] : 0000000000000000000000001d8b6fa722230153be08c4fa4aa4b4c7cd01a95a
Arg [8] : 000000000000000000000000958d208cdf087843e9ad98d23823d32e17d723a1
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [10] : 00000000000000000000000000000000000000000000000000000000000006a4
Arg [11] : 00000000000000000000000000000000000000000000000000000000000005dc
Arg [12] : 0000000000000000000000000000000000000000000000000000000000001a90Loading...LoadingLoading...Loading
Loading...Loading
Loading...LoadingLoading...LoadingLoading...LoadingLoading...LoadingLoading...LoadingMultichain Portfolio | 29 Chains
Chain Token Portfolio % Price Amount Value POL 11.64% $3,604.23 0.1844 $664.51 POL 11.30% $0.615332 1,047.8645 $644.78 POL 7.61% $95,213 0.00456202 $434.36 POL 6.27% $0.032483 11,009.1387 $357.61 POL 5.83% $0.998715 333.1412 $332.71 POL 5.04% $0.624681 460.3414 $287.57 POL 4.55% $21.83 11.8895 $259.55 POL 3.49% $0.003757 53,003.6075 $199.13 POL 3.26% $0.693111 268.2141 $185.9 POL 3.12% $0.998715 178.4781 $178.25 POL 3.03% $228.73 0.7553 $172.77 POL 2.99% $0.033519 5,090.0919 $170.61 POL 2.58% $1.77 83.1067 $147.1 POL 2.50% $0.998669 142.691 $142.5 POL 2.34% $2.49 53.6942 $133.7 POL 2.04% $4,291.59 0.0271 $116.36 POL 2.02% <$0.000001 549,416,627.0432 $115.38 POL 1.84% $0.001325 79,370.4928 $105.14 POL 1.48% $0.024913 3,400.9781 $84.73 POL 1.39% $1.41 56.4123 $79.54 POL 1.34% $0.00656 11,671.79 $76.57 POL 1.18% $0.633208 106.6802 $67.55 POL 1.09% $0.244573 254.259 $62.18 POL 1.03% $0.000001 50,408,610.179 $58.75 POL 1.00% $0.104432 547.9017 $57.22 POL 1.00% $0.016875 3,365.8676 $56.8 POL 0.96% $0.284728 191.4794 $54.52 POL 0.78% $0.024367 1,832.9818 $44.66 POL 0.76% $0.016567 2,615.3039 $43.33 POL 0.67% $0.014964 2,557.3431 $38.27 POL 0.60% $0.203721 168.7302 $34.37 POL 0.57% $95,303 0.00034248 $32.64 POL 0.52% $0.236432 126.0304 $29.8 POL 0.48% $0.201306 135.3643 $27.25 POL 0.47% $0.107229 251.1893 $26.93 POL 0.43% <$0.000001 1,829,233,471.7277 $24.33 POL 0.41% $1.26 18.5554 $23.38 POL 0.37% $0.75129 28.2426 $21.22 POL 0.33% $0.998811 18.8503 $18.83 POL 0.29% $0.052784 317.629 $16.77 POL 0.28% $0.000632 25,241.4703 $15.94 POL 0.24% $0.701753 19.2817 $13.53 POL 0.23% $0.221048 60.1397 $13.29 POL 0.14% $0.034744 228.2941 $7.93 POL 0.12% $0.000908 7,325.4159 $6.65 POL 0.06% $0.968796 3.8233 $3.7 POL 0.06% $0.003246 1,076.7585 $3.5 POL 0.05% $0.037645 76.9613 $2.9 POL 0.04% $0.019472 121.5758 $2.37 POL 0.04% $0.989295 2.2335 $2.21 POL 0.03% $3,915.93 0.00045673 $1.79 POL 0.03% $0.728941 2.0296 $1.48 POL 0.02% $0.000361 3,136.1802 $1.13 POL 0.01% $0.995755 0.7397 $0.7365 POL 0.01% $0.000084 8,558.2 $0.7205 POL <0.01% $0.021934 20 $0.4386 POL <0.01% $0.249733 1.5247 $0.3807 POL <0.01% $0.00016 2,327.0352 $0.3719 POL <0.01% $0.000225 700 $0.1571 [ Download: CSV Export ]A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.
Address QR Code
My Address - Private Name Tag or Note
My Name Tag:
Private Name Tags (up to 35 characters) can be used for easy identification of addressesPrivate Note:
A private note (up to 500 characters) can be attached to this address.
Please DO NOT store any passwords or private keys here.Compiler specific version warnings:
The compiled contract might be susceptible to FullInlinerNonExpressionSplitArgumentEvaluationOrder (low-severity), MissingSideEffectsOnSelectorAccess (low-severity), AbiReencodingHeadOverflowWithStaticArrayCleanup (medium-severity), DirtyBytesArrayToStorage (low-severity), DataLocationChangeInInternalOverride (very low-severity), NestedCalldataArrayAbiReencodingSizeValidation (very low-severity), SignedImmutables (very low-severity), ABIDecodeTwoDimensionalArrayMemory (very low-severity), KeccakCaching (medium-severity) Solidity Compiler Bugs.
Connect a Wallet
Connecting wallet for read function is optional, useful if you want to call certain functions or simply use your wallet's node.Connect a Wallet
Connecting wallet for read function is optional, useful if you want to call certain functions or simply use your wallet's node.Connect a Wallet
Connecting wallet for read function is optional, useful if you want to call certain functions or simply use your wallet's node.Before You Copy
Transaction Private Note
This website uses cookies to improve your experience. By continuing to use this website, you agree to its Terms and Privacy Policy.