Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Latest 8 from a total of 8 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Migrate All | 13961096 | 1059 days ago | IN | 0 ETH | 0.01330078 | ||||
Migrate All | 13488329 | 1133 days ago | IN | 0 ETH | 0.01506834 | ||||
Migrate All | 13471573 | 1136 days ago | IN | 0 ETH | 0.00783563 | ||||
Migrate All | 13459724 | 1138 days ago | IN | 0 ETH | 0.00805444 | ||||
Migrate All | 13448920 | 1140 days ago | IN | 0 ETH | 0.01101644 | ||||
Migrate All | 13351653 | 1155 days ago | IN | 0 ETH | 0.00980759 | ||||
Migrate All | 13337587 | 1157 days ago | IN | 0 ETH | 0.00789953 | ||||
Migrate All | 13308699 | 1162 days ago | IN | 0 ETH | 0.01218761 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
PCTtoHundredMigrator
Compiler Version
v0.8.3+commit.8d00100c
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.3; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "./HundredVesting.sol"; contract PCTtoHundredMigrator { using SafeERC20 for IERC20; IERC20 public immutable PCT; IERC20 public Hundred; HundredVesting public immutable Vesting; uint256 public UserPercent = 10; uint256 public VestingPercent = 90; uint256 public PercentMax = 100; constructor(IERC20 pct, IERC20 hundred, address vesting) { PCT = pct; Hundred = hundred; Vesting = HundredVesting(vesting); Hundred.approve(vesting, type(uint256).max); } function _migrate(address user, uint256 amount) internal { require(amount != 0, "Amount should bigger than 0"); uint256 immediateAmount = amount * UserPercent / PercentMax; uint256 vestingAmount = amount - immediateAmount; PCT.safeTransferFrom(user, address(this), amount); Hundred.transfer(user, immediateAmount); Vesting.beginVesting(user, vestingAmount); } function migrate(uint256 amount) public { _migrate(msg.sender, amount); } function migrateAll() public { uint256 amount = PCT.balanceOf(msg.sender); _migrate(msg.sender, amount); } }
// 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: UNLICENSED pragma solidity 0.8.3; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; contract HundredVesting { using SafeERC20 for IERC20; IERC20 public immutable Hundred; uint256 numberOfEpochs; uint256 epochLength; struct UserInfo { uint256 totalAmount; uint256 timestamp; uint256 claimedAmount; } mapping(address => UserInfo) addresses; constructor(IERC20 hundred, uint256 _epochLength, uint256 totalVestingTime) { Hundred = hundred; epochLength = _epochLength; numberOfEpochs = totalVestingTime / _epochLength; } function beginVesting(address beneficiary, uint256 amount) external { require(amount != 0, "Amount should bigger than 0"); Hundred.safeTransferFrom(msg.sender, address(this), amount); UserInfo memory user = addresses[beneficiary]; if (user.totalAmount != 0) { user.totalAmount = user.totalAmount - user.claimedAmount + amount; user.timestamp = block.timestamp; user.claimedAmount = 0; } else { user = UserInfo({ totalAmount: amount, timestamp: block.timestamp, claimedAmount: 0 }); } addresses[beneficiary] = user; } function claimVested() public { uint256 amount = getClaimableVest(msg.sender); require(amount != 0, "No claimable hundred token"); Hundred.safeTransfer(msg.sender, amount); addresses[msg.sender].claimedAmount = addresses[msg.sender].claimedAmount + amount; } function getClaimableVest(address beneficiary) public view returns(uint) { UserInfo memory user = addresses[beneficiary]; require(user.timestamp != 0, "Invalid address"); uint256 amount = (block.timestamp - user.timestamp) / epochLength * user.totalAmount / numberOfEpochs; return amount < user.claimedAmount ? 0 : amount - user.claimedAmount; } function getClaimedVest(address beneficiary) public view returns(uint) { return addresses[beneficiary].claimedAmount; } function getRemainingVest(address beneficiary) public view returns(uint) { return getTotalVest(beneficiary) - getClaimedVest(beneficiary); } function getTotalVest(address beneficiary) public view returns(uint) { return addresses[beneficiary].totalAmount; } }
// 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); } } } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IERC20","name":"pct","type":"address"},{"internalType":"contract IERC20","name":"hundred","type":"address"},{"internalType":"address","name":"vesting","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"Hundred","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PCT","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PercentMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UserPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Vesting","outputs":[{"internalType":"contract HundredVesting","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VestingPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"migrateAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60c0604052600a600155605a60025560646003553480156200002057600080fd5b506040516200125f3803806200125f833981810160405281019062000046919062000242565b8273ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b81525050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b8152505060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663095ea7b3827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b815260040162000171929190620002ba565b602060405180830381600087803b1580156200018c57600080fd5b505af1158015620001a1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c7919062000216565b5050505062000393565b600081519050620001e28162000345565b92915050565b600081519050620001f9816200035f565b92915050565b600081519050620002108162000379565b92915050565b6000602082840312156200022957600080fd5b60006200023984828501620001e8565b91505092915050565b6000806000606084860312156200025857600080fd5b60006200026886828701620001ff565b93505060206200027b86828701620001ff565b92505060406200028e86828701620001d1565b9150509250925092565b620002a381620002e7565b82525050565b620002b4816200033b565b82525050565b6000604082019050620002d1600083018562000298565b620002e06020830184620002a9565b9392505050565b6000620002f4826200031b565b9050919050565b60008115159050919050565b60006200031482620002e7565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6200035081620002e7565b81146200035c57600080fd5b50565b6200036a81620002fb565b81146200037657600080fd5b50565b620003848162000307565b81146200039057600080fd5b50565b60805160601c60a05160601c610e8b620003d460003960008181610284015261041c0152600081816101a80152818161026001526103270152610e8b6000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80634a77f8701161005b5780634a77f870146101035780639871ee021461010d578063b13ef3431461012b578063e0d5d5b71461014957610088565b806312bd39621461008d5780632104378a146100ab57806324b2b1f3146100c9578063454b0608146100e7575b600080fd5b610095610167565b6040516100a29190610a3c565b60405180910390f35b6100b361018b565b6040516100c09190610af9565b60405180910390f35b6100d1610191565b6040516100de9190610af9565b60405180910390f35b61010160048036038101906100fc919061080b565b610197565b005b61010b6101a4565b005b61011561025e565b6040516101229190610a3c565b60405180910390f35b610133610282565b6040516101409190610a21565b60405180910390f35b6101516102a6565b60405161015e9190610af9565b60405180910390f35b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60025481565b60015481565b6101a133826102ac565b50565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016101ff91906109a6565b60206040518083038186803b15801561021757600080fd5b505afa15801561022b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061024f9190610834565b905061025b33826102ac565b50565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b60035481565b60008114156102f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102e790610a99565b60405180910390fd5b6000600354600154836103039190610b77565b61030d9190610b46565b90506000818361031d9190610bd1565b905061036c8430857f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166104ad909392919063ffffffff16565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85846040518363ffffffff1660e01b81526004016103c79291906109f8565b602060405180830381600087803b1580156103e157600080fd5b505af11580156103f5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041991906107e2565b507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663617f530885836040518363ffffffff1660e01b81526004016104759291906109f8565b600060405180830381600087803b15801561048f57600080fd5b505af11580156104a3573d6000803e3d6000fd5b5050505050505050565b610530846323b872dd60e01b8585856040516024016104ce939291906109c1565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610536565b50505050565b6000610598826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166105fd9092919063ffffffff16565b90506000815111156105f857808060200190518101906105b891906107e2565b6105f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ee90610ad9565b60405180910390fd5b5b505050565b606061060c8484600085610615565b90509392505050565b60608247101561065a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065190610a79565b60405180910390fd5b61066385610729565b6106a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069990610ab9565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516106cb919061098f565b60006040518083038185875af1925050503d8060008114610708576040519150601f19603f3d011682016040523d82523d6000602084013e61070d565b606091505b509150915061071d82828661073c565b92505050949350505050565b600080823b905060008111915050919050565b6060831561074c5782905061079c565b60008351111561075f5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107939190610a57565b60405180910390fd5b9392505050565b6000815190506107b281610e27565b92915050565b6000813590506107c781610e3e565b92915050565b6000815190506107dc81610e3e565b92915050565b6000602082840312156107f457600080fd5b6000610802848285016107a3565b91505092915050565b60006020828403121561081d57600080fd5b600061082b848285016107b8565b91505092915050565b60006020828403121561084657600080fd5b6000610854848285016107cd565b91505092915050565b61086681610c05565b82525050565b600061087782610b14565b6108818185610b2a565b9350610891818560208601610c95565b80840191505092915050565b6108a681610c4d565b82525050565b6108b581610c71565b82525050565b60006108c682610b1f565b6108d08185610b35565b93506108e0818560208601610c95565b6108e981610d26565b840191505092915050565b6000610901602683610b35565b915061090c82610d37565b604082019050919050565b6000610924601b83610b35565b915061092f82610d86565b602082019050919050565b6000610947601d83610b35565b915061095282610daf565b602082019050919050565b600061096a602a83610b35565b915061097582610dd8565b604082019050919050565b61098981610c43565b82525050565b600061099b828461086c565b915081905092915050565b60006020820190506109bb600083018461085d565b92915050565b60006060820190506109d6600083018661085d565b6109e3602083018561085d565b6109f06040830184610980565b949350505050565b6000604082019050610a0d600083018561085d565b610a1a6020830184610980565b9392505050565b6000602082019050610a36600083018461089d565b92915050565b6000602082019050610a5160008301846108ac565b92915050565b60006020820190508181036000830152610a7181846108bb565b905092915050565b60006020820190508181036000830152610a92816108f4565b9050919050565b60006020820190508181036000830152610ab281610917565b9050919050565b60006020820190508181036000830152610ad28161093a565b9050919050565b60006020820190508181036000830152610af28161095d565b9050919050565b6000602082019050610b0e6000830184610980565b92915050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000610b5182610c43565b9150610b5c83610c43565b925082610b6c57610b6b610cf7565b5b828204905092915050565b6000610b8282610c43565b9150610b8d83610c43565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610bc657610bc5610cc8565b5b828202905092915050565b6000610bdc82610c43565b9150610be783610c43565b925082821015610bfa57610bf9610cc8565b5b828203905092915050565b6000610c1082610c23565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000610c5882610c5f565b9050919050565b6000610c6a82610c23565b9050919050565b6000610c7c82610c83565b9050919050565b6000610c8e82610c23565b9050919050565b60005b83811015610cb3578082015181840152602081019050610c98565b83811115610cc2576000848401525b50505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000601f19601f8301169050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f416d6f756e742073686f756c6420626967676572207468616e20300000000000600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b610e3081610c17565b8114610e3b57600080fd5b50565b610e4781610c43565b8114610e5257600080fd5b5056fea2646970667358221220d150d766e71c299a37b17c44b78205c1de69ee731e0d8ef8bda54745522dc7e664736f6c634300080300330000000000000000000000004de840147db6d0655917f43da8a2e86c26aafb0a00000000000000000000000010010078a54396f62c96df8532dc2b4847d47ed3000000000000000000000000626915a1beff83240ea1290a3269d4849a7b599d
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100885760003560e01c80634a77f8701161005b5780634a77f870146101035780639871ee021461010d578063b13ef3431461012b578063e0d5d5b71461014957610088565b806312bd39621461008d5780632104378a146100ab57806324b2b1f3146100c9578063454b0608146100e7575b600080fd5b610095610167565b6040516100a29190610a3c565b60405180910390f35b6100b361018b565b6040516100c09190610af9565b60405180910390f35b6100d1610191565b6040516100de9190610af9565b60405180910390f35b61010160048036038101906100fc919061080b565b610197565b005b61010b6101a4565b005b61011561025e565b6040516101229190610a3c565b60405180910390f35b610133610282565b6040516101409190610a21565b60405180910390f35b6101516102a6565b60405161015e9190610af9565b60405180910390f35b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60025481565b60015481565b6101a133826102ac565b50565b60007f0000000000000000000000004de840147db6d0655917f43da8a2e86c26aafb0a73ffffffffffffffffffffffffffffffffffffffff166370a08231336040518263ffffffff1660e01b81526004016101ff91906109a6565b60206040518083038186803b15801561021757600080fd5b505afa15801561022b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061024f9190610834565b905061025b33826102ac565b50565b7f0000000000000000000000004de840147db6d0655917f43da8a2e86c26aafb0a81565b7f000000000000000000000000626915a1beff83240ea1290a3269d4849a7b599d81565b60035481565b60008114156102f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102e790610a99565b60405180910390fd5b6000600354600154836103039190610b77565b61030d9190610b46565b90506000818361031d9190610bd1565b905061036c8430857f0000000000000000000000004de840147db6d0655917f43da8a2e86c26aafb0a73ffffffffffffffffffffffffffffffffffffffff166104ad909392919063ffffffff16565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb85846040518363ffffffff1660e01b81526004016103c79291906109f8565b602060405180830381600087803b1580156103e157600080fd5b505af11580156103f5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041991906107e2565b507f000000000000000000000000626915a1beff83240ea1290a3269d4849a7b599d73ffffffffffffffffffffffffffffffffffffffff1663617f530885836040518363ffffffff1660e01b81526004016104759291906109f8565b600060405180830381600087803b15801561048f57600080fd5b505af11580156104a3573d6000803e3d6000fd5b5050505050505050565b610530846323b872dd60e01b8585856040516024016104ce939291906109c1565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050610536565b50505050565b6000610598826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166105fd9092919063ffffffff16565b90506000815111156105f857808060200190518101906105b891906107e2565b6105f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016105ee90610ad9565b60405180910390fd5b5b505050565b606061060c8484600085610615565b90509392505050565b60608247101561065a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065190610a79565b60405180910390fd5b61066385610729565b6106a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069990610ab9565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040516106cb919061098f565b60006040518083038185875af1925050503d8060008114610708576040519150601f19603f3d011682016040523d82523d6000602084013e61070d565b606091505b509150915061071d82828661073c565b92505050949350505050565b600080823b905060008111915050919050565b6060831561074c5782905061079c565b60008351111561075f5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107939190610a57565b60405180910390fd5b9392505050565b6000815190506107b281610e27565b92915050565b6000813590506107c781610e3e565b92915050565b6000815190506107dc81610e3e565b92915050565b6000602082840312156107f457600080fd5b6000610802848285016107a3565b91505092915050565b60006020828403121561081d57600080fd5b600061082b848285016107b8565b91505092915050565b60006020828403121561084657600080fd5b6000610854848285016107cd565b91505092915050565b61086681610c05565b82525050565b600061087782610b14565b6108818185610b2a565b9350610891818560208601610c95565b80840191505092915050565b6108a681610c4d565b82525050565b6108b581610c71565b82525050565b60006108c682610b1f565b6108d08185610b35565b93506108e0818560208601610c95565b6108e981610d26565b840191505092915050565b6000610901602683610b35565b915061090c82610d37565b604082019050919050565b6000610924601b83610b35565b915061092f82610d86565b602082019050919050565b6000610947601d83610b35565b915061095282610daf565b602082019050919050565b600061096a602a83610b35565b915061097582610dd8565b604082019050919050565b61098981610c43565b82525050565b600061099b828461086c565b915081905092915050565b60006020820190506109bb600083018461085d565b92915050565b60006060820190506109d6600083018661085d565b6109e3602083018561085d565b6109f06040830184610980565b949350505050565b6000604082019050610a0d600083018561085d565b610a1a6020830184610980565b9392505050565b6000602082019050610a36600083018461089d565b92915050565b6000602082019050610a5160008301846108ac565b92915050565b60006020820190508181036000830152610a7181846108bb565b905092915050565b60006020820190508181036000830152610a92816108f4565b9050919050565b60006020820190508181036000830152610ab281610917565b9050919050565b60006020820190508181036000830152610ad28161093a565b9050919050565b60006020820190508181036000830152610af28161095d565b9050919050565b6000602082019050610b0e6000830184610980565b92915050565b600081519050919050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b6000610b5182610c43565b9150610b5c83610c43565b925082610b6c57610b6b610cf7565b5b828204905092915050565b6000610b8282610c43565b9150610b8d83610c43565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615610bc657610bc5610cc8565b5b828202905092915050565b6000610bdc82610c43565b9150610be783610c43565b925082821015610bfa57610bf9610cc8565b5b828203905092915050565b6000610c1082610c23565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b6000610c5882610c5f565b9050919050565b6000610c6a82610c23565b9050919050565b6000610c7c82610c83565b9050919050565b6000610c8e82610c23565b9050919050565b60005b83811015610cb3578082015181840152602081019050610c98565b83811115610cc2576000848401525b50505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000601f19601f8301169050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b7f416d6f756e742073686f756c6420626967676572207468616e20300000000000600082015250565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b610e3081610c17565b8114610e3b57600080fd5b50565b610e4781610c43565b8114610e5257600080fd5b5056fea2646970667358221220d150d766e71c299a37b17c44b78205c1de69ee731e0d8ef8bda54745522dc7e664736f6c63430008030033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000004de840147db6d0655917f43da8a2e86c26aafb0a00000000000000000000000010010078a54396f62c96df8532dc2b4847d47ed3000000000000000000000000626915a1beff83240ea1290a3269d4849a7b599d
-----Decoded View---------------
Arg [0] : pct (address): 0x4De840147DB6d0655917f43dA8a2e86c26AaFB0a
Arg [1] : hundred (address): 0x10010078a54396F62c96dF8532dc2B4847d47ED3
Arg [2] : vesting (address): 0x626915a1beFf83240ea1290a3269d4849a7b599D
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000004de840147db6d0655917f43da8a2e86c26aafb0a
Arg [1] : 00000000000000000000000010010078a54396f62c96df8532dc2b4847d47ed3
Arg [2] : 000000000000000000000000626915a1beff83240ea1290a3269d4849a7b599d
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.