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)562,974,133.353303 ELONDogelon (ELON)$120.93@0.003.28090291 DAI(PoS) Dai St... (DAI)$3.28@0.9998237.424926 USDT(PoS) Tether... (USDT)$237.66@1.0010.00052952 WBTC(PoS) Wrappe... (WBTC)$50.91@96,142.0057.46804909 GHSTAavegotchi G... (GHST)$77.58@1.352.04854786 ankrMATICAnkr Staked ... (ankrMA...)$1.74@0.84993.887036 AXLAxelar (AXL)$4.26@1.09526.057913 axlUSDCAxelar Wrapp... (axlUSD...)0.00061138 BOBBOB (BOB)$0.00@0.9999194.48756802 CBYCarbify (CBY)$63.03@0.324118.05846888 LINKChainLink To... (LINK)$435.93@24.14120.87683725 CRVCRV (PoS) (CRV)$116.71@0.96563,365.86762637 DGDecentral Ga... (DG)$53.98@0.0162.66640318 DIMODimo (DIMO)$0.60@0.2257253.72556571 PUSHEthereum Pus... (PUSH)$28.22@0.11121 FKRFlicker (FKR)$0.01@0.00541,832.98519687 FOODFoodChain Gl... (FOOD)$44.55@0.024314.87508549 GNSGains Networ... (GNS)$39.42@2.6580,449.38706689 GDDYGiddy Token (GDDY)$105.39@0.0013121.58895455 HOPHop (HOP)$2.38@0.019689.6451398 LDOLido DAO Tok... (LDO)$181.98@2.034.2385491 MaticXLiquid Staki... (MaticX)$3.45@0.8135218.56161617 MASQMASQ (PoS) (MASQ)$45.84@0.20975 MEGAMEGA STAKE T... (MEGA)0.24135069 miMATICmiMATIC (miMATI...)$0.24@0.9921260.29996211 IXTPlanetIX (IXT)$60.21@0.23131,428.50532474 NSFWPleasure Coi... (NSFW)$0.04@0.00225,566,817.196848 PolyDogePolyDoge (PolyDo...)$3.23@0.000.00000014 tBTCPolygon tBTC... (tBTC)$0.01@96,054.00120.96959164 RunyRuny (Runy)$0.02@0.000229.55272104 SANDSAND (SAND)$24.18@0.81820.01898962 SDStader (PoS) (SD)$0.02@1.00723.17760358 stMATICStaked MATIC... (stMATI...)$19.03@0.820917.9805537 TAKITakiToken (TAKI)$0.03@0.001911,963.85 TELTelcoin (TEL)$81.42@0.006814.28268765 SOULSUnfettered E... (SOULS)$0.03@0.00219.40132836 UNCNUnseen (UNCN)$5.91@0.6289695.612476 USDC.eUSD Coin (Po... (USDC.e)$695.29@0.9995831.88838864 VEXTVeloce (VEXT)$19.71@0.02373,827.97537922 VDAVerida (VDA)$76.27@0.0199105.1422619 VOXELVOXEL Token (VOXEL)$28.08@0.267119.17964652 WOMBATWombat (WOMBAT)$0.01@0.00042,414.7199462 WMATICWrapped Mati... (WMATIC)$1,734.84@0.71841,078.49874965 DUCKIESYellow Ducki... (DUCKIE...)$3.53@0.00330.91719798 AAVEAave (PoS) (AAVE)$222.00@242.041,995.85554809 QUICKQuickSwap (QUICK)$123.70@0.062441.410461 USDCUSD Coin (USDC)$441.21@0.99950.35832147 WETHWrapped Ethe... (WETH)$1,315.72@3,671.895575,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,673,312.2038249 $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,573.92213292 ALGBAlgebra$0.81@0.0001333 ANYERC-20: Anything (ANY)8,922.70031262 ABONDERC-20: ApeBond (ABOND)10,000 AVAXVOUCHER.COM SWAP NOWERC-20: AVAX (AVAXVO...)155 BABYANDYERC-20: Babyandy (BABYAN...)51,009,507.974906 CONEBitCone$58.30@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.0009018 COGERC-20: COG (COG)0.05425086 CMTKERC-20: COIN MOGE... (CMTK)0.00046634 fxcbETHCoinbase Wrapped Staked ETH (FXERC20)$1.86@3,988.30125.07231589 CRETACRETA TOKEN16,156.67131763 RADARERC-20: DappRadar (RADAR)1.26826902 DUSDDavos.xyz USD0.47453093 DECATSDECATS800.54529867 DSRUNERC-20: DerbyStar... (DSRUN)972.85596896 dQUICKERC-20: Dragon QU... (dQUICK)69 DylERC-20: Dyl (Dyl)20.86471514 ENDEndblock100 EvoXERC-20: Evo Excha... (EvoX)13,678 EXSVEXZENSVERS179.21482901 FBXFireBotToken$42.68@0.23815,683.53034489 fccfirst choice coin228.3493471 FUSEFuse Token$9.07@0.039748.38645463 GEODGeodnet Token$12.11@0.2503125,839.77487009 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,307 transactions
Transaction Hash MethodBlockFromToConvert Multiple 65036124 2024-12-03 14:38:56 15 hrs ago 1733236736 IN 0 POL$0.00 8.07203056 1,427.89604568 Convert 65029373 2024-12-03 10:38:26 19 hrs ago 1733222306 IN 0 POL$0.00 0.05811558 96.47789882 Convert 65029341 2024-12-03 10:37:18 19 hrs ago 1733222238 IN 0 POL$0.00 0.09263586 104.23690676 Convert 65029328 2024-12-03 10:36:52 19 hrs ago 1733222212 IN 0 POL$0.00 0.11110665 104.57549966 Convert Multiple 65029294 2024-12-03 10:35:38 19 hrs ago 1733222138 IN 0 POL$0.00 0.37528595 105.58735029 Convert Multiple 65029071 2024-12-03 10:27:41 19 hrs ago 1733221661 IN 0 POL$0.00 0.00383817 143.75203064 Set Bridge 65029012 2024-12-03 10:25:37 19 hrs ago 1733221537 IN 0 POL$0.00 0.00778111 161.09632435 Set Bridge 65028986 2024-12-03 10:24:41 19 hrs ago 1733221481 IN 0 POL$0.00 0.00738063 152.80504945 Convert Multiple 65027889 2024-12-03 9:45:17 20 hrs ago 1733219117 IN 0 POL$0.00 0.01424395 533.48129464 Convert Multiple 65012848 2024-12-03 0:39:38 29 hrs ago 1733186378 IN 0 POL$0.00 0.41991915 104.78415693 Convert 65000150 2024-12-02 16:47:46 37 hrs ago 1733158066 IN 0 POL$0.00 0.06366277 107.18018013 Convert 65000092 2024-12-02 16:45:42 37 hrs ago 1733157942 IN 0 POL$0.00 0.07504473 122.63214156 Convert Multiple 64991836 2024-12-02 11:51:28 42 hrs ago 1733140288 IN 0 POL$0.00 0.14370327 40.42319203 Convert Multiple 64946135 2024-12-01 8:16:22 2 days ago 1733040982 IN 0 POL$0.00 0.09066799 30.00002367 Convert Multiple 64833984 2024-11-28 13:05:42 5 days ago 1732799142 IN 0 POL$0.00 0.23253523 89.94401752 Convert Multiple 64785872 2024-11-27 8:27:36 6 days ago 1732696056 IN 0 POL$0.00 0.15165181 53.5678684 Convert Multiple 64750304 2024-11-26 10:11:07 7 days ago 1732615867 IN 0 POL$0.00 0.89579279 143.96022667 Convert 64708748 2024-11-25 9:13:22 8 days ago 1732526002 IN 0 POL$0.00 0.00429381 57.07199377 Convert 64708724 2024-11-25 9:12:32 8 days ago 1732525952 IN 0 POL$0.00 0.03448415 57.76501356 Convert 64708622 2024-11-25 9:08:54 8 days ago 1732525734 IN 0 POL$0.00 0.03977862 63.32682892 Convert Multiple 64708593 2024-11-25 9:07:54 8 days ago 1732525674 IN 0 POL$0.00 0.05974034 54.23067422 Convert Multiple 64708560 2024-11-25 9:06:44 8 days ago 1732525604 IN 0 POL$0.00 0.13450553 43.2946819 Convert Multiple 64640243 2024-11-23 15:46:29 10 days ago 1732376789 IN 0 POL$0.00 1.35434165 441.71707314 Convert 64573889 2024-11-22 0:06:20 12 days ago 1732233980 IN 0 POL$0.00 0.05217501 46.99491049 Convert 64573877 2024-11-22 0:05:54 12 days ago 1732233954 IN 0 POL$0.00 0.02424898 43.81200731 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 22.57% $0.718445 2,414.7199 $1,734.84 POL 17.12% $3,671.9 0.3583 $1,315.72 POL 9.05% $0.999543 695.6125 $695.29 POL 5.74% $0.999543 441.4105 $441.21 POL 5.67% $24.14 18.0585 $435.93 POL 4.86% $0.033906 11,009.5762 $373.29 POL 3.09% $1 237.4249 $237.66 POL 2.89% $242.04 0.9172 $222 POL 2.49% $0.00322 59,449.9925 $191.44 POL 2.37% $2.03 89.6451 $181.98 POL 2.33% $0.035047 5,119.7289 $179.43 POL 1.67% $4,357.16 0.0295 $128.66 POL 1.61% $0.061978 1,995.8555 $123.7 POL 1.57% <$0.000001 562,974,133.3533 $120.93 POL 1.52% $0.965564 120.8768 $116.71 POL 1.37% $0.00131 80,449.3871 $105.39 POL 1.19% $1.62 56.4123 $91.39 POL 1.06% $0.006806 11,963.85 $81.42 POL 1.01% $1.35 57.468 $77.58 POL 0.99% $0.019924 3,827.9754 $76.27 POL 0.82% $0.324084 194.4876 $63.03 POL 0.78% $0.231324 260.3 $60.21 POL 0.76% $0.000001 51,009,507.9749 $58.3 POL 0.74% $0.104379 547.9693 $57.2 POL 0.70% $0.016036 3,365.8676 $53.98 POL 0.66% $96,142 0.00052952 $50.91 POL 0.60% $0.209714 218.5616 $45.84 POL 0.58% $0.024302 1,832.9852 $44.55 POL 0.56% $0.238147 179.2148 $42.68 POL 0.51% $2.65 14.8751 $39.42 POL 0.51% $0.013884 2,838.5564 $39.41 POL 0.37% $0.111214 253.7256 $28.22 POL 0.37% $0.26705 105.1423 $28.08 POL 0.31% $0.818159 29.5527 $24.18 POL 0.26% $0.023693 831.8884 $19.71 POL 0.25% $0.820936 23.1776 $19.03 POL 0.20% $0.000588 25,741.6771 $15.15 POL 0.16% $0.250294 48.3865 $12.11 POL 0.12% $0.039726 228.3493 $9.07 POL 0.08% $0.000805 7,596.9361 $6.12 POL 0.08% $0.628871 9.4013 $5.91 POL 0.07% $0.016479 341.321 $5.62 POL 0.06% $1.1 3.887 $4.26 POL 0.05% $0.003273 1,078.4987 $3.53 POL 0.04% $0.813479 4.2385 $3.45 POL 0.04% $0.999755 3.2809 $3.28 POL 0.04% <$0.000001 225,566,817.1968 $3.23 POL 0.03% $0.019594 121.589 $2.38 POL 0.02% $3,988.3 0.00046634 $1.86 POL 0.02% $0.84988 2.0485 $1.74 POL 0.01% $0.000094 8,573.9221 $0.8095 POL <0.01% $0.225704 2.6664 $0.6018 POL <0.01% $0.025288 20 $0.5057 POL <0.01% $0.00016 2,327.0352 $0.3721 POL <0.01% $0.992149 0.2414 $0.2394 POL <0.01% $0.000278 700 $0.1948 [ 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.