Transactions
Token Transfers
Tokens
Internal Transactions
Coin Balance History
Logs
Code
Read Contract
Write Contract
Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
- Contract name:
- GDVestingWallet
- Optimization enabled
- true
- Compiler version
- v0.8.24+commit.e11b9ed9
- Optimization runs
- 200
- EVM Version
- cancun
- Verified at
- 2025-02-24T14:35:00.279048Z
Constructor Arguments
0x0000000000000000000000000eabf561f9a6c611caa9c0b766b9224d7467ef1b0000000000000000000000000000000000000000000000000000000067bc822d0000000000000000000000000000000000000000000000000000000005a39a8000000000000000000000000000000000000000000000000000000000004f1a00
Arg [0] (address) : 0x0eabf561f9a6c611caa9c0b766b9224d7467ef1b
Arg [1] (uint64) : 1740407341
Arg [2] (uint64) : 94608000
Arg [3] (uint64) : 5184000
contracts/GDVestingWallet.sol
// SPDX-License-Identifier: MIT/***Submitted for verification at scan.dbkchain.io on 2025-02-24*/pragma solidity ^0.8.20;import "./finance/VestingWalletCliff.sol";contract GDVestingWallet is VestingWalletCliff {constructor(address beneficiary,uint64 startTimestamp,uint64 durationSeconds,uint64 cliffSeconds) VestingWallet(beneficiary, startTimestamp, durationSeconds) VestingWalletCliff(cliffSeconds) {}}
contracts/access/Ownable.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)pragma solidity ^0.8.20;import {Context} from "../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.** The initial owner is set to the address provided by the deployer. 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;/*** @dev The caller account is not authorized to perform an operation.*/error OwnableUnauthorizedAccount(address account);/*** @dev The owner is not a valid owner account. (eg. `address(0)`)*/error OwnableInvalidOwner(address owner);event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);/*** @dev Initializes the contract setting the address provided by the deployer as the initial owner.*/constructor(address initialOwner) {if (initialOwner == address(0)) {revert OwnableInvalidOwner(address(0));}
contracts/finance/VestingWallet.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (finance/VestingWallet.sol)pragma solidity ^0.8.20;import {IERC20} from "../token/ERC20/IERC20.sol";import {SafeERC20} from "../token/ERC20/utils/SafeERC20.sol";import {Address} from "../utils/Address.sol";import {Context} from "../utils/Context.sol";import {Ownable} from "../access/Ownable.sol";/*** @dev A vesting wallet is an ownable contract that can receive native currency and ERC-20 tokens, and release these* assets to the wallet owner, also referred to as "beneficiary", according to a vesting schedule.** Any assets transferred to this contract will follow the vesting schedule as if they were locked from the beginning.* Consequently, if the vesting has already started, any amount of tokens sent to this contract will (at least partly)* be immediately releasable.** By setting the duration to 0, one can configure this contract to behave like an asset timelock that hold tokens for* a beneficiary until a specified time.** NOTE: Since the wallet is {Ownable}, and ownership can be transferred, it is possible to sell unvested tokens.* Preventing this in a smart contract is difficult, considering that: 1) a beneficiary address could be a* counterfactually deployed contract, 2) there is likely to be a migration path for EOAs to become contracts in the* near future.** NOTE: When using this contract with any token whose balance is adjusted automatically (i.e. a rebase token), make* sure to account the supply/balance adjustment in the vesting schedule to ensure the vested amount is as intended.** NOTE: Chains with support for native ERC20s may allow the vesting wallet to withdraw the underlying asset as both an* ERC20 and as native currency. For example, if chain C supports token A and the wallet gets deposited 100 A, then* at 50% of the vesting period, the beneficiary can withdraw 50 A as ERC20 and 25 A as native currency (totaling 75 A).* Consider disabling one of the withdrawal methods.*/contract VestingWallet is Context, Ownable {event EtherReleased(uint256 amount);event ERC20Released(address indexed token, uint256 amount);uint256 private _released;mapping(address token => uint256) private _erc20Released;uint64 private immutable _start;
contracts/finance/VestingWalletCliff.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (finance/VestingWalletCliff.sol)pragma solidity ^0.8.20;import {SafeCast} from "../utils/math/SafeCast.sol";import {VestingWallet} from "./VestingWallet.sol";/*** @dev Extension of {VestingWallet} that adds a cliff to the vesting schedule.** _Available since v5.1._*/abstract contract VestingWalletCliff is VestingWallet {using SafeCast for *;uint64 private immutable _cliff;/// @dev The specified cliff duration is larger than the vesting duration.error InvalidCliffDuration(uint64 cliffSeconds, uint64 durationSeconds);/*** @dev Set the duration of the cliff, in seconds. The cliff starts vesting schedule (see {VestingWallet}'s* constructor) and ends `cliffSeconds` later.*/constructor(uint64 cliffSeconds) {if (cliffSeconds > duration()) {revert InvalidCliffDuration(cliffSeconds, duration().toUint64());}_cliff = start().toUint64() + cliffSeconds;}/*** @dev Getter for the cliff timestamp.*/function cliff() public view virtual returns (uint256) {return _cliff;}/*** @dev Virtual implementation of the vesting formula. This returns the amount vested, as a function of time, for
contracts/interfaces/IERC1363.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/IERC1363.sol)pragma solidity ^0.8.20;import {IERC20} from "./IERC20.sol";import {IERC165} from "./IERC165.sol";/*** @title IERC1363* @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].** Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract* after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.*/interface IERC1363 is IERC20, IERC165 {/** Note: the ERC-165 identifier for this interface is 0xb0202a11.* 0xb0202a11 ===* bytes4(keccak256('transferAndCall(address,uint256)')) ^* bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^* bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^* bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^* bytes4(keccak256('approveAndCall(address,uint256)')) ^* bytes4(keccak256('approveAndCall(address,uint256,bytes)'))*//*** @dev Moves a `value` amount of tokens from the caller's account to `to`* and then calls {IERC1363Receiver-onTransferReceived} on `to`.* @param to The address which you want to transfer to.* @param value The amount of tokens to be transferred.* @return A boolean value indicating whether the operation succeeded unless throwing.*/function transferAndCall(address to, uint256 value) external returns (bool);/*** @dev Moves a `value` amount of tokens from the caller's account to `to`* and then calls {IERC1363Receiver-onTransferReceived} on `to`.* @param to The address which you want to transfer to.* @param value The amount of tokens to be transferred.
contracts/interfaces/IERC165.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC165.sol)pragma solidity ^0.8.20;import {IERC165} from "../utils/introspection/IERC165.sol";
contracts/interfaces/IERC20.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC20.sol)pragma solidity ^0.8.20;import {IERC20} from "../token/ERC20/IERC20.sol";
contracts/token/ERC20/IERC20.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/IERC20.sol)pragma solidity ^0.8.20;/*** @dev Interface of the ERC-20 standard as defined in the ERC.*/interface IERC20 {/*** @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);/*** @dev Returns the value of tokens in existence.*/function totalSupply() external view returns (uint256);/*** @dev Returns the value of tokens owned by `account`.*/function balanceOf(address account) external view returns (uint256);/*** @dev Moves a `value` amount of tokens from the caller's account to `to`.** Returns a boolean value indicating whether the operation succeeded.** Emits a {Transfer} event.*/function transfer(address to, uint256 value) external returns (bool);
contracts/token/ERC20/utils/SafeERC20.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (token/ERC20/utils/SafeERC20.sol)pragma solidity ^0.8.20;import {IERC20} from "../IERC20.sol";import {IERC1363} from "../../../interfaces/IERC1363.sol";/*** @title SafeERC20* @dev Wrappers around ERC-20 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 {/*** @dev An operation with an ERC-20 token failed.*/error SafeERC20FailedOperation(address token);/*** @dev Indicates a failed `decreaseAllowance` request.*/error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);/*** @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,* non-reverting calls are assumed to be successful.*/function safeTransfer(IERC20 token, address to, uint256 value) internal {_callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));}/*** @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the* calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.*/function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
contracts/utils/Address.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (utils/Address.sol)pragma solidity ^0.8.20;import {Errors} from "./Errors.sol";/*** @dev Collection of functions related to the address type*/library Address {/*** @dev There's no code at `target` (it is not a contract).*/error AddressEmptyCode(address target);/*** @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://consensys.net/diligence/blog/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.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].*/function sendValue(address payable recipient, uint256 amount) internal {if (address(this).balance < amount) {revert Errors.InsufficientBalance(address(this).balance, amount);}(bool success, bytes memory returndata) = recipient.call{value: amount}("");if (!success) {_revert(returndata);}
contracts/utils/Context.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)pragma solidity ^0.8.20;/*** @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;}function _contextSuffixLength() internal view virtual returns (uint256) {return 0;}}
contracts/utils/Errors.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (utils/Errors.sol)pragma solidity ^0.8.20;/*** @dev Collection of common custom errors used in multiple contracts** IMPORTANT: Backwards compatibility is not guaranteed in future versions of the library.* It is recommended to avoid relying on the error API for critical functionality.** _Available since v5.1._*/library Errors {/*** @dev The ETH balance of the account is not enough to perform the operation.*/error InsufficientBalance(uint256 balance, uint256 needed);/*** @dev A call to an address target failed. The target may have reverted.*/error FailedCall();/*** @dev The deployment failed.*/error FailedDeployment();/*** @dev A necessary precompile is missing.*/error MissingPrecompile(address);}
contracts/utils/introspection/IERC165.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (utils/introspection/IERC165.sol)pragma solidity ^0.8.20;/*** @dev Interface of the ERC-165 standard, as defined in the* https://eips.ethereum.org/EIPS/eip-165[ERC].** Implementers can declare support of contract interfaces, which can then be* queried by others ({ERC165Checker}).** For an implementation, see {ERC165}.*/interface IERC165 {/*** @dev Returns true if this contract implements the interface defined by* `interfaceId`. See the corresponding* https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]* to learn more about how these ids are created.** This function call must use less than 30 000 gas.*/function supportsInterface(bytes4 interfaceId) external view returns (bool);}
contracts/utils/math/SafeCast.sol
// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.1.0) (utils/math/SafeCast.sol)// This file was procedurally generated from scripts/generate/templates/SafeCast.js.pragma solidity ^0.8.20;/*** @dev Wrappers over Solidity's uintXX/intXX/bool casting operators with added overflow* checks.** Downcasting from uint256/int256 in Solidity does not revert on overflow. This can* easily result in undesired exploitation or bugs, since developers usually* assume that overflows raise errors. `SafeCast` restores this intuition by* reverting the transaction when such an operation overflows.** Using this library instead of the unchecked operations eliminates an entire* class of bugs, so it's recommended to use it always.*/library SafeCast {/*** @dev Value doesn't fit in an uint of `bits` size.*/error SafeCastOverflowedUintDowncast(uint8 bits, uint256 value);/*** @dev An int value doesn't fit in an uint of `bits` size.*/error SafeCastOverflowedIntToUint(int256 value);/*** @dev Value doesn't fit in an int of `bits` size.*/error SafeCastOverflowedIntDowncast(uint8 bits, int256 value);/*** @dev An uint value doesn't fit in an int of `bits` size.*/error SafeCastOverflowedUintToInt(uint256 value);/*** @dev Returns the downcasted uint248 from uint256, reverting on
Compiler Settings
{"viaIR":false,"outputSelection":{"*":{"*":["storageLayout","abi","evm.bytecode","evm.deployedBytecode","evm.methodIdentifiers","metadata"],"":["ast"]}},"optimizer":{"runs":200,"enabled":true},"libraries":{},"evmVersion":"cancun"}
Contract ABI
[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"address","name":"beneficiary","internalType":"address"},{"type":"uint64","name":"startTimestamp","internalType":"uint64"},{"type":"uint64","name":"durationSeconds","internalType":"uint64"},{"type":"uint64","name":"cliffSeconds","internalType":"uint64"}]},{"type":"error","name":"FailedCall","inputs":[]},{"type":"error","name":"InsufficientBalance","inputs":[{"type":"uint256","name":"balance","internalType":"uint256"},{"type":"uint256","name":"needed","internalType":"uint256"}]},{"type":"error","name":"InvalidCliffDuration","inputs":[{"type":"uint64","name":"cliffSeconds","internalType":"uint64"},{"type":"uint64","name":"durationSeconds","internalType":"uint64"}]},{"type":"error","name":"OwnableInvalidOwner","inputs":[{"type":"address","name":"owner","internalType":"address"}]},{"type":"error","name":"OwnableUnauthorizedAccount","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"error","name":"SafeCastOverflowedUintDowncast","inputs":[{"type":"uint8","name":"bits","internalType":"uint8"},{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"error","name":"SafeERC20FailedOperation","inputs":[{"type":"address","name":"token","internalType":"address"}]},{"type":"event","name":"ERC20Released","inputs":[{"type":"address","name":"token","internalType":"address","indexed":true},{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"EtherReleased","inputs":[{"type":"uint256","name":"amount","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"cliff","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"duration","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"end","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"releasable","inputs":[{"type":"address","name":"token","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"releasable","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"release","inputs":[{"type":"address","name":"token","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"release","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"released","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"released","inputs":[{"type":"address","name":"token","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"start","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"vestedAmount","inputs":[{"type":"uint64","name":"timestamp","internalType":"uint64"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"vestedAmount","inputs":[{"type":"address","name":"token","internalType":"address"},{"type":"uint64","name":"timestamp","internalType":"uint64"}]},{"type":"receive","stateMutability":"payable"}]
Contract Creation Code
0x60e060405234801562000010575f80fd5b5060405162000c9838038062000c988339810160408190526200003391620001c7565b80848484826001600160a01b0381166200006757604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b620000728162000121565b506001600160401b039182166080521660a08190529050816001600160401b03161115620000e55780620000b8620000b260a0516001600160401b031690565b62000170565b6040516303be3ef560e41b81526001600160401b039283166004820152911660248201526044016200005e565b80620000fd620000b26080516001600160401b031690565b6200010991906200022d565b6001600160401b031660c05250620002619350505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f6001600160401b03821115620001a757604080516306dfcc6560e41b81526004810191909152602481018390526044016200005e565b5090565b80516001600160401b0381168114620001c2575f80fd5b919050565b5f805f8060808587031215620001db575f80fd5b84516001600160a01b0381168114620001f2575f80fd5b93506200020260208601620001ab565b92506200021260408601620001ab565b91506200022260608601620001ab565b905092959194509250565b6001600160401b038181168382160190808211156200025a57634e487b7160e01b5f52601160045260245ffd5b5092915050565b60805160a05160c0516109f7620002a15f395f818161016e01526105ba01525f81816101320152818161051b01526107b001525f6104f501526109f75ff3fe6080604052600436106100e7575f3560e01c80638da5cb5b11610087578063be9a655511610057578063be9a655514610291578063efbe1c1c146102a5578063f2fde38b146102b9578063fbccedae146102d8575f80fd5b80638da5cb5b14610204578063961325211461022a5780639852595c1461023e578063a3f8eace14610272575f80fd5b806319165587116100c2578063191655871461019c578063715018a6146101bd578063810ec23b146101d157806386d1a69f146101f0575f80fd5b80630a17b06b146100f25780630fb5a6b41461012457806313d033c014610160575f80fd5b366100ee57005b5f80fd5b3480156100fd575f80fd5b5061011161010c3660046108c1565b6102ec565b6040519081526020015b60405180910390f35b34801561012f575f80fd5b507f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff16610111565b34801561016b575f80fd5b507f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff16610111565b3480156101a7575f80fd5b506101bb6101b63660046108f0565b61030f565b005b3480156101c8575f80fd5b506101bb6103a7565b3480156101dc575f80fd5b506101116101eb366004610909565b6103ba565b3480156101fb575f80fd5b506101bb61044d565b34801561020f575f80fd5b505f546040516001600160a01b03909116815260200161011b565b348015610235575f80fd5b50600154610111565b348015610249575f80fd5b506101116102583660046108f0565b6001600160a01b03165f9081526002602052604090205490565b34801561027d575f80fd5b5061011161028c3660046108f0565b6104be565b34801561029c575f80fd5b506101116104ea565b3480156102b0575f80fd5b50610111610518565b3480156102c4575f80fd5b506101bb6102d33660046108f0565b61055b565b3480156102e3575f80fd5b5061011161059a565b5f6103096102f960015490565b610303904761094e565b836105b7565b92915050565b5f610319826104be565b6001600160a01b0383165f9081526002602052604081208054929350839290919061034590849061094e565b90915550506040518181526001600160a01b038316907fc0e523490dd523c33b1878c9eb14ff46991e3f5b2cd33710918618f2a39cba1b9060200160405180910390a26103a38261039d5f546001600160a01b031690565b8361060a565b5050565b6103af610661565b6103b85f61068d565b565b6001600160a01b0382165f90815260026020526040812054610446906040516370a0823160e01b81523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa158015610418573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061043c9190610961565b610303919061094e565b9392505050565b5f61045661059a565b90508060015f828254610469919061094e565b90915550506040518181527fda9d4e5f101b8b9b1c5b76d0c5a9f7923571acfc02376aa076b75a8c080c956b9060200160405180910390a16104bb6104b55f546001600160a01b031690565b826106dc565b50565b6001600160a01b0381165f908152600260205260408120546104e083426103ba565b6103099190610978565b67ffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001690565b5f7f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff1661054c6104ea565b610556919061094e565b905090565b610563610661565b6001600160a01b03811661059157604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6104bb8161068d565b5f6105a460015490565b6105ad426102ec565b6105569190610978565b5f7f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff168267ffffffffffffffff1610610602576105fd838361076e565b610446565b505f92915050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261065c908490610810565b505050565b5f546001600160a01b031633146103b85760405163118cdaa760e01b8152336004820152602401610588565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b804710156107065760405163cf47918160e01b815247600482015260248101829052604401610588565b5f80836001600160a01b0316836040515f6040518083038185875af1925050503d805f8114610750576040519150601f19603f3d011682016040523d82523d5f602084013e610755565b606091505b509150915081610768576107688161087c565b50505050565b5f6107776104ea565b8267ffffffffffffffff16101561078f57505f610309565b610797610518565b8267ffffffffffffffff16106107ae575081610309565b7f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff166107e16104ea565b6107f59067ffffffffffffffff8516610978565b6107ff908561098b565b61080991906109a2565b9050610309565b5f8060205f8451602086015f885af18061082f576040513d5f823e3d81fd5b50505f513d91508115610846578060011415610853565b6001600160a01b0384163b155b1561076857604051635274afe760e01b81526001600160a01b0385166004820152602401610588565b80511561088c5780518082602001fd5b60405163d6bda27560e01b815260040160405180910390fd5b803567ffffffffffffffff811681146108bc575f80fd5b919050565b5f602082840312156108d1575f80fd5b610446826108a5565b80356001600160a01b03811681146108bc575f80fd5b5f60208284031215610900575f80fd5b610446826108da565b5f806040838503121561091a575f80fd5b610923836108da565b9150610931602084016108a5565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156103095761030961093a565b5f60208284031215610971575f80fd5b5051919050565b818103818111156103095761030961093a565b80820281158282048414176103095761030961093a565b5f826109bc57634e487b7160e01b5f52601260045260245ffd5b50049056fea2646970667358221220f75ca0c7f5fbd0a36038391dbdc05505ce9477cf2cb2584c70b42954892eaa8964736f6c634300081800330000000000000000000000000eabf561f9a6c611caa9c0b766b9224d7467ef1b0000000000000000000000000000000000000000000000000000000067bc822d0000000000000000000000000000000000000000000000000000000005a39a8000000000000000000000000000000000000000000000000000000000004f1a00
Deployed ByteCode
0x6080604052600436106100e7575f3560e01c80638da5cb5b11610087578063be9a655511610057578063be9a655514610291578063efbe1c1c146102a5578063f2fde38b146102b9578063fbccedae146102d8575f80fd5b80638da5cb5b14610204578063961325211461022a5780639852595c1461023e578063a3f8eace14610272575f80fd5b806319165587116100c2578063191655871461019c578063715018a6146101bd578063810ec23b146101d157806386d1a69f146101f0575f80fd5b80630a17b06b146100f25780630fb5a6b41461012457806313d033c014610160575f80fd5b366100ee57005b5f80fd5b3480156100fd575f80fd5b5061011161010c3660046108c1565b6102ec565b6040519081526020015b60405180910390f35b34801561012f575f80fd5b507f0000000000000000000000000000000000000000000000000000000005a39a8067ffffffffffffffff16610111565b34801561016b575f80fd5b507f00000000000000000000000000000000000000000000000000000000680b9c2d67ffffffffffffffff16610111565b3480156101a7575f80fd5b506101bb6101b63660046108f0565b61030f565b005b3480156101c8575f80fd5b506101bb6103a7565b3480156101dc575f80fd5b506101116101eb366004610909565b6103ba565b3480156101fb575f80fd5b506101bb61044d565b34801561020f575f80fd5b505f546040516001600160a01b03909116815260200161011b565b348015610235575f80fd5b50600154610111565b348015610249575f80fd5b506101116102583660046108f0565b6001600160a01b03165f9081526002602052604090205490565b34801561027d575f80fd5b5061011161028c3660046108f0565b6104be565b34801561029c575f80fd5b506101116104ea565b3480156102b0575f80fd5b50610111610518565b3480156102c4575f80fd5b506101bb6102d33660046108f0565b61055b565b3480156102e3575f80fd5b5061011161059a565b5f6103096102f960015490565b610303904761094e565b836105b7565b92915050565b5f610319826104be565b6001600160a01b0383165f9081526002602052604081208054929350839290919061034590849061094e565b90915550506040518181526001600160a01b038316907fc0e523490dd523c33b1878c9eb14ff46991e3f5b2cd33710918618f2a39cba1b9060200160405180910390a26103a38261039d5f546001600160a01b031690565b8361060a565b5050565b6103af610661565b6103b85f61068d565b565b6001600160a01b0382165f90815260026020526040812054610446906040516370a0823160e01b81523060048201526001600160a01b038616906370a0823190602401602060405180830381865afa158015610418573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061043c9190610961565b610303919061094e565b9392505050565b5f61045661059a565b90508060015f828254610469919061094e565b90915550506040518181527fda9d4e5f101b8b9b1c5b76d0c5a9f7923571acfc02376aa076b75a8c080c956b9060200160405180910390a16104bb6104b55f546001600160a01b031690565b826106dc565b50565b6001600160a01b0381165f908152600260205260408120546104e083426103ba565b6103099190610978565b67ffffffffffffffff7f0000000000000000000000000000000000000000000000000000000067bc822d1690565b5f7f0000000000000000000000000000000000000000000000000000000005a39a8067ffffffffffffffff1661054c6104ea565b610556919061094e565b905090565b610563610661565b6001600160a01b03811661059157604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6104bb8161068d565b5f6105a460015490565b6105ad426102ec565b6105569190610978565b5f7f00000000000000000000000000000000000000000000000000000000680b9c2d67ffffffffffffffff168267ffffffffffffffff1610610602576105fd838361076e565b610446565b505f92915050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261065c908490610810565b505050565b5f546001600160a01b031633146103b85760405163118cdaa760e01b8152336004820152602401610588565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b804710156107065760405163cf47918160e01b815247600482015260248101829052604401610588565b5f80836001600160a01b0316836040515f6040518083038185875af1925050503d805f8114610750576040519150601f19603f3d011682016040523d82523d5f602084013e610755565b606091505b509150915081610768576107688161087c565b50505050565b5f6107776104ea565b8267ffffffffffffffff16101561078f57505f610309565b610797610518565b8267ffffffffffffffff16106107ae575081610309565b7f0000000000000000000000000000000000000000000000000000000005a39a8067ffffffffffffffff166107e16104ea565b6107f59067ffffffffffffffff8516610978565b6107ff908561098b565b61080991906109a2565b9050610309565b5f8060205f8451602086015f885af18061082f576040513d5f823e3d81fd5b50505f513d91508115610846578060011415610853565b6001600160a01b0384163b155b1561076857604051635274afe760e01b81526001600160a01b0385166004820152602401610588565b80511561088c5780518082602001fd5b60405163d6bda27560e01b815260040160405180910390fd5b803567ffffffffffffffff811681146108bc575f80fd5b919050565b5f602082840312156108d1575f80fd5b610446826108a5565b80356001600160a01b03811681146108bc575f80fd5b5f60208284031215610900575f80fd5b610446826108da565b5f806040838503121561091a575f80fd5b610923836108da565b9150610931602084016108a5565b90509250929050565b634e487b7160e01b5f52601160045260245ffd5b808201808211156103095761030961093a565b5f60208284031215610971575f80fd5b5051919050565b818103818111156103095761030961093a565b80820281158282048414176103095761030961093a565b5f826109bc57634e487b7160e01b5f52601260045260245ffd5b50049056fea2646970667358221220f75ca0c7f5fbd0a36038391dbdc05505ce9477cf2cb2584c70b42954892eaa8964736f6c63430008180033