More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 203 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Emergency Withdr... | 13053628 | 1178 days ago | IN | 0 ETH | 0.0009924 | ||||
Emergency Withdr... | 12939120 | 1196 days ago | IN | 0 ETH | 0.0005722 | ||||
Emergency Withdr... | 12874246 | 1206 days ago | IN | 0 ETH | 0.00113076 | ||||
Emergency Withdr... | 12874211 | 1206 days ago | IN | 0 ETH | 0.00061315 | ||||
Emergency Withdr... | 12869899 | 1207 days ago | IN | 0 ETH | 0.00049532 | ||||
Emergency Withdr... | 12869031 | 1207 days ago | IN | 0 ETH | 0.00070136 | ||||
Emergency Withdr... | 12868767 | 1207 days ago | IN | 0 ETH | 0.00044028 | ||||
Emergency Withdr... | 12868619 | 1207 days ago | IN | 0 ETH | 0.00101124 | ||||
Emergency Withdr... | 12868597 | 1207 days ago | IN | 0 ETH | 0.00075843 | ||||
Emergency Withdr... | 12867479 | 1207 days ago | IN | 0 ETH | 0.00071629 | ||||
Emergency Withdr... | 12867430 | 1207 days ago | IN | 0 ETH | 0.00075843 | ||||
Emergency Withdr... | 12867346 | 1207 days ago | IN | 0 ETH | 0.00055036 | ||||
Emergency Withdr... | 12867277 | 1207 days ago | IN | 0 ETH | 0.0008427 | ||||
Emergency Withdr... | 12864025 | 1207 days ago | IN | 0 ETH | 0.00126405 | ||||
Emergency Withdr... | 12849546 | 1210 days ago | IN | 0 ETH | 0.00105204 | ||||
Emergency Withdr... | 12849454 | 1210 days ago | IN | 0 ETH | 0.00122738 | ||||
Emergency Withdr... | 12842817 | 1211 days ago | IN | 0 ETH | 0.00071629 | ||||
Emergency Withdr... | 12842384 | 1211 days ago | IN | 0 ETH | 0.00105204 | ||||
Emergency Withdr... | 12837491 | 1212 days ago | IN | 0 ETH | 0.00118354 | ||||
Emergency Withdr... | 12837060 | 1212 days ago | IN | 0 ETH | 0.0013759 | ||||
Emergency Withdr... | 12836692 | 1212 days ago | IN | 0 ETH | 0.00074298 | ||||
Emergency Withdr... | 12836671 | 1212 days ago | IN | 0 ETH | 0.00080108 | ||||
Emergency Withdr... | 12836017 | 1212 days ago | IN | 0 ETH | 0.00092697 | ||||
Emergency Withdr... | 12829839 | 1213 days ago | IN | 0 ETH | 0.00122738 | ||||
Emergency Withdr... | 12825702 | 1213 days ago | IN | 0 ETH | 0.00206461 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
DAOstake
Compiler Version
v0.7.6+commit.7338295f
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion, Audited
Contract Source Code (Solidity Standard Json-Input format)Audit Report
// SPDX-License-Identifier: MIT pragma solidity 0.7.6; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/SafeERC20.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "./DVGToken.sol"; contract DAOstake is Ownable { using SafeERC20 for IERC20; using Address for address; using SafeMath for uint256; /* Basically, any point in time, the amount of DVGs entitled to a user but is pending to be distributed is: pending DVG = (user.lpAmount * pool.accDVGPerLP) - user.finishedDVG Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens: 1. The pool's `accDVGPerLP` (and `lastRewardBlock`) gets updated. 2. User receives the pending DVG sent to his/her address. 3. User's `lpAmount` gets updated. 4. User's `finishedDVG` gets updated. */ struct Pool { // Address of LP token address lpTokenAddress; // Weight of pool uint256 poolWeight; // Last block number that DVGs distribution occurs for pool uint256 lastRewardBlock; // Accumulated DVGs per LP of pool uint256 accDVGPerLP; } struct User { // LP token amount that user provided uint256 lpAmount; // Finished distributed DVGs to user uint256 finishedDVG; } /* END_BLOCK = START_BLOCK + BLOCK_PER_PERIOD * PERIOD_AMOUNT */ // First block that DAOstake will start from uint256 public constant START_BLOCK = 12770000; // First block that DAOstake will end from uint256 public constant END_BLOCK = 22234000; // Amount of block per period: 6500(blocks per day) * 14(14 days/2 weeks) = 91000 uint256 public constant BLOCK_PER_PERIOD = 91000; // Amount of period uint256 public constant PERIOD_AMOUNT = 104; // Treasury wallet address address public treasuryWalletAddr; // Community wallet address address public communityWalletAddr; // DVG token DVGToken public dvg; // Percent of DVG is distributed to treasury wallet per block: 24.5% uint256 public constant TREASURY_WALLET_PERCENT = 2450; // Percent of DVG is distributed to community wallet per block: 24.5% uint256 public constant COMMUNITY_WALLET_PERCENT = 2450; // Percent of DVG is distributed to pools per block: 51% uint256 public constant POOL_PERCENT = 5100; // Total pool weight / Sum of all pool weights uint256 public totalPoolWeight; Pool[] public pool; // pool id => user address => user info mapping (uint256 => mapping (address => User)) public user; // period id => DVG amount per block of period mapping (uint256 => uint256) public periodDVGPerBlock; event SetWalletAddress(address indexed treasuryWalletAddr, address indexed communityWalletAddr); event SetDVG(DVGToken indexed dvg); event TransferDVGOwnership(address indexed newOwner); event AddPool(address indexed lpTokenAddress, uint256 indexed poolWeight, uint256 indexed lastRewardBlock); event SetPoolWeight(uint256 indexed poolId, uint256 indexed poolWeight, uint256 totalPoolWeight); event UpdatePool(uint256 indexed poolId, uint256 indexed lastRewardBlock, uint256 totalDVG); event Deposit(address indexed user, uint256 indexed poolId, uint256 amount); event Withdraw(address indexed user, uint256 indexed poolId, uint256 amount); event EmergencyWithdraw(address indexed user, uint256 indexed poolId, uint256 amount); /** * @notice Update DVG amount per block for each period when deploying. Be careful of gas spending! */ constructor( address _treasuryWalletAddr, address _communityWalletAddr, DVGToken _dvg ) { periodDVGPerBlock[1] = 30 ether; for (uint256 i = 2; i <= PERIOD_AMOUNT; i++) { periodDVGPerBlock[i] = periodDVGPerBlock[i.sub(1)].mul(9650).div(10000); } setWalletAddress(_treasuryWalletAddr, _communityWalletAddr); setDVG(_dvg); } /** * @notice Set all params about wallet address. Can only be called by owner * Remember to mint and distribute pending DVGs to wallet before changing address * * @param _treasuryWalletAddr Treasury wallet address * @param _communityWalletAddr Community wallet address */ function setWalletAddress(address _treasuryWalletAddr, address _communityWalletAddr) public onlyOwner { require((_treasuryWalletAddr != address(0)) && (_communityWalletAddr != address(0)), "Any wallet address should not be zero address"); treasuryWalletAddr = _treasuryWalletAddr; communityWalletAddr = _communityWalletAddr; emit SetWalletAddress(treasuryWalletAddr, communityWalletAddr); } /** * @notice Set DVG token address. Can only be called by owner */ function setDVG(DVGToken _dvg) public onlyOwner { dvg = _dvg; emit SetDVG(dvg); } /** * @notice Transfer ownership of DVG token. Can only be called by this smart contract owner * */ function transferDVGOwnership(address _newOwner) public onlyOwner { dvg.transferOwnership(_newOwner); emit TransferDVGOwnership(_newOwner); } /** * @notice Get the length/amount of pool */ function poolLength() external view returns(uint256) { return pool.length; } /** * @notice Return reward multiplier over given _from to _to block. [_from, _to) * * @param _from From block number (included) * @param _to To block number (exluded) */ function getMultiplier(uint256 _from, uint256 _to) public view returns(uint256 multiplier) { if (_from < START_BLOCK) {_from = START_BLOCK;} if (_to > END_BLOCK) {_to = END_BLOCK;} uint256 periodOfFrom = _from.sub(START_BLOCK).div(BLOCK_PER_PERIOD).add(1); uint256 periodOfTo = _to.sub(START_BLOCK).div(BLOCK_PER_PERIOD).add(1); if (periodOfFrom == periodOfTo) { multiplier = _to.sub(_from).mul(periodDVGPerBlock[periodOfTo]); } else { uint256 multiplierOfFrom = BLOCK_PER_PERIOD.mul(periodOfFrom).add(START_BLOCK).sub(_from).mul(periodDVGPerBlock[periodOfFrom]); uint256 multiplierOfTo = _to.sub(START_BLOCK).mod(BLOCK_PER_PERIOD).mul(periodDVGPerBlock[periodOfTo]); multiplier = multiplierOfFrom.add(multiplierOfTo); for (uint256 periodId = periodOfFrom.add(1); periodId < periodOfTo; periodId++) { multiplier = multiplier.add(BLOCK_PER_PERIOD.mul(periodDVGPerBlock[periodId])); } } } /** * @notice Get pending DVG amount of user in pool */ function pendingDVG(uint256 _pid, address _user) external view returns(uint256) { Pool storage pool_ = pool[_pid]; User storage user_ = user[_pid][_user]; uint256 accDVGPerLP = pool_.accDVGPerLP; uint256 lpSupply = IERC20(pool_.lpTokenAddress).balanceOf(address(this)); if (block.number > pool_.lastRewardBlock && lpSupply != 0) { uint256 multiplier = getMultiplier(pool_.lastRewardBlock, block.number); uint256 dvgForPool = multiplier.mul(POOL_PERCENT).mul(pool_.poolWeight).div(totalPoolWeight).div(10000); accDVGPerLP = accDVGPerLP.add(dvgForPool.mul(1 ether).div(lpSupply)); } return user_.lpAmount.mul(accDVGPerLP).div(1 ether).sub(user_.finishedDVG); } /** * @notice Add a new LP to pool. Can only be called by owner * DO NOT add the same LP token more than once. DVG rewards will be messed up if you do */ function addPool(address _lpTokenAddress, uint256 _poolWeight, bool _withUpdate) public onlyOwner { require(block.number < END_BLOCK, "Already ended"); require(_lpTokenAddress.isContract(), "LP token address should be smart contract address"); if (_withUpdate) { massUpdatePools(); } uint256 lastRewardBlock = block.number > START_BLOCK ? block.number : START_BLOCK; totalPoolWeight = totalPoolWeight + _poolWeight; pool.push(Pool({ lpTokenAddress: _lpTokenAddress, poolWeight: _poolWeight, lastRewardBlock: lastRewardBlock, accDVGPerLP: 0 })); emit AddPool(_lpTokenAddress, _poolWeight, lastRewardBlock); } /** * @notice Update the given pool's weight. Can only be called by owner. */ function setPoolWeight(uint256 _pid, uint256 _poolWeight, bool _withUpdate) public onlyOwner { if (_withUpdate) { massUpdatePools(); } totalPoolWeight = totalPoolWeight.sub(pool[_pid].poolWeight).add(_poolWeight); pool[_pid].poolWeight = _poolWeight; emit SetPoolWeight(_pid, _poolWeight, totalPoolWeight); } /** * @notice Update reward variables of the given pool to be up-to-date. */ function updatePool(uint256 _pid) public { Pool storage pool_ = pool[_pid]; if (block.number <= pool_.lastRewardBlock) { return; } uint256 totalDVG = getMultiplier(pool_.lastRewardBlock, block.number).mul(pool_.poolWeight).div(totalPoolWeight); uint256 lpSupply = IERC20(pool_.lpTokenAddress).balanceOf(address(this)); if (lpSupply > 0) { uint256 dvgForPool = totalDVG.mul(POOL_PERCENT).div(10000); dvg.mint(treasuryWalletAddr, totalDVG.mul(TREASURY_WALLET_PERCENT).div(10000)); dvg.mint(communityWalletAddr, totalDVG.mul(COMMUNITY_WALLET_PERCENT).div(10000)); dvg.mint(address(this), dvgForPool); pool_.accDVGPerLP = pool_.accDVGPerLP.add(dvgForPool.mul(1 ether).div(lpSupply)); } else { dvg.mint(treasuryWalletAddr, totalDVG.mul(TREASURY_WALLET_PERCENT).div(10000)); dvg.mint(communityWalletAddr, totalDVG.mul(COMMUNITY_WALLET_PERCENT.add(POOL_PERCENT)).div(10000)); } pool_.lastRewardBlock = block.number; emit UpdatePool(_pid, pool_.lastRewardBlock, totalDVG); } /** * @notice Update reward variables for all pools. Be careful of gas spending! * Due to gas limit, please make sure here no significant amount of pools! */ function massUpdatePools() public { uint256 length = pool.length; for (uint256 pid = 0; pid < length; pid++) { updatePool(pid); } } /** * @notice Deposit LP tokens for DVG rewards * Before depositing, user needs approve this contract to be able to spend or transfer their LP tokens * * @param _pid Id of the pool to be deposited to * @param _amount Amount of LP tokens to be deposited */ function deposit(uint256 _pid, uint256 _amount) public { Pool storage pool_ = pool[_pid]; User storage user_ = user[_pid][msg.sender]; updatePool(_pid); if (user_.lpAmount > 0) { uint256 pendingDVG_ = user_.lpAmount.mul(pool_.accDVGPerLP).div(1 ether).sub(user_.finishedDVG); if(pendingDVG_ > 0) { _safeDVGTransfer(msg.sender, pendingDVG_); } } if(_amount > 0) { IERC20(pool_.lpTokenAddress).safeTransferFrom(address(msg.sender), address(this), _amount); user_.lpAmount = user_.lpAmount.add(_amount); } user_.finishedDVG = user_.lpAmount.mul(pool_.accDVGPerLP).div(1 ether); emit Deposit(msg.sender, _pid, _amount); } /** * @notice Withdraw LP tokens * * @param _pid Id of the pool to be withdrawn from * @param _amount amount of LP tokens to be withdrawn */ function withdraw(uint256 _pid, uint256 _amount) public { Pool storage pool_ = pool[_pid]; User storage user_ = user[_pid][msg.sender]; require(user_.lpAmount >= _amount, "Not enough LP token balance"); updatePool(_pid); uint256 pendingDVG_ = user_.lpAmount.mul(pool_.accDVGPerLP).div(1 ether).sub(user_.finishedDVG); if(pendingDVG_ > 0) { _safeDVGTransfer(msg.sender, pendingDVG_); } if(_amount > 0) { user_.lpAmount = user_.lpAmount.sub(_amount); IERC20(pool_.lpTokenAddress).safeTransfer(address(msg.sender), _amount); } user_.finishedDVG = user_.lpAmount.mul(pool_.accDVGPerLP).div(1 ether); emit Withdraw(msg.sender, _pid, _amount); } /** * @notice Withdraw LP tokens without caring about DVG rewards. EMERGENCY ONLY * * @param _pid Id of the pool to be emergency withdrawn from */ function emergencyWithdraw(uint256 _pid) public { Pool storage pool_ = pool[_pid]; User storage user_ = user[_pid][msg.sender]; uint256 amount = user_.lpAmount; user_.lpAmount = 0; user_.finishedDVG = 0; IERC20(pool_.lpTokenAddress).safeTransfer(address(msg.sender), amount); emit EmergencyWithdraw(msg.sender, _pid, amount); } /** * @notice Safe DVG transfer function, just in case if rounding error causes pool to not have enough DVGs * * @param _to Address to get transferred DVGs * @param _amount Amount of DVG to be transferred */ function _safeDVGTransfer(address _to, uint256 _amount) internal { uint256 dvgBal = dvg.balanceOf(address(this)); if (_amount > dvgBal) { dvg.transfer(_to, dvgBal); } else { dvg.transfer(_to, _amount); } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <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.6.0 <0.8.0; import "./IERC20.sol"; import "../../math/SafeMath.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 SafeMath for uint256; 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' // solhint-disable-next-line max-line-length 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).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); _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 // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.2 <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; // solhint-disable-next-line no-inline-assembly 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"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (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"); // solhint-disable-next-line avoid-low-level-calls (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"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "../GSN/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 () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view 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 { emit OwnershipTransferred(_owner, address(0)); _owner = 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"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } }
// SPDX-License-Identifier: MIT pragma solidity 0.7.6; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/math/SafeMath.sol"; /// DVG token contract DVGToken is ERC20("DVGToken", "DVG"), Ownable { using Address for address; using SafeMath for uint256; /// A checkpoint for marking number of votes from a given block struct Checkpoint { uint32 fromBlock; uint256 votes; } /// We need mint some DVG in advance uint256 public dvgInAdvance; /// The address of Treasury wallet address public treasuryWalletAddr; /// The EIP-712 typehash for the contract's domain bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)"); /// The EIP-712 typehash for the delegation struct used by the contract bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)"); // A record of each accounts delegate mapping (address => address) internal _delegates; /// A record of votes checkpoints for each account, by index mapping (address => mapping (uint32 => Checkpoint)) public checkpoints; /// The number of checkpoints for each account mapping (address => uint32) public numCheckpoints; /// A record of states for signing / validating signatures mapping (address => uint) public nonces; /// An event thats emitted when an account changes its delegate event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate); /// An event thats emitted when a delegate account's vote balance changes event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance); /// @notice We need mint some DVGs in advance. /// After that, the ownership of DVG token will be transferred to DAOventures liquidity mining smart contract, /// which means nobody will be able to control mining of DVG token. constructor(address _treasuryWalletAddr, uint256 _dvgInAdvance) { require(!_treasuryWalletAddr.isContract(), "The Treasury wallet address should not be the smart contract address"); treasuryWalletAddr = _treasuryWalletAddr; dvgInAdvance = _dvgInAdvance; mint(treasuryWalletAddr, dvgInAdvance); } /// @notice Creates `_amount` token to `_to`. Must only be called by the owner function mint(address _to, uint256 _amount) public onlyOwner { _mint(_to, _amount); _moveDelegates(address(0), _delegates[_to], _amount); } /** * @notice Get `delegatee` of `delegator` * @param delegator The address to get delegatee for */ function delegates(address delegator) external view returns (address) { return _delegates[delegator]; } /** * @notice Delegate votes from `msg.sender` to `delegatee` * @param delegatee The address to delegate votes to */ function delegate(address delegatee) external { return _delegate(msg.sender, delegatee); } /** * @notice Delegates votes from signatory to `delegatee` * @param delegatee The address to delegate votes to * @param nonce The contract state required to match the signature * @param expiry The time at which to expire the signature * @param v The recovery byte of the signature * @param r Half of the ECDSA signature pair * @param s Half of the ECDSA signature pair */ function delegateBySig( address delegatee, uint nonce, uint expiry, uint8 v, bytes32 r, bytes32 s ) external { bytes32 domainSeparator = keccak256( abi.encode( DOMAIN_TYPEHASH, keccak256(bytes(name())), getChainId(), address(this) ) ); bytes32 structHash = keccak256( abi.encode( DELEGATION_TYPEHASH, delegatee, nonce, expiry ) ); bytes32 digest = keccak256( abi.encodePacked( "\x19\x01", domainSeparator, structHash ) ); address signatory = ecrecover(digest, v, r, s); require(signatory != address(0), "delegateBySig: invalid signature"); require(nonce == nonces[signatory]++, "delegateBySig: invalid nonce"); require(block.timestamp <= expiry, "delegateBySig: signature expired"); return _delegate(signatory, delegatee); } /** * @notice Gets the current votes balance for `account` * @param account The address to get votes balance * @return The number of current votes for `account` */ function getCurrentVotes(address account) external view returns (uint256) { uint32 nCheckpoints = numCheckpoints[account]; return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0; } /** * @notice Determine the prior number of votes for an account as of a block number * @dev Block number must be a finalized block or else this function will revert to prevent misinformation. * @param account The address of the account to check * @param blockNumber The block number to get the vote balance at * @return The number of votes the account had as of the given block */ function getPriorVotes(address account, uint blockNumber) external view returns (uint256) { require(blockNumber < block.number, "getPriorVotes: not yet determined"); uint32 nCheckpoints = numCheckpoints[account]; if (nCheckpoints == 0) { return 0; } // First check most recent balance if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) { return checkpoints[account][nCheckpoints - 1].votes; } // Next check implicit zero balance if (checkpoints[account][0].fromBlock > blockNumber) { return 0; } uint32 lower = 0; uint32 upper = nCheckpoints - 1; while (upper > lower) { uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow Checkpoint memory cp = checkpoints[account][center]; if (cp.fromBlock == blockNumber) { return cp.votes; } else if (cp.fromBlock < blockNumber) { lower = center; } else { upper = center - 1; } } return checkpoints[account][lower].votes; } function _delegate(address delegator, address delegatee) internal { address currentDelegate = _delegates[delegator]; uint256 delegatorBalance = balanceOf(delegator); // balance of underlying DVGs (not scaled); _delegates[delegator] = delegatee; emit DelegateChanged(delegator, currentDelegate, delegatee); _moveDelegates(currentDelegate, delegatee, delegatorBalance); } function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal { if (srcRep != dstRep && amount > 0) { if (srcRep != address(0)) { // decrease old representative uint32 srcRepNum = numCheckpoints[srcRep]; uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0; uint256 srcRepNew; if (srcRepOld > amount) { srcRepNew = srcRepOld.sub(amount); } else { srcRepNew = 0; amount = srcRepOld; } _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew); } if (dstRep != address(0)) { // increase new representative uint32 dstRepNum = numCheckpoints[dstRep]; uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0; uint256 dstRepNew = dstRepOld.add(amount); _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew); } } } function _writeCheckpoint( address delegatee, uint32 nCheckpoints, uint256 oldVotes, uint256 newVotes ) internal { uint32 blockNumber = safe32(block.number, "_writeCheckpoint: block number exceeds 32 bits"); if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) { checkpoints[delegatee][nCheckpoints - 1].votes = newVotes; } else { checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes); numCheckpoints[delegatee] = nCheckpoints + 1; } emit DelegateVotesChanged(delegatee, oldVotes, newVotes); } function safe32(uint n, string memory errorMessage) internal pure returns (uint32) { require(n < 2**32, errorMessage); return uint32(n); } function getChainId() internal pure returns (uint) { uint256 chainId; assembly { chainId := chainid() } return chainId; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when 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 SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <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 GSN 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 payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "../../GSN/Context.sol"; import "./IERC20.sol"; import "../../math/SafeMath.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_) public { _name = name_; _symbol = symbol_; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- Zokyo - May 21st, 2021 - Security Audit Report
[{"inputs":[{"internalType":"address","name":"_treasuryWalletAddr","type":"address"},{"internalType":"address","name":"_communityWalletAddr","type":"address"},{"internalType":"contract DVGToken","name":"_dvg","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"lpTokenAddress","type":"address"},{"indexed":true,"internalType":"uint256","name":"poolWeight","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"lastRewardBlock","type":"uint256"}],"name":"AddPool","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"poolId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"poolId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","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":"contract DVGToken","name":"dvg","type":"address"}],"name":"SetDVG","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"poolId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"poolWeight","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalPoolWeight","type":"uint256"}],"name":"SetPoolWeight","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"treasuryWalletAddr","type":"address"},{"indexed":true,"internalType":"address","name":"communityWalletAddr","type":"address"}],"name":"SetWalletAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"TransferDVGOwnership","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"poolId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalDVG","type":"uint256"}],"name":"UpdatePool","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"poolId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"BLOCK_PER_PERIOD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"COMMUNITY_WALLET_PERCENT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"END_BLOCK","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PERIOD_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"POOL_PERCENT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"START_BLOCK","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TREASURY_WALLET_PERCENT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_lpTokenAddress","type":"address"},{"internalType":"uint256","name":"_poolWeight","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"addPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"communityWalletAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dvg","outputs":[{"internalType":"contract DVGToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"multiplier","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingDVG","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"periodDVGPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"pool","outputs":[{"internalType":"address","name":"lpTokenAddress","type":"address"},{"internalType":"uint256","name":"poolWeight","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accDVGPerLP","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract DVGToken","name":"_dvg","type":"address"}],"name":"setDVG","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_poolWeight","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"setPoolWeight","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasuryWalletAddr","type":"address"},{"internalType":"address","name":"_communityWalletAddr","type":"address"}],"name":"setWalletAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalPoolWeight","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"transferDVGOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryWalletAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"user","outputs":[{"internalType":"uint256","name":"lpAmount","type":"uint256"},{"internalType":"uint256","name":"finishedDVG","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162003ea638038062003ea6833981810160405260608110156200003757600080fd5b8101908080519060200190929190805190602001909291908051906020019092919050505060006200006e620001f460201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506801a055690d9db800006007600060018152602001908152602001600020819055506000600290505b60688111620001c757620001a26127106200018e6125b2600760006200016b600188620001fc60201b6200288d1790919060201c565b8152602001908152602001600020546200024e60201b620028d71790919060201c565b620002d960201b6200295d1790919060201c565b6007600083815260200190815260200160002081905550808060010191505062000135565b50620001da83836200032b60201b60201c565b620001eb81620005e260201b60201c565b505050620008eb565b600033905090565b60006200024683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506200075c60201b60201c565b905092915050565b600080831415620002635760009050620002d3565b60008284029050828482816200027557fe5b0414620002ce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018062003e586021913960400191505060405180910390fd5b809150505b92915050565b60006200032383836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506200082060201b60201c565b905092915050565b6200033b620001f460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614620003fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614158015620004675750600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b620004be576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d81526020018062003e79602d913960400191505060405180910390fd5b81600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f2629135685361a12b8336cd760f20c013116ea0ee04812a556657a173bffd10d60405160405180910390a35050565b620005f2620001f460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614620006b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f9d1282cdfc71dc7a2ef31c6e142773b7b49d55c648c16af9aff11d387e46ca5760405160405180910390a250565b60008383111582906200080d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015620007d1578082015181840152602081019050620007b4565b50505050905090810190601f168015620007ff5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60008083118290620008d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156200089457808201518184015260208101905062000877565b50505050905090810190601f168015620008c25780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581620008dd57fe5b049050809150509392505050565b61355d80620008fb6000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c806370be6fc711610104578063a5c30ec0116100a2578063e2bbb15811610071578063e2bbb15814610704578063f2fde38b1461073c578063fad07ece14610780578063fe313112146107c4576101da565b8063a5c30ec014610632578063bdb7d13214610666578063cd3ec1d6146106c8578063e1b371c9146106e6576101da565b80638a774fd6116100de5780638a774fd6146105165780638da5cb5b146105585780638dbb1e3a1461058c5780639416c7cd146105d8576101da565b806370be6fc7146104ba578063715018a6146104d85780637ad399f3146104e2576101da565b806339b3e8261161017c5780635312ea8e1161014b5780635312ea8e146103ea578063630b5ba11461041857806364e838fe146104225780636973cd0914610456576101da565b806339b3e82614610348578063441a3e70146103665780634f8934f51461039e57806351eb05a6146103bc576101da565b8063086b6028116101b8578063086b602814610239578063091dc4e91461027d57806330d52053146102c157806337849b3c146102df576101da565b806302559004146101df578063071afa1f146101fd578063081e3eda1461021b575b600080fd5b6101e7610831565b6040518082815260200191505060405180910390f35b610205610837565b6040518082815260200191505060405180910390f35b61022361083d565b6040518082815260200191505060405180910390f35b61027b6004803603602081101561024f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061084a565b005b6102bf6004803603602081101561029357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506109fb565b005b6102c9610b6c565b6040518082815260200191505060405180910390f35b61032b600480360360408110156102f557600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b72565b604051808381526020018281526020019250505060405180910390f35b610350610ba3565b6040518082815260200191505060405180910390f35b61039c6004803603604081101561037c57600080fd5b810190808035906020019092919080359060200190929190505050610baa565b005b6103a6610e0e565b6040518082815260200191505060405180910390f35b6103e8600480360360208110156103d257600080fd5b8101908080359060200190929190505050610e13565b005b6104166004803603602081101561040057600080fd5b81019080803590602001909291905050506114b1565b005b6104206115e5565b005b61042a611614565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104b86004803603604081101561046c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061163a565b005b6104c26118e5565b6040518082815260200191505060405180910390f35b6104e06118ec565b005b6104ea611a72565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105426004803603602081101561052c57600080fd5b8101908080359060200190929190505050611a98565b6040518082815260200191505060405180910390f35b610560611ab0565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105c2600480360360408110156105a257600080fd5b810190808035906020019092919080359060200190929190505050611ad9565b6040518082815260200191505060405180910390f35b610630600480360360608110156105ee57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803515159060200190929190505050611d12565b005b61063a61200f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106b26004803603604081101561067c57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612035565b6040518082815260200191505060405180910390f35b6106d0612295565b6040518082815260200191505060405180910390f35b6106ee61229d565b6040518082815260200191505060405180910390f35b61073a6004803603604081101561071a57600080fd5b8101908080359060200190929190803590602001909291905050506122a3565b005b61077e6004803603602081101561075257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061249d565b005b6107c26004803603606081101561079657600080fd5b8101908080359060200190929190803590602001909291908035151590602001909291905050506126a8565b005b6107f0600480360360208110156107da57600080fd5b810190808035906020019092919050505061282d565b604051808573ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200182815260200194505050505060405180910390f35b60045481565b61099281565b6000600580549050905090565b6108526129a7565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610912576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f2fde38b826040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b15801561099d57600080fd5b505af11580156109b1573d6000803e3d6000fd5b505050508073ffffffffffffffffffffffffffffffffffffffff167f551b631bc31cc73731973e231e7a9329a6f2c047217c12f84178eee2254b0e5b60405160405180910390a250565b610a036129a7565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610ac3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f9d1282cdfc71dc7a2ef31c6e142773b7b49d55c648c16af9aff11d387e46ca5760405160405180910390a250565b6113ec81565b6006602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b62c2dad081565b600060058381548110610bb957fe5b9060005260206000209060040201905060006006600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508281600001541015610c97576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f4e6f7420656e6f756768204c5020746f6b656e2062616c616e6365000000000081525060200191505060405180910390fd5b610ca084610e13565b6000610ced8260010154610cdf670de0b6b3a7640000610cd1876003015487600001546128d790919063ffffffff16565b61295d90919063ffffffff16565b61288d90919063ffffffff16565b90506000811115610d0357610d0233826129af565b5b6000841115610d7b57610d2384836000015461288d90919063ffffffff16565b8260000181905550610d7a33858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612c289092919063ffffffff16565b5b610db0670de0b6b3a7640000610da2856003015485600001546128d790919063ffffffff16565b61295d90919063ffffffff16565b8260010181905550843373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568866040518082815260200191505060405180910390a35050505050565b606881565b600060058281548110610e2257fe5b9060005260206000209060040201905080600201544311610e4357506114ae565b6000610e7d600454610e6f8460010154610e61866002015443611ad9565b6128d790919063ffffffff16565b61295d90919063ffffffff16565b905060008260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610f0c57600080fd5b505afa158015610f20573d6000803e3d6000fd5b505050506040513d6020811015610f3657600080fd5b810190808051906020019092919050505090506000811115611265576000610f7d612710610f6f6113ec866128d790919063ffffffff16565b61295d90919063ffffffff16565b9050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611009612710610ffb610992896128d790919063ffffffff16565b61295d90919063ffffffff16565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561105c57600080fd5b505af1158015611070573d6000803e3d6000fd5b50505050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166110fe6127106110f0610992896128d790919063ffffffff16565b61295d90919063ffffffff16565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561115157600080fd5b505af1158015611165573d6000803e3d6000fd5b50505050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1930836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1580156111fc57600080fd5b505af1158015611210573d6000803e3d6000fd5b5050505061125761124483611236670de0b6b3a7640000856128d790919063ffffffff16565b61295d90919063ffffffff16565b8560030154612cca90919063ffffffff16565b846003018190555050611464565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166112ef6127106112e1610992886128d790919063ffffffff16565b61295d90919063ffffffff16565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561134257600080fd5b505af1158015611356573d6000803e3d6000fd5b50505050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166113f86127106113ea6113db6113ec610992612cca90919063ffffffff16565b886128d790919063ffffffff16565b61295d90919063ffffffff16565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561144b57600080fd5b505af115801561145f573d6000803e3d6000fd5b505050505b4383600201819055508260020154847ff5d2d72d9b25d6853afd7d0554a113b705234b6a68bb36b7f143662994632411846040518082815260200191505060405180910390a35050505b50565b6000600582815481106114c057fe5b9060005260206000209060040201905060006006600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600081600001549050600082600001819055506000826001018190555061159033828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612c289092919063ffffffff16565b833373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595836040518082815260200191505060405180910390a350505050565b6000600580549050905060005b818110156116105761160381610e13565b80806001019150506115f2565b5050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6116426129a7565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611702576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415801561176c5750600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b6117c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d8152602001806134d1602d913960400191505060405180910390fd5b81600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f2629135685361a12b8336cd760f20c013116ea0ee04812a556657a173bffd10d60405160405180910390a35050565b6201637881565b6118f46129a7565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146119b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60076020528060005260406000206000915090505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600062c2dad0831015611aed5762c2dad092505b6301534390821115611b0157630153439091505b6000611b416001611b3362016378611b2562c2dad08961288d90919063ffffffff16565b61295d90919063ffffffff16565b612cca90919063ffffffff16565b90506000611b836001611b7562016378611b6762c2dad08961288d90919063ffffffff16565b61295d90919063ffffffff16565b612cca90919063ffffffff16565b905080821415611bcc57611bc56007600083815260200190815260200160002054611bb7878761288d90919063ffffffff16565b6128d790919063ffffffff16565b9250611d0a565b6000611c306007600085815260200190815260200160002054611c2288611c1462c2dad0611c0689620163786128d790919063ffffffff16565b612cca90919063ffffffff16565b61288d90919063ffffffff16565b6128d790919063ffffffff16565b90506000611c846007600085815260200190815260200160002054611c7662016378611c6862c2dad08b61288d90919063ffffffff16565b612d5290919063ffffffff16565b6128d790919063ffffffff16565b9050611c998183612cca90919063ffffffff16565b94506000611cb1600186612cca90919063ffffffff16565b90505b83811015611d0657611cf7611ce86007600084815260200190815260200160002054620163786128d790919063ffffffff16565b87612cca90919063ffffffff16565b95508080600101915050611cb4565b5050505b505092915050565b611d1a6129a7565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611dda576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b63015343904310611e53576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f416c726561647920656e6465640000000000000000000000000000000000000081525060200191505060405180910390fd5b611e728373ffffffffffffffffffffffffffffffffffffffff16612d9c565b611ec7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603181526020018061347f6031913960400191505060405180910390fd5b8015611ed657611ed56115e5565b5b600062c2dad04311611eeb5762c2dad0611eed565b435b90508260045401600481905550600560405180608001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018381526020016000815250908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101556040820151816002015560608201518160030155505080838573ffffffffffffffffffffffffffffffffffffffff167f91f9fc48b66b7a063da39af8a9fdbeb546bedf998bd3545c257937a8ab95ead160405160405180910390a450505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806005848154811061204557fe5b9060005260206000209060040201905060006006600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260030154905060008360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561213f57600080fd5b505afa158015612153573d6000803e3d6000fd5b505050506040513d602081101561216957600080fd5b81019080805190602001909291905050509050836002015443118015612190575060008114155b156122425760006121a5856002015443611ad9565b905060006121fc6127106121ee6004546121e08a600101546121d26113ec896128d790919063ffffffff16565b6128d790919063ffffffff16565b61295d90919063ffffffff16565b61295d90919063ffffffff16565b905061223d61222e84612220670de0b6b3a7640000856128d790919063ffffffff16565b61295d90919063ffffffff16565b85612cca90919063ffffffff16565b935050505b612289836001015461227b670de0b6b3a764000061226d8688600001546128d790919063ffffffff16565b61295d90919063ffffffff16565b61288d90919063ffffffff16565b94505050505092915050565b630153439081565b61099281565b6000600583815481106122b257fe5b9060005260206000209060040201905060006006600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905061231f84610e13565b600081600001541115612391576000612379826001015461236b670de0b6b3a764000061235d876003015487600001546128d790919063ffffffff16565b61295d90919063ffffffff16565b61288d90919063ffffffff16565b9050600081111561238f5761238e33826129af565b5b505b600083111561240b576123eb3330858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612daf909392919063ffffffff16565b612402838260000154612cca90919063ffffffff16565b81600001819055505b612440670de0b6b3a7640000612432846003015484600001546128d790919063ffffffff16565b61295d90919063ffffffff16565b8160010181905550833373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15856040518082815260200191505060405180910390a350505050565b6124a56129a7565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612565576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156125eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806134336026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6126b06129a7565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612770576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b801561277f5761277e6115e5565b5b6127c4826127b66005868154811061279357fe5b90600052602060002090600402016001015460045461288d90919063ffffffff16565b612cca90919063ffffffff16565b60048190555081600584815481106127d857fe5b90600052602060002090600402016001018190555081837f4b8fa3d6a87cb21d1bf4978bf60628ae358a28ac7f39de1751a481c6dd9576176004546040518082815260200191505060405180910390a3505050565b6005818154811061283d57600080fd5b90600052602060002090600402016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154905084565b60006128cf83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612e70565b905092915050565b6000808314156128ea5760009050612957565b60008284029050828482816128fb57fe5b0414612952576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806134b06021913960400191505060405180910390fd5b809150505b92915050565b600061299f83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612f30565b905092915050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612a3a57600080fd5b505afa158015612a4e573d6000803e3d6000fd5b505050506040513d6020811015612a6457600080fd5b8101908080519060200190929190505050905080821115612b5357600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015612b1257600080fd5b505af1158015612b26573d6000803e3d6000fd5b505050506040513d6020811015612b3c57600080fd5b810190808051906020019092919050505050612c23565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015612be657600080fd5b505af1158015612bfa573d6000803e3d6000fd5b505050506040513d6020811015612c1057600080fd5b8101908080519060200190929190505050505b505050565b612cc58363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612ff6565b505050565b600080828401905083811015612d48576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000612d9483836040518060400160405280601881526020017f536166654d6174683a206d6f64756c6f206279207a65726f00000000000000008152506130e5565b905092915050565b600080823b905060008111915050919050565b612e6a846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612ff6565b50505050565b6000838311158290612f1d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612ee2578082015181840152602081019050612ec7565b50505050905090810190601f168015612f0f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60008083118290612fdc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612fa1578082015181840152602081019050612f86565b50505050905090810190601f168015612fce5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581612fe857fe5b049050809150509392505050565b6000613058826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166131a69092919063ffffffff16565b90506000815111156130e05780806020019051602081101561307957600080fd5b81019080805190602001909291905050506130df576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806134fe602a913960400191505060405180910390fd5b5b505050565b6000808314158290613192576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561315757808201518184015260208101905061313c565b50505050905090810190601f1680156131845780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5082848161319c57fe5b0690509392505050565b60606131b584846000856131be565b90509392505050565b606082471015613219576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806134596026913960400191505060405180910390fd5b61322285612d9c565b613294576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106132e357805182526020820191506020810190506020830392506132c0565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613345576040519150601f19603f3d011682016040523d82523d6000602084013e61334a565b606091505b509150915061335a828286613366565b92505050949350505050565b606083156133765782905061342b565b6000835111156133895782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156133f05780820151818401526020810190506133d5565b50505050905090810190601f16801561341d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4c5020746f6b656e20616464726573732073686f756c6420626520736d61727420636f6e74726163742061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77416e792077616c6c657420616464726573732073686f756c64206e6f74206265207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220c2b3a22225d955647c75d4faa5222b710b7aceb03834c9f5603a10434d6a4e9164736f6c63430007060033536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77416e792077616c6c657420616464726573732073686f756c64206e6f74206265207a65726f206164647265737300000000000000000000000059e83877bd248cbfe392dbb5a8a29959bcb48592000000000000000000000000dd6c35aff646b2fb7d8a8955ccbe0994409348d000000000000000000000000051e00a95748dbd2a3f47bc5c3b3e7b3f0fea666c
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101da5760003560e01c806370be6fc711610104578063a5c30ec0116100a2578063e2bbb15811610071578063e2bbb15814610704578063f2fde38b1461073c578063fad07ece14610780578063fe313112146107c4576101da565b8063a5c30ec014610632578063bdb7d13214610666578063cd3ec1d6146106c8578063e1b371c9146106e6576101da565b80638a774fd6116100de5780638a774fd6146105165780638da5cb5b146105585780638dbb1e3a1461058c5780639416c7cd146105d8576101da565b806370be6fc7146104ba578063715018a6146104d85780637ad399f3146104e2576101da565b806339b3e8261161017c5780635312ea8e1161014b5780635312ea8e146103ea578063630b5ba11461041857806364e838fe146104225780636973cd0914610456576101da565b806339b3e82614610348578063441a3e70146103665780634f8934f51461039e57806351eb05a6146103bc576101da565b8063086b6028116101b8578063086b602814610239578063091dc4e91461027d57806330d52053146102c157806337849b3c146102df576101da565b806302559004146101df578063071afa1f146101fd578063081e3eda1461021b575b600080fd5b6101e7610831565b6040518082815260200191505060405180910390f35b610205610837565b6040518082815260200191505060405180910390f35b61022361083d565b6040518082815260200191505060405180910390f35b61027b6004803603602081101561024f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061084a565b005b6102bf6004803603602081101561029357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506109fb565b005b6102c9610b6c565b6040518082815260200191505060405180910390f35b61032b600480360360408110156102f557600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610b72565b604051808381526020018281526020019250505060405180910390f35b610350610ba3565b6040518082815260200191505060405180910390f35b61039c6004803603604081101561037c57600080fd5b810190808035906020019092919080359060200190929190505050610baa565b005b6103a6610e0e565b6040518082815260200191505060405180910390f35b6103e8600480360360208110156103d257600080fd5b8101908080359060200190929190505050610e13565b005b6104166004803603602081101561040057600080fd5b81019080803590602001909291905050506114b1565b005b6104206115e5565b005b61042a611614565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104b86004803603604081101561046c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061163a565b005b6104c26118e5565b6040518082815260200191505060405180910390f35b6104e06118ec565b005b6104ea611a72565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105426004803603602081101561052c57600080fd5b8101908080359060200190929190505050611a98565b6040518082815260200191505060405180910390f35b610560611ab0565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105c2600480360360408110156105a257600080fd5b810190808035906020019092919080359060200190929190505050611ad9565b6040518082815260200191505060405180910390f35b610630600480360360608110156105ee57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803515159060200190929190505050611d12565b005b61063a61200f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106b26004803603604081101561067c57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612035565b6040518082815260200191505060405180910390f35b6106d0612295565b6040518082815260200191505060405180910390f35b6106ee61229d565b6040518082815260200191505060405180910390f35b61073a6004803603604081101561071a57600080fd5b8101908080359060200190929190803590602001909291905050506122a3565b005b61077e6004803603602081101561075257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061249d565b005b6107c26004803603606081101561079657600080fd5b8101908080359060200190929190803590602001909291908035151590602001909291905050506126a8565b005b6107f0600480360360208110156107da57600080fd5b810190808035906020019092919050505061282d565b604051808573ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200182815260200194505050505060405180910390f35b60045481565b61099281565b6000600580549050905090565b6108526129a7565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610912576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f2fde38b826040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b15801561099d57600080fd5b505af11580156109b1573d6000803e3d6000fd5b505050508073ffffffffffffffffffffffffffffffffffffffff167f551b631bc31cc73731973e231e7a9329a6f2c047217c12f84178eee2254b0e5b60405160405180910390a250565b610a036129a7565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610ac3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f9d1282cdfc71dc7a2ef31c6e142773b7b49d55c648c16af9aff11d387e46ca5760405160405180910390a250565b6113ec81565b6006602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b62c2dad081565b600060058381548110610bb957fe5b9060005260206000209060040201905060006006600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508281600001541015610c97576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f4e6f7420656e6f756768204c5020746f6b656e2062616c616e6365000000000081525060200191505060405180910390fd5b610ca084610e13565b6000610ced8260010154610cdf670de0b6b3a7640000610cd1876003015487600001546128d790919063ffffffff16565b61295d90919063ffffffff16565b61288d90919063ffffffff16565b90506000811115610d0357610d0233826129af565b5b6000841115610d7b57610d2384836000015461288d90919063ffffffff16565b8260000181905550610d7a33858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612c289092919063ffffffff16565b5b610db0670de0b6b3a7640000610da2856003015485600001546128d790919063ffffffff16565b61295d90919063ffffffff16565b8260010181905550843373ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568866040518082815260200191505060405180910390a35050505050565b606881565b600060058281548110610e2257fe5b9060005260206000209060040201905080600201544311610e4357506114ae565b6000610e7d600454610e6f8460010154610e61866002015443611ad9565b6128d790919063ffffffff16565b61295d90919063ffffffff16565b905060008260000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610f0c57600080fd5b505afa158015610f20573d6000803e3d6000fd5b505050506040513d6020811015610f3657600080fd5b810190808051906020019092919050505090506000811115611265576000610f7d612710610f6f6113ec866128d790919063ffffffff16565b61295d90919063ffffffff16565b9050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611009612710610ffb610992896128d790919063ffffffff16565b61295d90919063ffffffff16565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561105c57600080fd5b505af1158015611070573d6000803e3d6000fd5b50505050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166110fe6127106110f0610992896128d790919063ffffffff16565b61295d90919063ffffffff16565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561115157600080fd5b505af1158015611165573d6000803e3d6000fd5b50505050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f1930836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1580156111fc57600080fd5b505af1158015611210573d6000803e3d6000fd5b5050505061125761124483611236670de0b6b3a7640000856128d790919063ffffffff16565b61295d90919063ffffffff16565b8560030154612cca90919063ffffffff16565b846003018190555050611464565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166112ef6127106112e1610992886128d790919063ffffffff16565b61295d90919063ffffffff16565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561134257600080fd5b505af1158015611356573d6000803e3d6000fd5b50505050600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166113f86127106113ea6113db6113ec610992612cca90919063ffffffff16565b886128d790919063ffffffff16565b61295d90919063ffffffff16565b6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561144b57600080fd5b505af115801561145f573d6000803e3d6000fd5b505050505b4383600201819055508260020154847ff5d2d72d9b25d6853afd7d0554a113b705234b6a68bb36b7f143662994632411846040518082815260200191505060405180910390a35050505b50565b6000600582815481106114c057fe5b9060005260206000209060040201905060006006600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600081600001549050600082600001819055506000826001018190555061159033828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612c289092919063ffffffff16565b833373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595836040518082815260200191505060405180910390a350505050565b6000600580549050905060005b818110156116105761160381610e13565b80806001019150506115f2565b5050565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6116426129a7565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611702576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415801561176c5750600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b6117c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d8152602001806134d1602d913960400191505060405180910390fd5b81600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f2629135685361a12b8336cd760f20c013116ea0ee04812a556657a173bffd10d60405160405180910390a35050565b6201637881565b6118f46129a7565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146119b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60076020528060005260406000206000915090505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600062c2dad0831015611aed5762c2dad092505b6301534390821115611b0157630153439091505b6000611b416001611b3362016378611b2562c2dad08961288d90919063ffffffff16565b61295d90919063ffffffff16565b612cca90919063ffffffff16565b90506000611b836001611b7562016378611b6762c2dad08961288d90919063ffffffff16565b61295d90919063ffffffff16565b612cca90919063ffffffff16565b905080821415611bcc57611bc56007600083815260200190815260200160002054611bb7878761288d90919063ffffffff16565b6128d790919063ffffffff16565b9250611d0a565b6000611c306007600085815260200190815260200160002054611c2288611c1462c2dad0611c0689620163786128d790919063ffffffff16565b612cca90919063ffffffff16565b61288d90919063ffffffff16565b6128d790919063ffffffff16565b90506000611c846007600085815260200190815260200160002054611c7662016378611c6862c2dad08b61288d90919063ffffffff16565b612d5290919063ffffffff16565b6128d790919063ffffffff16565b9050611c998183612cca90919063ffffffff16565b94506000611cb1600186612cca90919063ffffffff16565b90505b83811015611d0657611cf7611ce86007600084815260200190815260200160002054620163786128d790919063ffffffff16565b87612cca90919063ffffffff16565b95508080600101915050611cb4565b5050505b505092915050565b611d1a6129a7565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611dda576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b63015343904310611e53576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f416c726561647920656e6465640000000000000000000000000000000000000081525060200191505060405180910390fd5b611e728373ffffffffffffffffffffffffffffffffffffffff16612d9c565b611ec7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603181526020018061347f6031913960400191505060405180910390fd5b8015611ed657611ed56115e5565b5b600062c2dad04311611eeb5762c2dad0611eed565b435b90508260045401600481905550600560405180608001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020018581526020018381526020016000815250908060018154018082558091505060019003906000526020600020906004020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101556040820151816002015560608201518160030155505080838573ffffffffffffffffffffffffffffffffffffffff167f91f9fc48b66b7a063da39af8a9fdbeb546bedf998bd3545c257937a8ab95ead160405160405180910390a450505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806005848154811061204557fe5b9060005260206000209060040201905060006006600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260030154905060008360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561213f57600080fd5b505afa158015612153573d6000803e3d6000fd5b505050506040513d602081101561216957600080fd5b81019080805190602001909291905050509050836002015443118015612190575060008114155b156122425760006121a5856002015443611ad9565b905060006121fc6127106121ee6004546121e08a600101546121d26113ec896128d790919063ffffffff16565b6128d790919063ffffffff16565b61295d90919063ffffffff16565b61295d90919063ffffffff16565b905061223d61222e84612220670de0b6b3a7640000856128d790919063ffffffff16565b61295d90919063ffffffff16565b85612cca90919063ffffffff16565b935050505b612289836001015461227b670de0b6b3a764000061226d8688600001546128d790919063ffffffff16565b61295d90919063ffffffff16565b61288d90919063ffffffff16565b94505050505092915050565b630153439081565b61099281565b6000600583815481106122b257fe5b9060005260206000209060040201905060006006600085815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905061231f84610e13565b600081600001541115612391576000612379826001015461236b670de0b6b3a764000061235d876003015487600001546128d790919063ffffffff16565b61295d90919063ffffffff16565b61288d90919063ffffffff16565b9050600081111561238f5761238e33826129af565b5b505b600083111561240b576123eb3330858560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612daf909392919063ffffffff16565b612402838260000154612cca90919063ffffffff16565b81600001819055505b612440670de0b6b3a7640000612432846003015484600001546128d790919063ffffffff16565b61295d90919063ffffffff16565b8160010181905550833373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15856040518082815260200191505060405180910390a350505050565b6124a56129a7565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612565576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156125eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806134336026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6126b06129a7565b73ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612770576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b801561277f5761277e6115e5565b5b6127c4826127b66005868154811061279357fe5b90600052602060002090600402016001015460045461288d90919063ffffffff16565b612cca90919063ffffffff16565b60048190555081600584815481106127d857fe5b90600052602060002090600402016001018190555081837f4b8fa3d6a87cb21d1bf4978bf60628ae358a28ac7f39de1751a481c6dd9576176004546040518082815260200191505060405180910390a3505050565b6005818154811061283d57600080fd5b90600052602060002090600402016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154905084565b60006128cf83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612e70565b905092915050565b6000808314156128ea5760009050612957565b60008284029050828482816128fb57fe5b0414612952576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806134b06021913960400191505060405180910390fd5b809150505b92915050565b600061299f83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612f30565b905092915050565b600033905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015612a3a57600080fd5b505afa158015612a4e573d6000803e3d6000fd5b505050506040513d6020811015612a6457600080fd5b8101908080519060200190929190505050905080821115612b5357600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015612b1257600080fd5b505af1158015612b26573d6000803e3d6000fd5b505050506040513d6020811015612b3c57600080fd5b810190808051906020019092919050505050612c23565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb84846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015612be657600080fd5b505af1158015612bfa573d6000803e3d6000fd5b505050506040513d6020811015612c1057600080fd5b8101908080519060200190929190505050505b505050565b612cc58363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612ff6565b505050565b600080828401905083811015612d48576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6000612d9483836040518060400160405280601881526020017f536166654d6174683a206d6f64756c6f206279207a65726f00000000000000008152506130e5565b905092915050565b600080823b905060008111915050919050565b612e6a846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612ff6565b50505050565b6000838311158290612f1d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612ee2578082015181840152602081019050612ec7565b50505050905090810190601f168015612f0f5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60008083118290612fdc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612fa1578082015181840152602081019050612f86565b50505050905090810190601f168015612fce5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581612fe857fe5b049050809150509392505050565b6000613058826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166131a69092919063ffffffff16565b90506000815111156130e05780806020019051602081101561307957600080fd5b81019080805190602001909291905050506130df576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806134fe602a913960400191505060405180910390fd5b5b505050565b6000808314158290613192576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561315757808201518184015260208101905061313c565b50505050905090810190601f1680156131845780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5082848161319c57fe5b0690509392505050565b60606131b584846000856131be565b90509392505050565b606082471015613219576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806134596026913960400191505060405180910390fd5b61322285612d9c565b613294576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106132e357805182526020820191506020810190506020830392506132c0565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613345576040519150601f19603f3d011682016040523d82523d6000602084013e61334a565b606091505b509150915061335a828286613366565b92505050949350505050565b606083156133765782905061342b565b6000835111156133895782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156133f05780820151818401526020810190506133d5565b50505050905090810190601f16801561341d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4c5020746f6b656e20616464726573732073686f756c6420626520736d61727420636f6e74726163742061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77416e792077616c6c657420616464726573732073686f756c64206e6f74206265207a65726f20616464726573735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220c2b3a22225d955647c75d4faa5222b710b7aceb03834c9f5603a10434d6a4e9164736f6c63430007060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000059e83877bd248cbfe392dbb5a8a29959bcb48592000000000000000000000000dd6c35aff646b2fb7d8a8955ccbe0994409348d000000000000000000000000051e00a95748dbd2a3f47bc5c3b3e7b3f0fea666c
-----Decoded View---------------
Arg [0] : _treasuryWalletAddr (address): 0x59E83877bD248cBFe392dbB5A8a29959bcb48592
Arg [1] : _communityWalletAddr (address): 0xdd6c35aFF646B2fB7d8A8955Ccbe0994409348d0
Arg [2] : _dvg (address): 0x51e00a95748DBd2a3F47bC5c3b3E7B3F0fea666c
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 00000000000000000000000059e83877bd248cbfe392dbb5a8a29959bcb48592
Arg [1] : 000000000000000000000000dd6c35aff646b2fb7d8a8955ccbe0994409348d0
Arg [2] : 00000000000000000000000051e00a95748dbd2a3f47bc5c3b3e7b3f0fea666c
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.008294 | 314,412.4908 | $2,607.67 |
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.