More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 588 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Execute Meta Tra... | 15964762 | 809 days ago | IN | 0 ETH | 0.00123287 | ||||
Lock Tokens | 15964605 | 809 days ago | IN | 0 ETH | 0.00050683 | ||||
Execute Meta Tra... | 15960326 | 810 days ago | IN | 0 ETH | 0.00197769 | ||||
Execute Meta Tra... | 15960276 | 810 days ago | IN | 0 ETH | 0.00243899 | ||||
Execute Meta Tra... | 15960258 | 810 days ago | IN | 0 ETH | 0.00205436 | ||||
Execute Meta Tra... | 15960254 | 810 days ago | IN | 0 ETH | 0.00179591 | ||||
Execute Meta Tra... | 15960248 | 810 days ago | IN | 0 ETH | 0.00192098 | ||||
Execute Meta Tra... | 15960239 | 810 days ago | IN | 0 ETH | 0.00225267 | ||||
Lock Tokens | 15960236 | 810 days ago | IN | 0 ETH | 0.00066031 | ||||
Execute Meta Tra... | 15960218 | 810 days ago | IN | 0 ETH | 0.0014342 | ||||
Lock Tokens | 15960211 | 810 days ago | IN | 0 ETH | 0.00061988 | ||||
Execute Meta Tra... | 15960187 | 810 days ago | IN | 0 ETH | 0.00138058 | ||||
Lock Tokens | 15960179 | 810 days ago | IN | 0 ETH | 0.00066523 | ||||
Execute Meta Tra... | 15960167 | 810 days ago | IN | 0 ETH | 0.00142388 | ||||
Lock Tokens | 15960161 | 810 days ago | IN | 0 ETH | 0.00069334 | ||||
Execute Meta Tra... | 15960131 | 810 days ago | IN | 0 ETH | 0.00143422 | ||||
Lock Tokens | 15960111 | 810 days ago | IN | 0 ETH | 0.00075479 | ||||
Execute Meta Tra... | 15960094 | 810 days ago | IN | 0 ETH | 0.00129569 | ||||
Lock Tokens | 15960085 | 810 days ago | IN | 0 ETH | 0.00066396 | ||||
Execute Meta Tra... | 15960029 | 810 days ago | IN | 0 ETH | 0.00186969 | ||||
Execute Meta Tra... | 15960008 | 810 days ago | IN | 0 ETH | 0.00159697 | ||||
Execute Meta Tra... | 15959989 | 810 days ago | IN | 0 ETH | 0.00170081 | ||||
Execute Meta Tra... | 15959986 | 810 days ago | IN | 0 ETH | 0.00149771 | ||||
Execute Meta Tra... | 15959975 | 810 days ago | IN | 0 ETH | 0.00122387 | ||||
Execute Meta Tra... | 15959955 | 810 days ago | IN | 0 ETH | 0.0015731 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
BundlesLock
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
//SPDX-License-Identifier: Unlicense pragma solidity 0.8.4; import { SafeERC20 } from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import { ReentrancyGuard } from "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "./utils/NativeMetaTransaction.sol"; contract BundlesLock is ReentrancyGuard, NativeMetaTransaction { using SafeERC20 for IERC20; IERC20 public immutable token; event Lock(address indexed user, uint256 amount); event Release(address indexed user, uint256 amount, string indexed burnTxHash); mapping(string => bool) public burnTxHashes; constructor(IERC20 _token) { _initializeEIP712("BundlesLock", "1"); token = _token; } function lockTokens(uint256 amount) external nonReentrant { token.safeTransferFrom(msg.sender, address(this), amount); emit Lock(msg.sender, amount); } function releaseTokens(address user, uint256 amount, string memory burnTxHash) external onlyOwner nonReentrant { require(burnTxHashes[burnTxHash] == false, "Burn Tx Hash already exists"); burnTxHashes[burnTxHash] = true; token.safeTransfer(user, amount); emit Release(user, amount, burnTxHash); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC20.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 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"); } } }
// 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; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.4; import "./EIP712Base.sol"; import "./ContextMixin.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; /** * https://github.com/maticnetwork/pos-portal/blob/master/contracts/common/NativeMetaTransaction.sol */ contract NativeMetaTransaction is EIP712Base, Ownable, ContextMixin { bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256(bytes("MetaTransaction(uint256 nonce,address from,bytes functionSignature)")); event MetaTransactionExecuted( address ownerAddress, address relayerAddress, bytes functionSignature, bytes returnData ); mapping(address => uint256) nonces; /* * Meta transaction structure. * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas * He should call the desired function directly in that case. */ struct MetaTransaction { uint256 nonce; address from; bytes functionSignature; } function executeMetaTransaction( bytes memory functionSignature, bytes32 sigR, bytes32 sigS, uint8 sigV ) public returns (bytes memory) { MetaTransaction memory metaTx = MetaTransaction({ nonce: nonces[msg.sender], from: msg.sender, functionSignature: functionSignature }); require(verify(owner(), metaTx, sigR, sigS, sigV), "Signer and signature do not match"); // increase nonce for user (to avoid re-use) nonces[msg.sender] = nonces[msg.sender] + 1; // Append owner and relayer address at the end to extract it from calling context (bool success, bytes memory returnData) = address(this).call(abi.encodePacked(functionSignature, owner())); string memory response = string(returnData); require(success, response); emit MetaTransactionExecuted(owner(), msg.sender, functionSignature, returnData); return returnData; } function hashMetaTransaction(MetaTransaction memory metaTx) internal pure returns (bytes32) { return keccak256( abi.encode(META_TRANSACTION_TYPEHASH, metaTx.nonce, metaTx.from, keccak256(metaTx.functionSignature)) ); } function getNonce(address user) public view returns (uint256 nonce) { nonce = nonces[user]; } function verify( address signer, MetaTransaction memory metaTx, bytes32 sigR, bytes32 sigS, uint8 sigV ) internal view returns (bool) { require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER"); return signer == ecrecover(toTypedMessageHash(hashMetaTransaction(metaTx)), sigV, sigR, sigS); } /** * This is used instead of msg.sender */ function _msgSender() internal view override(Context) returns (address) { return ContextMixin.msgSender(); } }
// 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); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal 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: Unlicense pragma solidity ^0.8.4; /** * https://github.com/maticnetwork/pos-portal/blob/master/contracts/common/EIP712Base.sol */ contract Initializable { bool inited = false; modifier initializer() { require(!inited, "already inited"); _; inited = true; } } contract EIP712Base is Initializable { struct EIP712Domain { string name; string version; address verifyingContract; bytes32 salt; } bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256(bytes("EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)")); bytes32 internal domainSeperator; // supposed to be called once while initializing. // one of the contracts that inherits this contract follows proxy pattern // so it is not possible to do this in a constructor function _initializeEIP712(string memory name, string memory version) internal initializer { _setDomainSeperator(name, version); } function _setDomainSeperator(string memory name, string memory version) internal { domainSeperator = keccak256( abi.encode( EIP712_DOMAIN_TYPEHASH, keccak256(bytes(name)), keccak256(bytes(version)), address(this), bytes32(getChainId()) ) ); } function getDomainSeperator() public view returns (bytes32) { return domainSeperator; } function getChainId() public view returns (uint256) { uint256 id; assembly { id := chainid() } return id; } /** * Accept message hash and returns hash message in EIP712 compatible form * So that it can be used to recover signer from signature signed using EIP712 formatted data * https://eips.ethereum.org/EIPS/eip-712 * "\\x19" makes the encoding deterministic * "\\x01" is the version byte to make it compatible to EIP-191 */ function toTypedMessageHash(bytes32 messageHash) internal view returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash)); } }
//SPDX-License-Identifier: Unlicense pragma solidity ^0.8.4; /** * https://github.com/maticnetwork/pos-portal/blob/master/contracts/common/ContextMixin.sol */ abstract contract ContextMixin { function msgSender() internal view returns (address sender) { if (msg.sender == address(this)) { bytes memory array = msg.data; uint256 index = msg.data.length; assembly { // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those. sender := and(mload(add(array, index)), 0xffffffffffffffffffffffffffffffffffffffff) } } else { sender = msg.sender; } return sender; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.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() { _setOwner(_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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^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 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) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Lock","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"ownerAddress","type":"address"},{"indexed":false,"internalType":"address","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"},{"indexed":false,"internalType":"bytes","name":"returnData","type":"bytes"}],"name":"MetaTransactionExecuted","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":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"string","name":"burnTxHash","type":"string"}],"name":"Release","type":"event"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"burnTxHashes","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"lockTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"string","name":"burnTxHash","type":"string"}],"name":"releaseTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a06040526000600160006101000a81548160ff0219169083151502179055503480156200002c57600080fd5b5060405162002628380380620026288339818101604052810190620000529190620003eb565b60016000819055506200007a6200006e6200013460201b60201c565b6200015060201b60201c565b620000f66040518060400160405280600b81526020017f42756e646c65734c6f636b0000000000000000000000000000000000000000008152506040518060400160405280600181526020017f31000000000000000000000000000000000000000000000000000000000000008152506200021660201b60201c565b8073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b815250505062000585565b60006200014b6200029960201b62000a261760201c565b905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600160009054906101000a900460ff161562000269576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200026090620004bd565b60405180910390fd5b6200027b82826200034c60201b60201c565b60018060006101000a81548160ff0219169083151502179055505050565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156200034557600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff81830151169250505062000349565b3390505b90565b6040518060800160405280604f8152602001620025d9604f91398051906020012082805190602001208280519060200120306200038e620003c760201b60201c565b60001b604051602001620003a795949392919062000460565b604051602081830303815290604052805190602001206002819055505050565b6000804690508091505090565b600081519050620003e5816200056b565b92915050565b600060208284031215620003fe57600080fd5b60006200040e84828501620003d4565b91505092915050565b6200042281620004f0565b82525050565b620004338162000504565b82525050565b600062000448600e83620004df565b9150620004558262000542565b602082019050919050565b600060a08201905062000477600083018862000428565b62000486602083018762000428565b62000495604083018662000428565b620004a4606083018562000417565b620004b3608083018462000428565b9695505050505050565b60006020820190508181036000830152620004d88162000439565b9050919050565b600082825260208201905092915050565b6000620004fd8262000522565b9050919050565b6000819050919050565b60006200051b82620004f0565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b7f616c726561647920696e69746564000000000000000000000000000000000000600082015250565b62000576816200050e565b81146200058257600080fd5b50565b60805160601c612027620005b2600039600081816102ca0152818161081f0152610a0401526120276000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c80638da5cb5b116100715780638da5cb5b14610140578063a424e5751461015e578063b13996c61461018e578063d3223460146101aa578063f2fde38b146101da578063fc0c546a146101f6576100a9565b806320379ee5146100ae5780632d0335ab146100cc5780633408e470146100fc5780636e27d8891461011a578063715018a614610136575b600080fd5b6100b6610214565b6040516100c391906117d9565b60405180910390f35b6100e660048036038101906100e1919061120b565b61021e565b6040516100f391906119fd565b60405180910390f35b610104610267565b60405161011191906119fd565b60405180910390f35b610134600480360381019061012f9190611380565b610274565b005b61013e610368565b005b6101486103f0565b60405161015591906116f0565b60405180910390f35b610178600480360381019061017391906112c4565b61041a565b604051610185919061187e565b60405180910390f35b6101a860048036038101906101a39190611234565b6106a5565b005b6101c460048036038101906101bf919061133f565b6108d4565b6040516101d191906117be565b60405180910390f35b6101f460048036038101906101ef919061120b565b61090a565b005b6101fe610a02565b60405161020b91906118a0565b60405180910390f35b6000600254905090565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000804690508091505090565b600260005414156102ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102b1906119dd565b60405180910390fd5b600260008190555061030f3330837f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16610ad7909392919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f625fed9875dada8643f2418b838ae0bc78d9a148a18eee4ee1979ff0f3f5d4278260405161035591906119fd565b60405180910390a2600160008190555050565b610370610b60565b73ffffffffffffffffffffffffffffffffffffffff1661038e6103f0565b73ffffffffffffffffffffffffffffffffffffffff16146103e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103db9061193d565b60405180910390fd5b6103ee6000610b6f565b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060006040518060600160405280600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020013373ffffffffffffffffffffffffffffffffffffffff1681526020018781525090506104a461049b6103f0565b82878787610c35565b6104e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104da9061195d565b60405180910390fd5b6001600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461052f9190611aed565b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000803073ffffffffffffffffffffffffffffffffffffffff16886105956103f0565b6040516020016105a692919061167a565b6040516020818303038152906040526040516105c29190611663565b6000604051808303816000865af19150503d80600081146105ff576040519150601f19603f3d011682016040523d82523d6000602084013e610604565b606091505b50915091506000819050828190610651576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161064891906118bb565b60405180910390fd5b507fba6fc6ba916c344479c252b0878d405b4fa823b03117a50a4fa29d95f3b48bc061067b6103f0565b338b8560405161068e949392919061170b565b60405180910390a181945050505050949350505050565b6106ad610b60565b73ffffffffffffffffffffffffffffffffffffffff166106cb6103f0565b73ffffffffffffffffffffffffffffffffffffffff1614610721576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107189061193d565b60405180910390fd5b60026000541415610767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075e906119dd565b60405180910390fd5b60026000819055506000151560058260405161078391906116a2565b908152602001604051809103902060009054906101000a900460ff161515146107e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d89061197d565b60405180910390fd5b60016005826040516107f391906116a2565b908152602001604051809103902060006101000a81548160ff02191690831515021790555061086383837f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16610d3e9092919063ffffffff16565b8060405161087191906116a2565b60405180910390208373ffffffffffffffffffffffffffffffffffffffff167fc1bbd3f894b00b67a83ffe6a4f03d5b4a6385cf720e99eede61ff86788e42c1d846040516108bf91906119fd565b60405180910390a36001600081905550505050565b6005818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b610912610b60565b73ffffffffffffffffffffffffffffffffffffffff166109306103f0565b73ffffffffffffffffffffffffffffffffffffffff1614610986576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097d9061193d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156109f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ed906118dd565b60405180910390fd5b6109ff81610b6f565b50565b7f000000000000000000000000000000000000000000000000000000000000000081565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415610ad057600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff818301511692505050610ad4565b3390505b90565b610b5a846323b872dd60e01b858585604051602401610af89392919061175e565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610dc4565b50505050565b6000610b6a610a26565b905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161415610ca6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9d9061191d565b60405180910390fd5b6001610cb9610cb487610e8b565b610ef3565b83868660405160008152602001604052604051610cd99493929190611839565b6020604051602081039080840390855afa158015610cfb573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b610dbf8363a9059cbb60e01b8484604051602401610d5d929190611795565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610dc4565b505050565b6000610e26826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610f2c9092919063ffffffff16565b9050600081511115610e865780806020019051810190610e46919061129b565b610e85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7c906119bd565b60405180910390fd5b5b505050565b6000604051806080016040528060438152602001611faf604391398051906020012082600001518360200151846040015180519060200120604051602001610ed694939291906117f4565b604051602081830303815290604052805190602001209050919050565b6000610efd610214565b82604051602001610f0f9291906116b9565b604051602081830303815290604052805190602001209050919050565b6060610f3b8484600085610f44565b90509392505050565b606082471015610f89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f80906118fd565b60405180910390fd5b610f9285611058565b610fd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc89061199d565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051610ffa9190611663565b60006040518083038185875af1925050503d8060008114611037576040519150601f19603f3d011682016040523d82523d6000602084013e61103c565b606091505b509150915061104c82828661106b565b92505050949350505050565b600080823b905060008111915050919050565b6060831561107b578290506110cb565b60008351111561108e5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c291906118bb565b60405180910390fd5b9392505050565b60006110e56110e084611a3d565b611a18565b9050828152602081018484840111156110fd57600080fd5b611108848285611bc6565b509392505050565b600061112361111e84611a6e565b611a18565b90508281526020810184848401111561113b57600080fd5b611146848285611bc6565b509392505050565b60008135905061115d81611f3b565b92915050565b60008151905061117281611f52565b92915050565b60008135905061118781611f69565b92915050565b600082601f83011261119e57600080fd5b81356111ae8482602086016110d2565b91505092915050565b600082601f8301126111c857600080fd5b81356111d8848260208601611110565b91505092915050565b6000813590506111f081611f80565b92915050565b60008135905061120581611f97565b92915050565b60006020828403121561121d57600080fd5b600061122b8482850161114e565b91505092915050565b60008060006060848603121561124957600080fd5b60006112578682870161114e565b9350506020611268868287016111e1565b925050604084013567ffffffffffffffff81111561128557600080fd5b611291868287016111b7565b9150509250925092565b6000602082840312156112ad57600080fd5b60006112bb84828501611163565b91505092915050565b600080600080608085870312156112da57600080fd5b600085013567ffffffffffffffff8111156112f457600080fd5b6113008782880161118d565b945050602061131187828801611178565b935050604061132287828801611178565b9250506060611333878288016111f6565b91505092959194509250565b60006020828403121561135157600080fd5b600082013567ffffffffffffffff81111561136b57600080fd5b611377848285016111b7565b91505092915050565b60006020828403121561139257600080fd5b60006113a0848285016111e1565b91505092915050565b6113b281611b43565b82525050565b6113c96113c482611b43565b611c39565b82525050565b6113d881611b55565b82525050565b6113e781611b61565b82525050565b6113fe6113f982611b61565b611c4b565b82525050565b600061140f82611a9f565b6114198185611ab5565b9350611429818560208601611bd5565b61143281611cc5565b840191505092915050565b600061144882611a9f565b6114528185611ac6565b9350611462818560208601611bd5565b80840191505092915050565b61147781611ba2565b82525050565b600061148882611aaa565b6114928185611ad1565b93506114a2818560208601611bd5565b6114ab81611cc5565b840191505092915050565b60006114c182611aaa565b6114cb8185611ae2565b93506114db818560208601611bd5565b80840191505092915050565b60006114f4602683611ad1565b91506114ff82611ce3565b604082019050919050565b6000611517600283611ae2565b915061152282611d32565b600282019050919050565b600061153a602683611ad1565b915061154582611d5b565b604082019050919050565b600061155d602583611ad1565b915061156882611daa565b604082019050919050565b6000611580602083611ad1565b915061158b82611df9565b602082019050919050565b60006115a3602183611ad1565b91506115ae82611e22565b604082019050919050565b60006115c6601b83611ad1565b91506115d182611e71565b602082019050919050565b60006115e9601d83611ad1565b91506115f482611e9a565b602082019050919050565b600061160c602a83611ad1565b915061161782611ec3565b604082019050919050565b600061162f601f83611ad1565b915061163a82611f12565b602082019050919050565b61164e81611b8b565b82525050565b61165d81611b95565b82525050565b600061166f828461143d565b915081905092915050565b6000611686828561143d565b915061169282846113b8565b6014820191508190509392505050565b60006116ae82846114b6565b915081905092915050565b60006116c48261150a565b91506116d082856113ed565b6020820191506116e082846113ed565b6020820191508190509392505050565b600060208201905061170560008301846113a9565b92915050565b600060808201905061172060008301876113a9565b61172d60208301866113a9565b818103604083015261173f8185611404565b905081810360608301526117538184611404565b905095945050505050565b600060608201905061177360008301866113a9565b61178060208301856113a9565b61178d6040830184611645565b949350505050565b60006040820190506117aa60008301856113a9565b6117b76020830184611645565b9392505050565b60006020820190506117d360008301846113cf565b92915050565b60006020820190506117ee60008301846113de565b92915050565b600060808201905061180960008301876113de565b6118166020830186611645565b61182360408301856113a9565b61183060608301846113de565b95945050505050565b600060808201905061184e60008301876113de565b61185b6020830186611654565b61186860408301856113de565b61187560608301846113de565b95945050505050565b600060208201905081810360008301526118988184611404565b905092915050565b60006020820190506118b5600083018461146e565b92915050565b600060208201905081810360008301526118d5818461147d565b905092915050565b600060208201905081810360008301526118f6816114e7565b9050919050565b600060208201905081810360008301526119168161152d565b9050919050565b6000602082019050818103600083015261193681611550565b9050919050565b6000602082019050818103600083015261195681611573565b9050919050565b6000602082019050818103600083015261197681611596565b9050919050565b60006020820190508181036000830152611996816115b9565b9050919050565b600060208201905081810360008301526119b6816115dc565b9050919050565b600060208201905081810360008301526119d6816115ff565b9050919050565b600060208201905081810360008301526119f681611622565b9050919050565b6000602082019050611a126000830184611645565b92915050565b6000611a22611a33565b9050611a2e8282611c08565b919050565b6000604051905090565b600067ffffffffffffffff821115611a5857611a57611c96565b5b611a6182611cc5565b9050602081019050919050565b600067ffffffffffffffff821115611a8957611a88611c96565b5b611a9282611cc5565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000611af882611b8b565b9150611b0383611b8b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611b3857611b37611c67565b5b828201905092915050565b6000611b4e82611b6b565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000611bad82611bb4565b9050919050565b6000611bbf82611b6b565b9050919050565b82818337600083830152505050565b60005b83811015611bf3578082015181840152602081019050611bd8565b83811115611c02576000848401525b50505050565b611c1182611cc5565b810181811067ffffffffffffffff82111715611c3057611c2f611c96565b5b80604052505050565b6000611c4482611c55565b9050919050565b6000819050919050565b6000611c6082611cd6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008201527f49474e4552000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008201527f6800000000000000000000000000000000000000000000000000000000000000602082015250565b7f4275726e205478204861736820616c7265616479206578697374730000000000600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b611f4481611b43565b8114611f4f57600080fd5b50565b611f5b81611b55565b8114611f6657600080fd5b50565b611f7281611b61565b8114611f7d57600080fd5b50565b611f8981611b8b565b8114611f9457600080fd5b50565b611fa081611b95565b8114611fab57600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a2646970667358221220081211ef53475d21c70387b94f203c819fb4bac17f9b91df050f14d752f253ec64736f6c63430008040033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c74290000000000000000000000008d3e855f3f55109d473735ab76f753218400fe96
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100a95760003560e01c80638da5cb5b116100715780638da5cb5b14610140578063a424e5751461015e578063b13996c61461018e578063d3223460146101aa578063f2fde38b146101da578063fc0c546a146101f6576100a9565b806320379ee5146100ae5780632d0335ab146100cc5780633408e470146100fc5780636e27d8891461011a578063715018a614610136575b600080fd5b6100b6610214565b6040516100c391906117d9565b60405180910390f35b6100e660048036038101906100e1919061120b565b61021e565b6040516100f391906119fd565b60405180910390f35b610104610267565b60405161011191906119fd565b60405180910390f35b610134600480360381019061012f9190611380565b610274565b005b61013e610368565b005b6101486103f0565b60405161015591906116f0565b60405180910390f35b610178600480360381019061017391906112c4565b61041a565b604051610185919061187e565b60405180910390f35b6101a860048036038101906101a39190611234565b6106a5565b005b6101c460048036038101906101bf919061133f565b6108d4565b6040516101d191906117be565b60405180910390f35b6101f460048036038101906101ef919061120b565b61090a565b005b6101fe610a02565b60405161020b91906118a0565b60405180910390f35b6000600254905090565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000804690508091505090565b600260005414156102ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102b1906119dd565b60405180910390fd5b600260008190555061030f3330837f0000000000000000000000008d3e855f3f55109d473735ab76f753218400fe9673ffffffffffffffffffffffffffffffffffffffff16610ad7909392919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f625fed9875dada8643f2418b838ae0bc78d9a148a18eee4ee1979ff0f3f5d4278260405161035591906119fd565b60405180910390a2600160008190555050565b610370610b60565b73ffffffffffffffffffffffffffffffffffffffff1661038e6103f0565b73ffffffffffffffffffffffffffffffffffffffff16146103e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103db9061193d565b60405180910390fd5b6103ee6000610b6f565b565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060006040518060600160405280600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205481526020013373ffffffffffffffffffffffffffffffffffffffff1681526020018781525090506104a461049b6103f0565b82878787610c35565b6104e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104da9061195d565b60405180910390fd5b6001600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461052f9190611aed565b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000803073ffffffffffffffffffffffffffffffffffffffff16886105956103f0565b6040516020016105a692919061167a565b6040516020818303038152906040526040516105c29190611663565b6000604051808303816000865af19150503d80600081146105ff576040519150601f19603f3d011682016040523d82523d6000602084013e610604565b606091505b50915091506000819050828190610651576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161064891906118bb565b60405180910390fd5b507fba6fc6ba916c344479c252b0878d405b4fa823b03117a50a4fa29d95f3b48bc061067b6103f0565b338b8560405161068e949392919061170b565b60405180910390a181945050505050949350505050565b6106ad610b60565b73ffffffffffffffffffffffffffffffffffffffff166106cb6103f0565b73ffffffffffffffffffffffffffffffffffffffff1614610721576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107189061193d565b60405180910390fd5b60026000541415610767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161075e906119dd565b60405180910390fd5b60026000819055506000151560058260405161078391906116a2565b908152602001604051809103902060009054906101000a900460ff161515146107e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107d89061197d565b60405180910390fd5b60016005826040516107f391906116a2565b908152602001604051809103902060006101000a81548160ff02191690831515021790555061086383837f0000000000000000000000008d3e855f3f55109d473735ab76f753218400fe9673ffffffffffffffffffffffffffffffffffffffff16610d3e9092919063ffffffff16565b8060405161087191906116a2565b60405180910390208373ffffffffffffffffffffffffffffffffffffffff167fc1bbd3f894b00b67a83ffe6a4f03d5b4a6385cf720e99eede61ff86788e42c1d846040516108bf91906119fd565b60405180910390a36001600081905550505050565b6005818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b610912610b60565b73ffffffffffffffffffffffffffffffffffffffff166109306103f0565b73ffffffffffffffffffffffffffffffffffffffff1614610986576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161097d9061193d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156109f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109ed906118dd565b60405180910390fd5b6109ff81610b6f565b50565b7f0000000000000000000000008d3e855f3f55109d473735ab76f753218400fe9681565b60003073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415610ad057600080368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509050600080369050905073ffffffffffffffffffffffffffffffffffffffff818301511692505050610ad4565b3390505b90565b610b5a846323b872dd60e01b858585604051602401610af89392919061175e565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610dc4565b50505050565b6000610b6a610a26565b905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff161415610ca6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9d9061191d565b60405180910390fd5b6001610cb9610cb487610e8b565b610ef3565b83868660405160008152602001604052604051610cd99493929190611839565b6020604051602081039080840390855afa158015610cfb573d6000803e3d6000fd5b5050506020604051035173ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905095945050505050565b610dbf8363a9059cbb60e01b8484604051602401610d5d929190611795565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610dc4565b505050565b6000610e26826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16610f2c9092919063ffffffff16565b9050600081511115610e865780806020019051810190610e46919061129b565b610e85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7c906119bd565b60405180910390fd5b5b505050565b6000604051806080016040528060438152602001611faf604391398051906020012082600001518360200151846040015180519060200120604051602001610ed694939291906117f4565b604051602081830303815290604052805190602001209050919050565b6000610efd610214565b82604051602001610f0f9291906116b9565b604051602081830303815290604052805190602001209050919050565b6060610f3b8484600085610f44565b90509392505050565b606082471015610f89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f80906118fd565b60405180910390fd5b610f9285611058565b610fd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc89061199d565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051610ffa9190611663565b60006040518083038185875af1925050503d8060008114611037576040519150601f19603f3d011682016040523d82523d6000602084013e61103c565b606091505b509150915061104c82828661106b565b92505050949350505050565b600080823b905060008111915050919050565b6060831561107b578290506110cb565b60008351111561108e5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110c291906118bb565b60405180910390fd5b9392505050565b60006110e56110e084611a3d565b611a18565b9050828152602081018484840111156110fd57600080fd5b611108848285611bc6565b509392505050565b600061112361111e84611a6e565b611a18565b90508281526020810184848401111561113b57600080fd5b611146848285611bc6565b509392505050565b60008135905061115d81611f3b565b92915050565b60008151905061117281611f52565b92915050565b60008135905061118781611f69565b92915050565b600082601f83011261119e57600080fd5b81356111ae8482602086016110d2565b91505092915050565b600082601f8301126111c857600080fd5b81356111d8848260208601611110565b91505092915050565b6000813590506111f081611f80565b92915050565b60008135905061120581611f97565b92915050565b60006020828403121561121d57600080fd5b600061122b8482850161114e565b91505092915050565b60008060006060848603121561124957600080fd5b60006112578682870161114e565b9350506020611268868287016111e1565b925050604084013567ffffffffffffffff81111561128557600080fd5b611291868287016111b7565b9150509250925092565b6000602082840312156112ad57600080fd5b60006112bb84828501611163565b91505092915050565b600080600080608085870312156112da57600080fd5b600085013567ffffffffffffffff8111156112f457600080fd5b6113008782880161118d565b945050602061131187828801611178565b935050604061132287828801611178565b9250506060611333878288016111f6565b91505092959194509250565b60006020828403121561135157600080fd5b600082013567ffffffffffffffff81111561136b57600080fd5b611377848285016111b7565b91505092915050565b60006020828403121561139257600080fd5b60006113a0848285016111e1565b91505092915050565b6113b281611b43565b82525050565b6113c96113c482611b43565b611c39565b82525050565b6113d881611b55565b82525050565b6113e781611b61565b82525050565b6113fe6113f982611b61565b611c4b565b82525050565b600061140f82611a9f565b6114198185611ab5565b9350611429818560208601611bd5565b61143281611cc5565b840191505092915050565b600061144882611a9f565b6114528185611ac6565b9350611462818560208601611bd5565b80840191505092915050565b61147781611ba2565b82525050565b600061148882611aaa565b6114928185611ad1565b93506114a2818560208601611bd5565b6114ab81611cc5565b840191505092915050565b60006114c182611aaa565b6114cb8185611ae2565b93506114db818560208601611bd5565b80840191505092915050565b60006114f4602683611ad1565b91506114ff82611ce3565b604082019050919050565b6000611517600283611ae2565b915061152282611d32565b600282019050919050565b600061153a602683611ad1565b915061154582611d5b565b604082019050919050565b600061155d602583611ad1565b915061156882611daa565b604082019050919050565b6000611580602083611ad1565b915061158b82611df9565b602082019050919050565b60006115a3602183611ad1565b91506115ae82611e22565b604082019050919050565b60006115c6601b83611ad1565b91506115d182611e71565b602082019050919050565b60006115e9601d83611ad1565b91506115f482611e9a565b602082019050919050565b600061160c602a83611ad1565b915061161782611ec3565b604082019050919050565b600061162f601f83611ad1565b915061163a82611f12565b602082019050919050565b61164e81611b8b565b82525050565b61165d81611b95565b82525050565b600061166f828461143d565b915081905092915050565b6000611686828561143d565b915061169282846113b8565b6014820191508190509392505050565b60006116ae82846114b6565b915081905092915050565b60006116c48261150a565b91506116d082856113ed565b6020820191506116e082846113ed565b6020820191508190509392505050565b600060208201905061170560008301846113a9565b92915050565b600060808201905061172060008301876113a9565b61172d60208301866113a9565b818103604083015261173f8185611404565b905081810360608301526117538184611404565b905095945050505050565b600060608201905061177360008301866113a9565b61178060208301856113a9565b61178d6040830184611645565b949350505050565b60006040820190506117aa60008301856113a9565b6117b76020830184611645565b9392505050565b60006020820190506117d360008301846113cf565b92915050565b60006020820190506117ee60008301846113de565b92915050565b600060808201905061180960008301876113de565b6118166020830186611645565b61182360408301856113a9565b61183060608301846113de565b95945050505050565b600060808201905061184e60008301876113de565b61185b6020830186611654565b61186860408301856113de565b61187560608301846113de565b95945050505050565b600060208201905081810360008301526118988184611404565b905092915050565b60006020820190506118b5600083018461146e565b92915050565b600060208201905081810360008301526118d5818461147d565b905092915050565b600060208201905081810360008301526118f6816114e7565b9050919050565b600060208201905081810360008301526119168161152d565b9050919050565b6000602082019050818103600083015261193681611550565b9050919050565b6000602082019050818103600083015261195681611573565b9050919050565b6000602082019050818103600083015261197681611596565b9050919050565b60006020820190508181036000830152611996816115b9565b9050919050565b600060208201905081810360008301526119b6816115dc565b9050919050565b600060208201905081810360008301526119d6816115ff565b9050919050565b600060208201905081810360008301526119f681611622565b9050919050565b6000602082019050611a126000830184611645565b92915050565b6000611a22611a33565b9050611a2e8282611c08565b919050565b6000604051905090565b600067ffffffffffffffff821115611a5857611a57611c96565b5b611a6182611cc5565b9050602081019050919050565b600067ffffffffffffffff821115611a8957611a88611c96565b5b611a9282611cc5565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000611af882611b8b565b9150611b0383611b8b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115611b3857611b37611c67565b5b828201905092915050565b6000611b4e82611b6b565b9050919050565b60008115159050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000611bad82611bb4565b9050919050565b6000611bbf82611b6b565b9050919050565b82818337600083830152505050565b60005b83811015611bf3578082015181840152602081019050611bd8565b83811115611c02576000848401525b50505050565b611c1182611cc5565b810181811067ffffffffffffffff82111715611c3057611c2f611c96565b5b80604052505050565b6000611c4482611c55565b9050919050565b6000819050919050565b6000611c6082611cd6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f4e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5360008201527f49474e4552000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f5369676e657220616e64207369676e617475726520646f206e6f74206d61746360008201527f6800000000000000000000000000000000000000000000000000000000000000602082015250565b7f4275726e205478204861736820616c7265616479206578697374730000000000600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b611f4481611b43565b8114611f4f57600080fd5b50565b611f5b81611b55565b8114611f6657600080fd5b50565b611f7281611b61565b8114611f7d57600080fd5b50565b611f8981611b8b565b8114611f9457600080fd5b50565b611fa081611b95565b8114611fab57600080fd5b5056fe4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e617475726529a2646970667358221220081211ef53475d21c70387b94f203c819fb4bac17f9b91df050f14d752f253ec64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000008d3e855f3f55109d473735ab76f753218400fe96
-----Decoded View---------------
Arg [0] : _token (address): 0x8D3E855f3f55109D473735aB76F753218400fe96
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000008d3e855f3f55109d473735ab76f753218400fe96
Loading...
Loading
Loading...
Loading
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.