Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x60806040 | 7470921 | 1976 days ago | IN | 0 ETH | 0.00281447 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
InstaTrade
Compiler Version
v0.5.0+commit.1d4f565a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-03-30 */ pragma solidity ^0.5.0; library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "Assertion Failed"); return c; } } contract IERC20 { function balanceOf(address who) public view returns (uint256); function allowance(address _owner, address _spender) public view returns (uint256); function transfer(address to, uint256 value) public returns (bool); function approve(address spender, uint256 value) public returns (bool); function transferFrom(address from, address to, uint256 value) public returns (bool); } contract KyberInterface { function trade( address src, uint srcAmount, address dest, address destAddress, uint maxDestAmount, uint minConversionRate, address walletId ) public payable returns (uint); function getExpectedRate( address src, address dest, uint srcQty ) public view returns (uint, uint); } contract Helper { using SafeMath for uint; using SafeMath for uint256; /** * @dev get ethereum address for trade */ function getAddressETH() public pure returns (address eth) { eth = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE; } /** * @dev get kyber proxy address */ function getAddressKyber() public pure returns (address kyber) { kyber = 0x818E6FECD516Ecc3849DAf6845e3EC868087B755; } /** * @dev get admin address */ function getAddressAdmin() public pure returns (address admin) { admin = 0x7284a8451d9a0e7Dc62B3a71C0593eA2eC5c5638; } /** * @dev get fees to trade // 200 => 0.2% */ function getUintFees() public pure returns (uint fees) { fees = 200; } /** * @dev gets ETH & token balance * @param src is the token being sold * @return ethBal - if not erc20, eth balance * @return tknBal - if not eth, erc20 balance */ function getBal(address src, address _owner) public view returns (uint, uint) { uint tknBal; if (src != getAddressETH()) { tknBal = IERC20(src).balanceOf(address(_owner)); } return (address(_owner).balance, tknBal); } /** * @dev getting rates from Kyber * @param src is the token being sold * @param dest is the token being bought * @param srcAmt is the amount of token being sold * @return expectedRate - the current rate * @return slippageRate - rate with 3% slippage */ function getExpectedRate( address src, address dest, uint srcAmt ) public view returns ( uint expectedRate, uint slippageRate ) { (expectedRate,) = KyberInterface(getAddressKyber()).getExpectedRate(src, dest, srcAmt); slippageRate = (expectedRate / 100) * 99; // changing slippage rate upto 99% } /** * @dev fetching token from the trader if ERC20 * @param trader is the trader * @param src is the token which is being sold * @param srcAmt is the amount of token being sold */ function getToken(address trader, address src, uint srcAmt) internal returns (uint ethQty) { if (src == getAddressETH()) { require(msg.value == srcAmt, "not-enough-src"); ethQty = srcAmt; } else { manageApproval(src, srcAmt); IERC20(src).transferFrom(trader, address(this), srcAmt); } } /** * @dev setting allowance to kyber for the "user proxy" if required * @param token is the token address */ function setApproval(address token) internal returns (uint) { IERC20(token).approve(getAddressKyber(), 2**255); } /** * @dev configuring token approval with user proxy * @param token is the token */ function manageApproval(address token, uint srcAmt) internal returns (uint) { uint tokenAllowance = IERC20(token).allowance(address(this), getAddressKyber()); if (srcAmt > tokenAllowance) { setApproval(token); } } } contract Swap is Helper { /** * @param what 0 for BUY & 1 for SELL */ event LogTrade( uint what, // 0 for BUY & 1 for SELL address src, uint srcAmt, address dest, uint destAmt, address beneficiary, uint minConversionRate, address affiliate ); /** * @dev buying token where destAmt is fixed * @param src - token to sell * @param dest - token to buy * @param srcAmt - token amount to sell * @param maxDestAmt is the max amount of token to be bought */ function buy( address src, address dest, uint srcAmt, uint maxDestAmt, uint slippageRate ) public payable returns (uint destAmt) { uint ethQty = getToken(msg.sender, src, srcAmt); destAmt = KyberInterface(getAddressKyber()).trade.value(ethQty)( src, srcAmt, dest, msg.sender, maxDestAmt, slippageRate, getAddressAdmin() ); // maxDestAmt usecase implementated on user proxy if (address(this).balance > 0) { msg.sender.transfer(address(this).balance); } else if (src != getAddressETH()) { IERC20 srcTkn = IERC20(src); uint srcBal = srcTkn.balanceOf(address(this)); if (srcBal > 0) { srcTkn.transfer(msg.sender, srcBal); } } emit LogTrade( 0, src, srcAmt, dest, destAmt, msg.sender, slippageRate, getAddressAdmin() ); } /** * @dev selling token where srcAmt is fixed * @param src - token to sell * @param dest - token to buy * @param srcAmt - token amount to sell */ function sell( address src, address dest, uint srcAmt, uint slippageRate ) public payable returns (uint destAmt) { uint ethQty = getToken(msg.sender, src, srcAmt); destAmt = KyberInterface(getAddressKyber()).trade.value(ethQty)( src, srcAmt, dest, msg.sender, 2**255, slippageRate, getAddressAdmin() ); emit LogTrade( 1, src, srcAmt, dest, destAmt, msg.sender, slippageRate, getAddressAdmin() ); } } contract InstaTrade is Swap { uint public version; /** * @dev setting up variables on deployment * 1...2...3 versioning in each subsequent deployments */ constructor(uint _version) public { version = _version; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":false,"inputs":[{"name":"src","type":"address"},{"name":"dest","type":"address"},{"name":"srcAmt","type":"uint256"},{"name":"slippageRate","type":"uint256"}],"name":"sell","outputs":[{"name":"destAmt","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"version","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"src","type":"address"},{"name":"dest","type":"address"},{"name":"srcAmt","type":"uint256"},{"name":"maxDestAmt","type":"uint256"},{"name":"slippageRate","type":"uint256"}],"name":"buy","outputs":[{"name":"destAmt","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"src","type":"address"},{"name":"dest","type":"address"},{"name":"srcAmt","type":"uint256"}],"name":"getExpectedRate","outputs":[{"name":"expectedRate","type":"uint256"},{"name":"slippageRate","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getAddressKyber","outputs":[{"name":"kyber","type":"address"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"getAddressETH","outputs":[{"name":"eth","type":"address"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"getAddressAdmin","outputs":[{"name":"admin","type":"address"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"getUintFees","outputs":[{"name":"fees","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[{"name":"src","type":"address"},{"name":"_owner","type":"address"}],"name":"getBal","outputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_version","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"what","type":"uint256"},{"indexed":false,"name":"src","type":"address"},{"indexed":false,"name":"srcAmt","type":"uint256"},{"indexed":false,"name":"dest","type":"address"},{"indexed":false,"name":"destAmt","type":"uint256"},{"indexed":false,"name":"beneficiary","type":"address"},{"indexed":false,"name":"minConversionRate","type":"uint256"},{"indexed":false,"name":"affiliate","type":"address"}],"name":"LogTrade","type":"event"}]
Contract Creation Code
608060405234801561001057600080fd5b506040516020806114208339810180604052602081101561003057600080fd5b810190808051906020019092919050505080600081905550506113c8806100586000396000f3fe608060405260043610610099576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806331de7d151461009e57806354fd4d501461012a57806376165adf14610155578063809a9e55146101eb57806391b0b61814610281578063ab1be686146102d8578063adbd80b01461032f578063c078419814610386578063c7d85a56146103b1575b600080fd5b610114600480360360808110156100b457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919050505061043d565b6040518082815260200191505060405180910390f35b34801561013657600080fd5b5061013f610738565b6040518082815260200191505060405180910390f35b6101d5600480360360a081101561016b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001909291908035906020019092919050505061073e565b6040518082815260200191505060405180910390f35b3480156101f757600080fd5b506102646004803603606081101561020e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610ca3565b604051808381526020018281526020019250505060405180910390f35b34801561028d57600080fd5b50610296610de5565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156102e457600080fd5b506102ed610e01565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561033b57600080fd5b50610344610e1d565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561039257600080fd5b5061039b610e39565b6040518082815260200191505060405180910390f35b3480156103bd57600080fd5b50610420600480360360408110156103d457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610e42565b604051808381526020018281526020019250505060405180910390f35b60008061044b338786610f7f565b9050610455610de5565b73ffffffffffffffffffffffffffffffffffffffff1663cb3c28c782888789337f80000000000000000000000000000000000000000000000000000000000000008a61049f610e1d565b6040518963ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018781526020018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019750505050505050506020604051808303818588803b1580156105ca57600080fd5b505af11580156105de573d6000803e3d6000fd5b50505050506040513d60208110156105f557600080fd5b810190808051906020019092919050505091507f11e25872c1ff01460756fe30988d586790d81915aa1ed26f716b966a0fcc196c6001878688863389610639610e1d565b604051808981526020018873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018781526020018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019850505050505050505060405180910390a150949350505050565b60005481565b60008061074c338887610f7f565b9050610756610de5565b73ffffffffffffffffffffffffffffffffffffffff1663cb3c28c78289888a338a8a610780610e1d565b6040518963ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018781526020018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019750505050505050506020604051808303818588803b1580156108ab57600080fd5b505af11580156108bf573d6000803e3d6000fd5b50505050506040513d60208110156108d657600080fd5b8101908080519060200190929190505050915060003073ffffffffffffffffffffffffffffffffffffffff1631111561096c573373ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f19350505050158015610966573d6000803e3d6000fd5b50610b72565b610974610e01565b73ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff16141515610b7157600087905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610a4857600080fd5b505afa158015610a5c573d6000803e3d6000fd5b505050506040513d6020811015610a7257600080fd5b810190808051906020019092919050505090506000811115610b6e578173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610b3157600080fd5b505af1158015610b45573d6000803e3d6000fd5b505050506040513d6020811015610b5b57600080fd5b8101908080519060200190929190505050505b50505b5b7f11e25872c1ff01460756fe30988d586790d81915aa1ed26f716b966a0fcc196c6000888789863389610ba3610e1d565b604051808981526020018873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018781526020018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019850505050505050505060405180910390a15095945050505050565b600080610cae610de5565b73ffffffffffffffffffffffffffffffffffffffff1663809a9e558686866040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604080518083038186803b158015610d8157600080fd5b505afa158015610d95573d6000803e3d6000fd5b505050506040513d6040811015610dab57600080fd5b81019080805190602001909291908051906020019092919050505050809250506063606483811515610dd957fe5b04029050935093915050565b600073818e6fecd516ecc3849daf6845e3ec868087b755905090565b600073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee905090565b6000737284a8451d9a0e7dc62b3a71c0593ea2ec5c5638905090565b600060c8905090565b6000806000610e4f610e01565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141515610f5a578473ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610f1c57600080fd5b505afa158015610f30573d6000803e3d6000fd5b505050506040513d6020811015610f4657600080fd5b810190808051906020019092919050505090505b8373ffffffffffffffffffffffffffffffffffffffff16318192509250509250929050565b6000610f89610e01565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561103b578134141515611033576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f6e6f742d656e6f7567682d73726300000000000000000000000000000000000081525060200191505060405180910390fd5b81905061115a565b6110458383611161565b508273ffffffffffffffffffffffffffffffffffffffff166323b872dd8530856040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b15801561111d57600080fd5b505af1158015611131573d6000803e3d6000fd5b505050506040513d602081101561114757600080fd5b8101908080519060200190929190505050505b9392505050565b6000808373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30611189610de5565b6040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b15801561123857600080fd5b505afa15801561124c573d6000803e3d6000fd5b505050506040513d602081101561126257600080fd5b8101908080519060200190929190505050905080831115611288576112868461128f565b505b5092915050565b60008173ffffffffffffffffffffffffffffffffffffffff1663095ea7b36112b5610de5565b7f80000000000000000000000000000000000000000000000000000000000000006040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561135b57600080fd5b505af115801561136f573d6000803e3d6000fd5b505050506040513d602081101561138557600080fd5b81019080805190602001909291905050505091905056fea165627a7a72305820a2772edf78792bd4eccfe303fef7294b17e38840d8b98512172e5f4f238f562300290000000000000000000000000000000000000000000000000000000000000001
Deployed Bytecode
0x608060405260043610610099576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806331de7d151461009e57806354fd4d501461012a57806376165adf14610155578063809a9e55146101eb57806391b0b61814610281578063ab1be686146102d8578063adbd80b01461032f578063c078419814610386578063c7d85a56146103b1575b600080fd5b610114600480360360808110156100b457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919050505061043d565b6040518082815260200191505060405180910390f35b34801561013657600080fd5b5061013f610738565b6040518082815260200191505060405180910390f35b6101d5600480360360a081101561016b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001909291908035906020019092919050505061073e565b6040518082815260200191505060405180910390f35b3480156101f757600080fd5b506102646004803603606081101561020e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610ca3565b604051808381526020018281526020019250505060405180910390f35b34801561028d57600080fd5b50610296610de5565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156102e457600080fd5b506102ed610e01565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561033b57600080fd5b50610344610e1d565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561039257600080fd5b5061039b610e39565b6040518082815260200191505060405180910390f35b3480156103bd57600080fd5b50610420600480360360408110156103d457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610e42565b604051808381526020018281526020019250505060405180910390f35b60008061044b338786610f7f565b9050610455610de5565b73ffffffffffffffffffffffffffffffffffffffff1663cb3c28c782888789337f80000000000000000000000000000000000000000000000000000000000000008a61049f610e1d565b6040518963ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018781526020018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019750505050505050506020604051808303818588803b1580156105ca57600080fd5b505af11580156105de573d6000803e3d6000fd5b50505050506040513d60208110156105f557600080fd5b810190808051906020019092919050505091507f11e25872c1ff01460756fe30988d586790d81915aa1ed26f716b966a0fcc196c6001878688863389610639610e1d565b604051808981526020018873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018781526020018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019850505050505050505060405180910390a150949350505050565b60005481565b60008061074c338887610f7f565b9050610756610de5565b73ffffffffffffffffffffffffffffffffffffffff1663cb3c28c78289888a338a8a610780610e1d565b6040518963ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018781526020018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019750505050505050506020604051808303818588803b1580156108ab57600080fd5b505af11580156108bf573d6000803e3d6000fd5b50505050506040513d60208110156108d657600080fd5b8101908080519060200190929190505050915060003073ffffffffffffffffffffffffffffffffffffffff1631111561096c573373ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f19350505050158015610966573d6000803e3d6000fd5b50610b72565b610974610e01565b73ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff16141515610b7157600087905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610a4857600080fd5b505afa158015610a5c573d6000803e3d6000fd5b505050506040513d6020811015610a7257600080fd5b810190808051906020019092919050505090506000811115610b6e578173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015610b3157600080fd5b505af1158015610b45573d6000803e3d6000fd5b505050506040513d6020811015610b5b57600080fd5b8101908080519060200190929190505050505b50505b5b7f11e25872c1ff01460756fe30988d586790d81915aa1ed26f716b966a0fcc196c6000888789863389610ba3610e1d565b604051808981526020018873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018781526020018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019850505050505050505060405180910390a15095945050505050565b600080610cae610de5565b73ffffffffffffffffffffffffffffffffffffffff1663809a9e558686866040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604080518083038186803b158015610d8157600080fd5b505afa158015610d95573d6000803e3d6000fd5b505050506040513d6040811015610dab57600080fd5b81019080805190602001909291908051906020019092919050505050809250506063606483811515610dd957fe5b04029050935093915050565b600073818e6fecd516ecc3849daf6845e3ec868087b755905090565b600073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee905090565b6000737284a8451d9a0e7dc62b3a71c0593ea2ec5c5638905090565b600060c8905090565b6000806000610e4f610e01565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16141515610f5a578473ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610f1c57600080fd5b505afa158015610f30573d6000803e3d6000fd5b505050506040513d6020811015610f4657600080fd5b810190808051906020019092919050505090505b8373ffffffffffffffffffffffffffffffffffffffff16318192509250509250929050565b6000610f89610e01565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561103b578134141515611033576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f6e6f742d656e6f7567682d73726300000000000000000000000000000000000081525060200191505060405180910390fd5b81905061115a565b6110458383611161565b508273ffffffffffffffffffffffffffffffffffffffff166323b872dd8530856040518463ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b15801561111d57600080fd5b505af1158015611131573d6000803e3d6000fd5b505050506040513d602081101561114757600080fd5b8101908080519060200190929190505050505b9392505050565b6000808373ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30611189610de5565b6040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b15801561123857600080fd5b505afa15801561124c573d6000803e3d6000fd5b505050506040513d602081101561126257600080fd5b8101908080519060200190929190505050905080831115611288576112868461128f565b505b5092915050565b60008173ffffffffffffffffffffffffffffffffffffffff1663095ea7b36112b5610de5565b7f80000000000000000000000000000000000000000000000000000000000000006040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561135b57600080fd5b505af115801561136f573d6000803e3d6000fd5b505050506040513d602081101561138557600080fd5b81019080805190602001909291905050505091905056fea165627a7a72305820a2772edf78792bd4eccfe303fef7294b17e38840d8b98512172e5f4f238f56230029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000001
-----Decoded View---------------
Arg [0] : _version (uint256): 1
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000001
Swarm Source
bzzr://a2772edf78792bd4eccfe303fef7294b17e38840d8b98512172e5f4f238f5623
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ 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.