More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 1,403 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Migrate | 19430093 | 136 days ago | IN | 0 ETH | 0.00336062 | ||||
Migrate | 18919135 | 207 days ago | IN | 0 ETH | 0.00125244 | ||||
Migrate | 18764723 | 229 days ago | IN | 0 ETH | 0.00362301 | ||||
Migrate | 18737014 | 233 days ago | IN | 0 ETH | 0.00552428 | ||||
Migrate | 18638836 | 247 days ago | IN | 0 ETH | 0.00189115 | ||||
Migrate | 18100696 | 322 days ago | IN | 0 ETH | 0.00077302 | ||||
Migrate | 17957796 | 342 days ago | IN | 0 ETH | 0.00205146 | ||||
Migrate | 17424915 | 417 days ago | IN | 0 ETH | 0.00122874 | ||||
Migrate | 17193961 | 449 days ago | IN | 0 ETH | 0.00550984 | ||||
Migrate | 17059690 | 468 days ago | IN | 0 ETH | 0.00177868 | ||||
Migrate | 16973782 | 480 days ago | IN | 0 ETH | 0.00144939 | ||||
Migrate | 16953456 | 483 days ago | IN | 0 ETH | 0.00133208 | ||||
Migrate | 16798408 | 505 days ago | IN | 0 ETH | 0.00343703 | ||||
Migrate | 16715778 | 517 days ago | IN | 0 ETH | 0.00230759 | ||||
Migrate | 16515189 | 545 days ago | IN | 0 ETH | 0.00172618 | ||||
Migrate | 16423121 | 558 days ago | IN | 0 ETH | 0.00173446 | ||||
Migrate | 16378057 | 564 days ago | IN | 0 ETH | 0.00215228 | ||||
Migrate | 16130633 | 598 days ago | IN | 0 ETH | 0.00090028 | ||||
Migrate | 16040977 | 611 days ago | IN | 0 ETH | 0.00097942 | ||||
Migrate | 16040890 | 611 days ago | IN | 0 ETH | 0.00080765 | ||||
Migrate | 15832721 | 640 days ago | IN | 0 ETH | 0.00205908 | ||||
Migrate | 15741333 | 653 days ago | IN | 0 ETH | 0.00182973 | ||||
Migrate | 15529752 | 683 days ago | IN | 0 ETH | 0.00022866 | ||||
Migrate | 15510328 | 686 days ago | IN | 0 ETH | 0.0005205 | ||||
Migrate | 15310191 | 718 days ago | IN | 0 ETH | 0.0013212 |
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers. Name tag integration is not available in advanced view.
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | ||||
---|---|---|---|---|---|---|---|
19850867 | 77 days ago | 0 ETH | |||||
19850867 | 77 days ago | 0 ETH | |||||
19850867 | 77 days ago | 0 ETH | |||||
19616551 | 109 days ago | 0 ETH | |||||
19616551 | 109 days ago | 0 ETH | |||||
19616551 | 109 days ago | 0 ETH | |||||
19498435 | 126 days ago | 0 ETH | |||||
19498435 | 126 days ago | 0 ETH | |||||
19498435 | 126 days ago | 0 ETH | |||||
19496380 | 126 days ago | 0 ETH | |||||
19496380 | 126 days ago | 0 ETH | |||||
19496380 | 126 days ago | 0 ETH | |||||
19489172 | 127 days ago | 0 ETH | |||||
19489172 | 127 days ago | 0 ETH | |||||
19489172 | 127 days ago | 0 ETH | |||||
19477457 | 129 days ago | 0 ETH | |||||
19477457 | 129 days ago | 0 ETH | |||||
19477457 | 129 days ago | 0 ETH | |||||
19430093 | 136 days ago | 0 ETH | |||||
19430093 | 136 days ago | 0 ETH | |||||
18919135 | 207 days ago | 0 ETH | |||||
18919135 | 207 days ago | 0 ETH | |||||
18764723 | 229 days ago | 0 ETH | |||||
18764723 | 229 days ago | 0 ETH | |||||
18737014 | 233 days ago | 0 ETH |
Loading...
Loading
Contract Name:
Migrator
Compiler Version
v0.8.6+commit.11564f7e
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./interfaces/IERC20Extended.sol"; import "./lib/SafeERC20.sol"; /** * @title Migrator * @dev Migrate from old token to new token */ contract Migrator { using SafeERC20 for IERC20Extended; /// @notice From token IERC20Extended public immutable fromToken; /// @notice To token IERC20Extended public immutable toToken; /// @notice Event emitted on each migration event Migrate(uint256 amount, address fromToken, address toToken, address migrator); /** * @notice Construct new Migrator * @param _fromToken From token * @param _toToken To token */ constructor(address _fromToken, address _toToken) { fromToken = IERC20Extended(_fromToken); toToken = IERC20Extended(_toToken); } /** * @notice Migrate to new token * @param amount Amount to migrate */ function migrate(uint256 amount) external { _migrate(msg.sender, amount); } /** * @notice Migrate to new token, sending new tokens to specified receiver address * @param receiver Address that will receive new tokens * @param amount Amount to migrate */ function migrateTo(address receiver, uint256 amount) external { _migrate(receiver, amount); } /** * @notice Migrate to new token using permit for approvals * @param amount Amount to migrate * @param deadline The time at which to expire the signature * @param v The recovery byte of the signature * @param r Half of the ECDSA signature pair * @param s Half of the ECDSA signature pair */ function migrateWithPermit( uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external { fromToken.permit(msg.sender, address(this), amount, deadline, v, r, s); _migrate(msg.sender, amount); } /** * @notice Migrate to new token, sending new tokens to specified receiver using permit for approvals * @param receiver Address that will receive new tokens * @param amount Amount to migrate * @param deadline The time at which to expire the signature * @param v The recovery byte of the signature * @param r Half of the ECDSA signature pair * @param s Half of the ECDSA signature pair */ function migrateToWithPermit( address receiver, uint256 amount, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external { fromToken.permit(msg.sender, address(this), amount, deadline, v, r, s); _migrate(receiver, amount); } /** * @notice Internal implementation of migrate * @param receiver Address that will receive new tokens * @param amount Amount to migrate */ function _migrate(address receiver, uint256 amount) internal { fromToken.safeTransferFrom(msg.sender, address(this), amount); toToken.mint(receiver, amount); emit Migrate(amount, address(fromToken), address(toToken), receiver); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.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.8.0; import "./IERC20.sol"; interface IERC20Burnable is IERC20 { function burn(uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20Metadata.sol"; import "./IERC20Mintable.sol"; import "./IERC20Burnable.sol"; import "./IERC20Permit.sol"; import "./IERC20TransferWithAuth.sol"; import "./IERC20SafeAllowance.sol"; interface IERC20Extended is IERC20Metadata, IERC20Mintable, IERC20Burnable, IERC20Permit, IERC20TransferWithAuth, IERC20SafeAllowance {}
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; interface IERC20Mintable is IERC20 { function mint(address dst, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; interface IERC20Permit is IERC20 { function getDomainSeparator() external view returns (bytes32); function DOMAIN_TYPEHASH() external view returns (bytes32); function VERSION_HASH() external view returns (bytes32); function PERMIT_TYPEHASH() external view returns (bytes32); function nonces(address) external view returns (uint); function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; interface IERC20SafeAllowance is IERC20 { function increaseAllowance(address spender, uint256 addedValue) external returns (bool); function decreaseAllowance(address spender, uint256 subtractedValue) external returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20.sol"; interface IERC20TransferWithAuth is IERC20 { function transferWithAuthorization(address from, address to, uint256 value, uint256 validAfter, uint256 validBefore, bytes32 nonce, uint8 v, bytes32 r, bytes32 s) external; function receiveWithAuthorization(address from, address to, uint256 value, uint256 validAfter, uint256 validBefore, bytes32 nonce, uint8 v, bytes32 r, bytes32 s) external; function TRANSFER_WITH_AUTHORIZATION_TYPEHASH() external view returns (bytes32); function RECEIVE_WITH_AUTHORIZATION_TYPEHASH() external view returns (bytes32); event AuthorizationUsed(address indexed authorizer, bytes32 indexed nonce); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.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; 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"); (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"); (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"); (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"); (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 assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../interfaces/IERC20.sol"; import "./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 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' 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) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _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 require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
{ "evmVersion": "berlin", "libraries": {}, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 999999 }, "remappings": [], "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_fromToken","type":"address"},{"internalType":"address","name":"_toToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"fromToken","type":"address"},{"indexed":false,"internalType":"address","name":"toToken","type":"address"},{"indexed":false,"internalType":"address","name":"migrator","type":"address"}],"name":"Migrate","type":"event"},{"inputs":[],"name":"fromToken","outputs":[{"internalType":"contract IERC20Extended","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"migrateTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"migrateToWithPermit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"migrateWithPermit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toToken","outputs":[{"internalType":"contract IERC20Extended","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60c060405234801561001057600080fd5b50604051610b55380380610b5583398101604081905261002f91610069565b6001600160601b0319606092831b8116608052911b1660a05261009c565b80516001600160a01b038116811461006457600080fd5b919050565b6000806040838503121561007c57600080fd5b6100858361004d565b91506100936020840161004d565b90509250929050565b60805160601c60a05160601c610a666100ef6000396000818160f40152818161039c015261046001526000818160a4015281816101a30152818161028b0152818161032801526104220152610a666000f3fe608060405234801561001057600080fd5b50600436106100725760003560e01c80633c930575116100505780633c930575146100ef578063454b060814610116578063ae44214a1461012957600080fd5b80630d213d3114610077578063298e9c941461008c57806332a468571461009f575b600080fd5b61008a610085366004610893565b61013c565b005b61008a61009a366004610950565b61014a565b6100c67f000000000000000000000000000000000000000000000000000000000000000081565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6100c67f000000000000000000000000000000000000000000000000000000000000000081565b61008a610124366004610937565b610225565b61008a6101373660046108bd565b610232565b610146828261030e565b5050565b6040517fd505accf000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018690526064810185905260ff8416608482015260a4810183905260c481018290527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063d505accf9060e401600060405180830381600087803b1580156101fc57600080fd5b505af1158015610210573d6000803e3d6000fd5b5050505061021e338661030e565b5050505050565b61022f338261030e565b50565b6040517fd505accf000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018690526064810185905260ff8416608482015260a4810183905260c481018290527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff169063d505accf9060e401600060405180830381600087803b1580156102e457600080fd5b505af11580156102f8573d6000803e3d6000fd5b50505050610306868661030e565b505050505050565b61035073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000163330846104bc565b6040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152602482018390527f000000000000000000000000000000000000000000000000000000000000000016906340c10f1990604401602060405180830381600087803b1580156103e057600080fd5b505af11580156103f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104189190610915565b50604080518281527f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff90811660208301527f00000000000000000000000000000000000000000000000000000000000000008116828401528416606082015290517f2c3cfd1450ae8233a55d7b56e333778edde78457abd6ff9c1b8e7c1d97ceb4a89181900360800190a15050565b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000179052610551908590610557565b50505050565b60006105b9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661066d9092919063ffffffff16565b80519091501561066857808060200190518101906105d79190610915565b610668576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b505050565b606061067c8484600085610686565b90505b9392505050565b606082471015610718576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c0000000000000000000000000000000000000000000000000000606482015260840161065f565b843b610780576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161065f565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516107a99190610997565b60006040518083038185875af1925050503d80600081146107e6576040519150601f19603f3d011682016040523d82523d6000602084013e6107eb565b606091505b50915091506107fb828286610806565b979650505050505050565b6060831561081557508161067f565b8251156108255782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065f91906109b3565b803573ffffffffffffffffffffffffffffffffffffffff8116811461087d57600080fd5b919050565b803560ff8116811461087d57600080fd5b600080604083850312156108a657600080fd5b6108af83610859565b946020939093013593505050565b60008060008060008060c087890312156108d657600080fd5b6108df87610859565b955060208701359450604087013593506108fb60608801610882565b92506080870135915060a087013590509295509295509295565b60006020828403121561092757600080fd5b8151801515811461067f57600080fd5b60006020828403121561094957600080fd5b5035919050565b600080600080600060a0868803121561096857600080fd5b853594506020860135935061097f60408701610882565b94979396509394606081013594506080013592915050565b600082516109a9818460208701610a04565b9190910192915050565b60208152600082518060208401526109d2816040850160208701610a04565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b60005b83811015610a1f578181015183820152602001610a07565b83811115610551575050600091015256fea2646970667358221220055042a16c128314925b6b6c156e4e0ef5971fe07a4e2661a2f0de79a52407cd64736f6c634300080600330000000000000000000000001f3f9d3068568f8040775be2e8c03c103c61f3af0000000000000000000000001559fa1b8f28238fd5d76d9f434ad86fd20d1559
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100725760003560e01c80633c930575116100505780633c930575146100ef578063454b060814610116578063ae44214a1461012957600080fd5b80630d213d3114610077578063298e9c941461008c57806332a468571461009f575b600080fd5b61008a610085366004610893565b61013c565b005b61008a61009a366004610950565b61014a565b6100c67f0000000000000000000000001f3f9d3068568f8040775be2e8c03c103c61f3af81565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6100c67f0000000000000000000000001559fa1b8f28238fd5d76d9f434ad86fd20d155981565b61008a610124366004610937565b610225565b61008a6101373660046108bd565b610232565b610146828261030e565b5050565b6040517fd505accf000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018690526064810185905260ff8416608482015260a4810183905260c481018290527f0000000000000000000000001f3f9d3068568f8040775be2e8c03c103c61f3af73ffffffffffffffffffffffffffffffffffffffff169063d505accf9060e401600060405180830381600087803b1580156101fc57600080fd5b505af1158015610210573d6000803e3d6000fd5b5050505061021e338661030e565b5050505050565b61022f338261030e565b50565b6040517fd505accf000000000000000000000000000000000000000000000000000000008152336004820152306024820152604481018690526064810185905260ff8416608482015260a4810183905260c481018290527f0000000000000000000000001f3f9d3068568f8040775be2e8c03c103c61f3af73ffffffffffffffffffffffffffffffffffffffff169063d505accf9060e401600060405180830381600087803b1580156102e457600080fd5b505af11580156102f8573d6000803e3d6000fd5b50505050610306868661030e565b505050505050565b61035073ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000001f3f9d3068568f8040775be2e8c03c103c61f3af163330846104bc565b6040517f40c10f1900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8381166004830152602482018390527f0000000000000000000000001559fa1b8f28238fd5d76d9f434ad86fd20d155916906340c10f1990604401602060405180830381600087803b1580156103e057600080fd5b505af11580156103f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104189190610915565b50604080518281527f0000000000000000000000001f3f9d3068568f8040775be2e8c03c103c61f3af73ffffffffffffffffffffffffffffffffffffffff90811660208301527f0000000000000000000000001559fa1b8f28238fd5d76d9f434ad86fd20d15598116828401528416606082015290517f2c3cfd1450ae8233a55d7b56e333778edde78457abd6ff9c1b8e7c1d97ceb4a89181900360800190a15050565b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd00000000000000000000000000000000000000000000000000000000179052610551908590610557565b50505050565b60006105b9826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661066d9092919063ffffffff16565b80519091501561066857808060200190518101906105d79190610915565b610668576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b505050565b606061067c8484600085610686565b90505b9392505050565b606082471015610718576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c0000000000000000000000000000000000000000000000000000606482015260840161065f565b843b610780576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161065f565b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516107a99190610997565b60006040518083038185875af1925050503d80600081146107e6576040519150601f19603f3d011682016040523d82523d6000602084013e6107eb565b606091505b50915091506107fb828286610806565b979650505050505050565b6060831561081557508161067f565b8251156108255782518084602001fd5b816040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065f91906109b3565b803573ffffffffffffffffffffffffffffffffffffffff8116811461087d57600080fd5b919050565b803560ff8116811461087d57600080fd5b600080604083850312156108a657600080fd5b6108af83610859565b946020939093013593505050565b60008060008060008060c087890312156108d657600080fd5b6108df87610859565b955060208701359450604087013593506108fb60608801610882565b92506080870135915060a087013590509295509295509295565b60006020828403121561092757600080fd5b8151801515811461067f57600080fd5b60006020828403121561094957600080fd5b5035919050565b600080600080600060a0868803121561096857600080fd5b853594506020860135935061097f60408701610882565b94979396509394606081013594506080013592915050565b600082516109a9818460208701610a04565b9190910192915050565b60208152600082518060208401526109d2816040850160208701610a04565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b60005b83811015610a1f578181015183820152602001610a07565b83811115610551575050600091015256fea2646970667358221220055042a16c128314925b6b6c156e4e0ef5971fe07a4e2661a2f0de79a52407cd64736f6c63430008060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000001f3f9d3068568f8040775be2e8c03c103c61f3af0000000000000000000000001559fa1b8f28238fd5d76d9f434ad86fd20d1559
-----Decoded View---------------
Arg [0] : _fromToken (address): 0x1F3f9D3068568F8040775be2e8C03C103C61f3aF
Arg [1] : _toToken (address): 0x1559FA1b8F28238FD5D76D9f434ad86FD20D1559
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000001f3f9d3068568f8040775be2e8c03c103c61f3af
Arg [1] : 0000000000000000000000001559fa1b8f28238fd5d76d9f434ad86fd20d1559
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.121538 | 90,668,282.7624 | $11,019,645.88 |
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.