More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 13,183 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Get Yield | 67518880 | 2 days ago | IN | 0 POL | 0.00427833 | ||||
Get Yield | 67349364 | 7 days ago | IN | 0 POL | 0.00432399 | ||||
Get Yield | 67249485 | 9 days ago | IN | 0 POL | 0.00335045 | ||||
Get Yield | 67249384 | 9 days ago | IN | 0 POL | 0.00335045 | ||||
Checkpoint | 67249375 | 9 days ago | IN | 0 POL | 0.00312536 | ||||
Get Yield | 66767842 | 21 days ago | IN | 0 POL | 0.00427779 | ||||
Get Yield | 66767739 | 21 days ago | IN | 0 POL | 0.00427779 | ||||
Get Yield | 66685125 | 23 days ago | IN | 0 POL | 0.00349361 | ||||
Get Yield | 66656096 | 24 days ago | IN | 0 POL | 0.01306798 | ||||
Checkpoint | 66656081 | 24 days ago | IN | 0 POL | 0.01097794 | ||||
Get Yield | 66528707 | 27 days ago | IN | 0 POL | 0.00806379 | ||||
Get Yield | 66160481 | 37 days ago | IN | 0 POL | 0.00403683 | ||||
Get Yield | 66147587 | 37 days ago | IN | 0 POL | 0.00552545 | ||||
Checkpoint | 66147580 | 37 days ago | IN | 0 POL | 0.00641061 | ||||
Get Yield | 66142246 | 37 days ago | IN | 0 POL | 0.00703528 | ||||
Get Yield | 65960961 | 42 days ago | IN | 0 POL | 0.00427837 | ||||
Get Yield | 65587370 | 51 days ago | IN | 0 POL | 0.00691041 | ||||
Get Yield | 65575985 | 51 days ago | IN | 0 POL | 0.00395877 | ||||
Get Yield | 65510422 | 53 days ago | IN | 0 POL | 0.00394824 | ||||
Checkpoint | 65510416 | 53 days ago | IN | 0 POL | 0.00311301 | ||||
Get Yield | 65510378 | 53 days ago | IN | 0 POL | 0.00348888 | ||||
Get Yield | 65510346 | 53 days ago | IN | 0 POL | 0.00348888 | ||||
Get Yield | 65510267 | 53 days ago | IN | 0 POL | 0.00372263 | ||||
Checkpoint | 65510258 | 53 days ago | IN | 0 POL | 0.00419676 | ||||
Get Yield | 65510215 | 53 days ago | IN | 0 POL | 0.00403683 |
Loading...
Loading
Contract Name:
veC3YieldDistributorV4
Compiler Version
v0.8.11+commit.d7f03943
Contract Source Code (Solidity)
/** *Submitted for verification at polygonscan.com on 2022-03-28 */ // File: contracts/Staking/Owned.sol pragma solidity >=0.6.11; // https://docs.synthetix.io/contracts/Owned contract Owned { address public owner; address public nominatedOwner; constructor (address _owner) public { require(_owner != address(0), "Owner address cannot be 0"); owner = _owner; emit OwnerChanged(address(0), _owner); } function nominateNewOwner(address _owner) external onlyOwner { nominatedOwner = _owner; emit OwnerNominated(_owner); } function acceptOwnership() external { require(msg.sender == nominatedOwner, "You must be nominated before you can accept ownership"); emit OwnerChanged(owner, nominatedOwner); owner = nominatedOwner; nominatedOwner = address(0); } modifier onlyOwner { require(msg.sender == owner, "Only the contract owner may perform this action"); _; } event OwnerNominated(address newOwner); event OwnerChanged(address oldOwner, address newOwner); } // File: contracts/Utils/ReentrancyGuard.sol pragma solidity >=0.6.11; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor () internal { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: contracts/Utils/Address.sol pragma solidity >=0.6.11 <0.9.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); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: contracts/Common/Context.sol pragma solidity >=0.6.11; /* * @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 payable(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; } } // File: contracts/Uniswap/TransferHelper.sol pragma solidity >=0.6.11; // helper methods for interacting with ERC20 tokens and sending ETH that do not consistently return true/false library TransferHelper { function safeApprove(address token, address to, uint value) internal { // bytes4(keccak256(bytes('approve(address,uint256)'))); (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x095ea7b3, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: APPROVE_FAILED'); } function safeTransfer(address token, address to, uint value) internal { // bytes4(keccak256(bytes('transfer(address,uint256)'))); (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0xa9059cbb, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: TRANSFER_FAILED'); } function safeTransferFrom(address token, address from, address to, uint value) internal { // bytes4(keccak256(bytes('transferFrom(address,address,uint256)'))); (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x23b872dd, from, to, value)); require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: TRANSFER_FROM_FAILED'); } function safeTransferETH(address to, uint value) internal { (bool success,) = to.call{value:value}(new bytes(0)); require(success, 'TransferHelper: ETH_TRANSFER_FAILED'); } } // File: contracts/Curve/IveC3.sol pragma solidity >=0.6.11; pragma abicoder v2; interface IveC3 { struct LockedBalance { int128 amount; uint256 end; } function commit_transfer_ownership(address addr) external; function apply_transfer_ownership() external; function commit_smart_wallet_checker(address addr) external; function apply_smart_wallet_checker() external; function toggleEmergencyUnlock() external; function recoverERC20(address token_addr, uint256 amount) external; function get_last_user_slope(address addr) external view returns (int128); function user_point_history__ts(address _addr, uint256 _idx) external view returns (uint256); function locked__end(address _addr) external view returns (uint256); function checkpoint() external; function deposit_for(address _addr, uint256 _value) external; function create_lock(uint256 _value, uint256 _unlock_time) external; function increase_amount(uint256 _value) external; function increase_unlock_time(uint256 _unlock_time) external; function withdraw() external; function balanceOf(address addr) external view returns (uint256); function balanceOf(address addr, uint256 _t) external view returns (uint256); function balanceOfAt(address addr, uint256 _block) external view returns (uint256); function totalSupply() external view returns (uint256); function totalSupply(uint256 t) external view returns (uint256); function totalSupplyAt(uint256 _block) external view returns (uint256); function totalC3Supply() external view returns (uint256); function totalC3SupplyAt(uint256 _block) external view returns (uint256); function changeController(address _newController) external; function token() external view returns (address); function supply() external view returns (uint256); function locked(address addr) external view returns (LockedBalance memory); function epoch() external view returns (uint256); function point_history(uint256 arg0) external view returns (int128 bias, int128 slope, uint256 ts, uint256 blk, uint256 fxs_amt); function user_point_history(address arg0, uint256 arg1) external view returns (int128 bias, int128 slope, uint256 ts, uint256 blk, uint256 fxs_amt); function user_point_epoch(address arg0) external view returns (uint256); function slope_changes(uint256 arg0) external view returns (int128); function controller() external view returns (address); function transfersEnabled() external view returns (bool); function emergencyUnlockActive() external view returns (bool); function name() external view returns (string memory); function symbol() external view returns (string memory); function version() external view returns (string memory); function decimals() external view returns (uint256); function future_smart_wallet_checker() external view returns (address); function smart_wallet_checker() external view returns (address); function admin() external view returns (address); function future_admin() external view returns (address); } // File: contracts/Math/SafeMath.sol pragma solidity >=0.6.11; /** * @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. * * _Available since v2.4.0._ */ 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. * * _Available since v2.4.0._ */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 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. * * _Available since v2.4.0._ */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: contracts/ERC20/IERC20.sol pragma solidity >=0.6.11; /** * @dev Interface of the ERC20 standard as defined in the EIP. Does not include * the optional functions; to access them see {ERC20Detailed}. */ 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); } // File: contracts/ERC20/SafeERC20.sol pragma solidity >=0.6.11; /** * @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"); } } } // File: contracts/ERC20/ERC20.sol pragma solidity >=0.6.11; /** * @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 {ERC20Mintable}. * * 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.approve(address spender, uint256 amount) */ 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 the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for `accounts`'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { uint256 decreasedAllowance = allowance(account, _msgSender()).sub(amount, "ERC20: burn amount exceeds allowance"); _approve(account, _msgSender(), decreasedAllowance); _burn(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 is 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 Destroys `amount` tokens from `account`.`amount` is then deducted * from the caller's allowance. * * See {_burn} and {_approve}. */ function _burnFrom(address account, uint256 amount) internal virtual { _burn(account, amount); _approve(account, _msgSender(), _allowances[account][_msgSender()].sub(amount, "ERC20: burn amount exceeds allowance")); } /** * @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:using-hooks.adoc[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } } // File: contracts/Math/Math.sol pragma solidity >=0.6.11; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow, so we distribute return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2); } // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method) function sqrt(uint y) internal pure returns (uint z) { if (y > 3) { z = y; uint x = y / 2 + 1; while (x < z) { z = x; x = (y / x + x) / 2; } } else if (y != 0) { z = 1; } } } // File: contracts/Staking/veC3YieldDistributorV4.sol pragma solidity >=0.8.0; // ==================================================================== // _____ _____ ______ _ // / __ |____ | | ___(_) // | / \/ / / | |_ _ _ __ __ _ _ __ ___ ___ // | | \ \ | _| | | '_ \ / _` | '_ \ / __/ _ \ // | \__/.___/ / | | | | | | | (_| | | | | (_| __/ // \____\____/ \_| |_|_| |_|\__,_|_| |_|\___\___| // // ==================================================================== // ================== veC3YieldDistributorV4.sol ================== // ==================================================================== // Distributes Frax protocol yield based on the claimer's veC3 balance // V3: Yield will now not accrue for unlocked veC3 // Frax Finance: https://github.com/FraxFinance // Primary Author(s) // Travis Moore: https://github.com/FortisFortuna // Reviewer(s) / Contributor(s) // Jason Huan: https://github.com/jasonhuan // Sam Kazemian: https://github.com/samkazemian // Originally inspired by Synthetix.io, but heavily modified by the Frax team (veFXS portion) // https://github.com/Synthetixio/synthetix/blob/develop/contracts/StakingRewards.sol // veC3YieldDistributorV4 is a fork of veFXSYieldDistributorV4 with variables renamed to C3 // "'can I copy your homework?'/ 'yeah just change it up a bit so it doesn't look obvious you copied' / 'ok' contract veC3YieldDistributorV4 is Owned, ReentrancyGuard { using SafeMath for uint256; using SafeERC20 for ERC20; /* ========== STATE VARIABLES ========== */ // Instances IveC3 private veC3; ERC20 public emittedToken; // Addresses address public emitted_token_address; // Admin addresses address public timelock_address; // Constant for price precision uint256 private constant PRICE_PRECISION = 1e6; // Yield and period related uint256 public periodFinish; uint256 public lastUpdateTime; uint256 public yieldRate; uint256 public yieldDuration = 604800; // 7 * 86400 (7 days) mapping(address => bool) public reward_notifiers; // Yield tracking uint256 public yieldPerVeC3Stored = 0; mapping(address => uint256) public userYieldPerTokenPaid; mapping(address => uint256) public yields; // veC3 tracking uint256 public totalVeC3Participating = 0; uint256 public totalVeC3SupplyStored = 0; mapping(address => bool) public userIsInitialized; mapping(address => uint256) public userVeC3Checkpointed; mapping(address => uint256) public userVeC3EndpointCheckpointed; mapping(address => uint256) private lastRewardClaimTime; // staker addr -> timestamp // Greylists mapping(address => bool) public greylist; // Admin booleans for emergencies bool public yieldCollectionPaused = false; // For emergencies struct LockedBalance { int128 amount; uint256 end; } /* ========== MODIFIERS ========== */ modifier onlyByOwnGov() { require( msg.sender == owner || msg.sender == timelock_address, "Not owner or timelock"); _; } modifier notYieldCollectionPaused() { require(yieldCollectionPaused == false, "Yield collection is paused"); _; } modifier checkpointUser(address account) { _checkpointUser(account); _; } /* ========== CONSTRUCTOR ========== */ constructor ( address _owner, address _emittedToken, address _timelock_address, address _veC3_address ) Owned(_owner) { emitted_token_address = _emittedToken; emittedToken = ERC20(_emittedToken); veC3 = IveC3(_veC3_address); lastUpdateTime = block.timestamp; timelock_address = _timelock_address; reward_notifiers[_owner] = true; } /* ========== VIEWS ========== */ function fractionParticipating() external view returns (uint256) { return totalVeC3Participating.mul(PRICE_PRECISION).div(totalVeC3SupplyStored); } // Only positions with locked veC3 can accrue yield. Otherwise, expired-locked veC3 // is de-facto rewards for C3. function eligibleCurrentVeC3(address account) public view returns (uint256 eligible_veC3_bal, uint256 stored_ending_timestamp) { uint256 curr_veC3_bal = veC3.balanceOf(account); // Stored is used to prevent abuse stored_ending_timestamp = userVeC3EndpointCheckpointed[account]; // Only unexpired veC3 should be eligible if (stored_ending_timestamp != 0 && (block.timestamp >= stored_ending_timestamp)){ eligible_veC3_bal = 0; } else if (block.timestamp >= stored_ending_timestamp){ eligible_veC3_bal = 0; } else { eligible_veC3_bal = curr_veC3_bal; } } function lastTimeYieldApplicable() public view returns (uint256) { return Math.min(block.timestamp, periodFinish); } function yieldPerVeC3() public view returns (uint256) { if (totalVeC3SupplyStored == 0) { return yieldPerVeC3Stored; } else { return ( yieldPerVeC3Stored.add( lastTimeYieldApplicable() .sub(lastUpdateTime) .mul(yieldRate) .mul(1e18) .div(totalVeC3SupplyStored) ) ); } } function earned(address account) public view returns (uint256) { // Uninitialized users should not earn anything yet if (!userIsInitialized[account]) return 0; // Get eligible veC3 balances (uint256 eligible_current_veC3, uint256 ending_timestamp) = eligibleCurrentVeC3(account); // If your veC3 is unlocked uint256 eligible_time_fraction = PRICE_PRECISION; if (eligible_current_veC3 == 0){ // And you already claimed after expiration if (lastRewardClaimTime[account] >= ending_timestamp) { // You get NOTHING. You LOSE. Good DAY ser! return 0; } // You haven't claimed yet else { uint256 eligible_time = (ending_timestamp).sub(lastRewardClaimTime[account]); uint256 total_time = (block.timestamp).sub(lastRewardClaimTime[account]); eligible_time_fraction = PRICE_PRECISION.mul(eligible_time).div(total_time); } } // If the amount of veC3 increased, only pay off based on the old balance // Otherwise, take the midpoint uint256 veC3_balance_to_use; { uint256 old_veC3_balance = userVeC3Checkpointed[account]; if (eligible_current_veC3 > old_veC3_balance){ veC3_balance_to_use = old_veC3_balance; } else { veC3_balance_to_use = ((eligible_current_veC3).add(old_veC3_balance)).div(2); } } return ( veC3_balance_to_use .mul(yieldPerVeC3().sub(userYieldPerTokenPaid[account])) .mul(eligible_time_fraction) .div(1e18 * PRICE_PRECISION) .add(yields[account]) ); } function getYieldForDuration() external view returns (uint256) { return (yieldRate.mul(yieldDuration)); } /* ========== MUTATIVE FUNCTIONS ========== */ function _checkpointUser(address account) internal { // Need to retro-adjust some things if the period hasn't been renewed, then start a new one sync(); // Calculate the earnings first _syncEarned(account); // Get the old and the new veC3 balances uint256 old_veC3_balance = userVeC3Checkpointed[account]; uint256 new_veC3_balance = veC3.balanceOf(account); // Update the user's stored veC3 balance userVeC3Checkpointed[account] = new_veC3_balance; // Update the user's stored ending timestamp IveC3.LockedBalance memory curr_locked_bal_pack = veC3.locked(account); userVeC3EndpointCheckpointed[account] = curr_locked_bal_pack.end; // Update the total amount participating if (new_veC3_balance >= old_veC3_balance) { uint256 weight_diff = new_veC3_balance.sub(old_veC3_balance); totalVeC3Participating = totalVeC3Participating.add(weight_diff); } else { uint256 weight_diff = old_veC3_balance.sub(new_veC3_balance); totalVeC3Participating = totalVeC3Participating.sub(weight_diff); } // Mark the user as initialized if (!userIsInitialized[account]) { userIsInitialized[account] = true; lastRewardClaimTime[account] = block.timestamp; } } function _syncEarned(address account) internal { if (account != address(0)) { uint256 earned0 = earned(account); yields[account] = earned0; userYieldPerTokenPaid[account] = yieldPerVeC3Stored; } } // Anyone can checkpoint another user function checkpointOtherUser(address user_addr) external { _checkpointUser(user_addr); } // Checkpoints the user function checkpoint() external { _checkpointUser(msg.sender); } function getYield() external nonReentrant notYieldCollectionPaused checkpointUser(msg.sender) returns (uint256 yield0) { require(greylist[msg.sender] == false, "Address has been greylisted"); yield0 = yields[msg.sender]; if (yield0 > 0) { yields[msg.sender] = 0; TransferHelper.safeTransfer( emitted_token_address, msg.sender, yield0 ); emit YieldCollected(msg.sender, yield0, emitted_token_address); } lastRewardClaimTime[msg.sender] = block.timestamp; } function sync() public { // Update the total veC3 supply yieldPerVeC3Stored = yieldPerVeC3(); totalVeC3SupplyStored = veC3.totalSupply(); lastUpdateTime = lastTimeYieldApplicable(); } function notifyRewardAmount(uint256 amount) external { // Only whitelisted addresses can notify rewards require(reward_notifiers[msg.sender], "Sender not whitelisted"); // Handle the transfer of emission tokens via `transferFrom` to reduce the number // of transactions required and ensure correctness of the smission amount emittedToken.safeTransferFrom(msg.sender, address(this), amount); // Update some values beforehand sync(); // Update the new yieldRate if (block.timestamp >= periodFinish) { yieldRate = amount.div(yieldDuration); } else { uint256 remaining = periodFinish.sub(block.timestamp); uint256 leftover = remaining.mul(yieldRate); yieldRate = amount.add(leftover).div(yieldDuration); } // Update duration-related info lastUpdateTime = block.timestamp; periodFinish = block.timestamp.add(yieldDuration); emit RewardAdded(amount, yieldRate); } /* ========== RESTRICTED FUNCTIONS ========== */ // Added to support recovering LP Yield and other mistaken tokens from other systems to be distributed to holders function recoverERC20(address tokenAddress, uint256 tokenAmount) external onlyByOwnGov { // Only the owner address can ever receive the recovery withdrawal TransferHelper.safeTransfer(tokenAddress, owner, tokenAmount); emit RecoveredERC20(tokenAddress, tokenAmount); } function setYieldDuration(uint256 _yieldDuration) external onlyByOwnGov { require( periodFinish == 0 || block.timestamp > periodFinish, "Previous yield period must be complete before changing the duration for the new period"); yieldDuration = _yieldDuration; emit YieldDurationUpdated(yieldDuration); } function greylistAddress(address _address) external onlyByOwnGov { greylist[_address] = !(greylist[_address]); } function toggleRewardNotifier(address notifier_addr) external onlyByOwnGov { reward_notifiers[notifier_addr] = !reward_notifiers[notifier_addr]; } function setPauses(bool _yieldCollectionPaused) external onlyByOwnGov { yieldCollectionPaused = _yieldCollectionPaused; } function setYieldRate(uint256 _new_rate0, bool sync_too) external onlyByOwnGov { yieldRate = _new_rate0; if (sync_too) { sync(); } } function setTimelock(address _new_timelock) external onlyByOwnGov { timelock_address = _new_timelock; } /* ========== EVENTS ========== */ event RewardAdded(uint256 reward, uint256 yieldRate); event OldYieldCollected(address indexed user, uint256 yield, address token_address); event YieldCollected(address indexed user, uint256 yield, address token_address); event YieldDurationUpdated(uint256 newDuration); event RecoveredERC20(address token, uint256 amount); event YieldPeriodRenewed(address token, uint256 yieldRate); event DefaultInitialization(); }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_emittedToken","type":"address"},{"internalType":"address","name":"_timelock_address","type":"address"},{"internalType":"address","name":"_veC3_address","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[],"name":"DefaultInitialization","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"yield","type":"uint256"},{"indexed":false,"internalType":"address","name":"token_address","type":"address"}],"name":"OldYieldCollected","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldOwner","type":"address"},{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerNominated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RecoveredERC20","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"yieldRate","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"yield","type":"uint256"},{"indexed":false,"internalType":"address","name":"token_address","type":"address"}],"name":"YieldCollected","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newDuration","type":"uint256"}],"name":"YieldDurationUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"yieldRate","type":"uint256"}],"name":"YieldPeriodRenewed","type":"event"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"checkpoint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user_addr","type":"address"}],"name":"checkpointOtherUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"eligibleCurrentVeC3","outputs":[{"internalType":"uint256","name":"eligible_veC3_bal","type":"uint256"},{"internalType":"uint256","name":"stored_ending_timestamp","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emittedToken","outputs":[{"internalType":"contract ERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emitted_token_address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fractionParticipating","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getYield","outputs":[{"internalType":"uint256","name":"yield0","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getYieldForDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"greylist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"greylistAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastTimeYieldApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"nominateNewOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"nominatedOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"reward_notifiers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_yieldCollectionPaused","type":"bool"}],"name":"setPauses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_new_timelock","type":"address"}],"name":"setTimelock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_yieldDuration","type":"uint256"}],"name":"setYieldDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_new_rate0","type":"uint256"},{"internalType":"bool","name":"sync_too","type":"bool"}],"name":"setYieldRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sync","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"timelock_address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"notifier_addr","type":"address"}],"name":"toggleRewardNotifier","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalVeC3Participating","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalVeC3SupplyStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userIsInitialized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userVeC3Checkpointed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userVeC3EndpointCheckpointed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userYieldPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"yieldCollectionPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"yieldDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"yieldPerVeC3","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"yieldPerVeC3Stored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"yieldRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"yields","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405262093a80600a556000600c819055600f8190556010556016805460ff191690553480156200003157600080fd5b5060405162001dd238038062001dd283398101604081905262000054916200019e565b836001600160a01b038116620000b05760405162461bcd60e51b815260206004820152601960248201527f4f776e657220616464726573732063616e6e6f74206265203000000000000000604482015260640160405180910390fd5b600080546001600160a01b0319166001600160a01b03831690811782556040805192835260208301919091527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c910160405180910390a15060016002819055600580546001600160a01b03199081166001600160a01b0396871690811790925560048054821690921790915560038054821693861693909317909255426008556006805490921692841692909217905591166000908152600b60205260409020805460ff19169091179055620001fb565b80516001600160a01b03811681146200019957600080fd5b919050565b60008060008060808587031215620001b557600080fd5b620001c08562000181565b9350620001d06020860162000181565b9250620001e06040860162000181565b9150620001f06060860162000181565b905092959194509250565b611bc7806200020b6000396000f3fe608060405234801561001057600080fd5b50600436106102475760003560e01c80638da5cb5b1161013b578063c2c4c5c1116100b8578063e67cc9151161007c578063e67cc91514610502578063e9218ff61461052a578063ebe2b12b1461053d578063fc939bb114610546578063fff6cae91461054e57600080fd5b8063c2c4c5c1146104b5578063c8f33c91146104bd578063dc6663c7146104c6578063dd685364146104d9578063e172cf21146104f957600080fd5b8063a4bc8dd5116100ff578063a4bc8dd514610432578063a875f47214610455578063ad1148cb14610475578063bd5c2a5014610482578063bdacb303146104a257600080fd5b80638da5cb5b146103d357806391519bda146103e6578063941d9f65146103f9578063948e25a21461040c5780639f8a835a1461041f57600080fd5b806350fe98ac116101c957806374ea0b981161018d57806374ea0b9814610394578063763b3445146103a757806379ba5097146103b05780637c262871146103b85780638980f11f146103c057600080fd5b806350fe98ac1461034757806353a47bb71461036757806356d9fff31461037a5780635b913e88146103825780636999ac931461038b57600080fd5b806335b2b3571161021057806335b2b357146102e557806338359fc2146102ee57806339a6e371146103195780633c6b16ab1461032157806342c92f6e1461033457600080fd5b80628cc2621461024c57806314b30537146102725780631627540c146102a557806319aec6d2146102ba57806331ca208c146102c2575b600080fd5b61025f61025a366004611905565b610556565b6040519081526020015b60405180910390f35b610295610280366004611905565b60116020526000908152604090205460ff1681565b6040519015158152602001610269565b6102b86102b3366004611905565b6106ef565b005b61025f6107bb565b6102956102d0366004611905565b60156020526000908152604090205460ff1681565b61025f600c5481565b600554610301906001600160a01b031681565b6040516001600160a01b039091168152602001610269565b61025f6107d9565b6102b861032f366004611920565b61081f565b6102b8610342366004611905565b610949565b61025f610355366004611905565b600e6020526000908152604090205481565b600154610301906001600160a01b031681565b61025f6109b1565b61025f60105481565b61025f60095481565b6102b86103a2366004611920565b6109bf565b61025f600f5481565b6102b8610ad4565b61025f610bbe565b6102b86103ce366004611939565b610d77565b600054610301906001600160a01b031681565b6102b86103f4366004611971565b610e14565b6102b8610407366004611905565b610e6a565b6102b861041a3660046119a1565b610ed2565b6102b861042d366004611905565b610f24565b610295610440366004611905565b600b6020526000908152604090205460ff1681565b61025f610463366004611905565b600d6020526000908152604090205481565b6016546102959060ff1681565b61025f610490366004611905565b60126020526000908152604090205481565b6102b86104b0366004611905565b610f30565b6102b8610f91565b61025f60085481565b600654610301906001600160a01b031681565b61025f6104e7366004611905565b60136020526000908152604090205481565b61025f600a5481565b610515610510366004611905565b610f9c565b60408051928352602083019190915201610269565b600454610301906001600160a01b031681565b61025f60075481565b61025f611065565b6102b8611085565b6001600160a01b03811660009081526011602052604081205460ff1661057e57506000919050565b60008061058a84610f9c565b9092509050620f42408261062c576001600160a01b03851660009081526014602052604090205482116105c257506000949350505050565b6001600160a01b0385166000908152601460205260408120546105e690849061110e565b6001600160a01b0387166000908152601460205260408120549192509061060e90429061110e565b905061062781610621620f424085611159565b906111d8565b925050505b6001600160a01b0385166000908152601260205260408120548085111561065557809150610667565b6106646002610621878461121a565b91505b506001600160a01b0386166000908152600e60205260409020546106e5906106df61069d620f4240670de0b6b3a76400006119d4565b6001600160a01b038a166000908152600d60205260409020546106219087906106d9906106d2906106cc6107d9565b9061110e565b8890611159565b90611159565b9061121a565b9695505050505050565b6000546001600160a01b031633146107665760405162461bcd60e51b815260206004820152602f60248201527f4f6e6c792074686520636f6e7472616374206f776e6572206d6179207065726660448201526e37b936903a3434b99030b1ba34b7b760891b60648201526084015b60405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040519081527f906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22906020015b60405180910390a150565b60006107d4600a5460095461115990919063ffffffff16565b905090565b6000601054600014156107ed5750600c5490565b6107d4610816601054610621670de0b6b3a76400006106d96009546106d96008546106cc6109b1565b600c549061121a565b336000908152600b602052604090205460ff166108775760405162461bcd60e51b815260206004820152601660248201527514d95b99195c881b9bdd081dda1a5d195b1a5cdd195960521b604482015260640161075d565b60045461088f906001600160a01b0316333084611279565b610897611085565b60075442106108b657600a546108ae9082906111d8565b6009556108f9565b6007546000906108c6904261110e565b905060006108df6009548361115990919063ffffffff16565b600a549091506108f390610621858461121a565b60095550505b426008819055600a5461090c919061121a565b6007556009546040805183815260208101929092527f6c07ee05dcf262f13abf9d87b846ee789d2f90fe991d495acd7d7fc109ee1f5591016107b0565b6000546001600160a01b031633148061096c57506006546001600160a01b031633145b6109885760405162461bcd60e51b815260040161075d906119f3565b6001600160a01b03166000908152600b60205260409020805460ff19811660ff90911615179055565b60006107d4426007546112d9565b6000546001600160a01b03163314806109e257506006546001600160a01b031633145b6109fe5760405162461bcd60e51b815260040161075d906119f3565b6007541580610a0e575060075442115b610a9f5760405162461bcd60e51b815260206004820152605660248201527f50726576696f7573207969656c6420706572696f64206d75737420626520636f60448201527f6d706c657465206265666f7265206368616e67696e67207468652064757261746064820152751a5bdb88199bdc881d1a19481b995dc81c195c9a5bd960521b608482015260a40161075d565b600a8190556040518181527fce653f06b9044b00e7d9d01b9b4228e84812092cb6a38371889bef19370d21f7906020016107b0565b6001546001600160a01b03163314610b4c5760405162461bcd60e51b815260206004820152603560248201527f596f75206d757374206265206e6f6d696e61746564206265666f726520796f7560448201527402063616e20616363657074206f776e65727368697605c1b606482015260840161075d565b600054600154604080516001600160a01b0393841681529290911660208301527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c910160405180910390a160018054600080546001600160a01b03199081166001600160a01b03841617909155169055565b6000600280541415610c125760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161075d565b6002805560165460ff1615610c695760405162461bcd60e51b815260206004820152601a60248201527f5969656c6420636f6c6c656374696f6e20697320706175736564000000000000604482015260640161075d565b33610c73816112ef565b3360009081526015602052604090205460ff1615610cd35760405162461bcd60e51b815260206004820152601b60248201527f4164647265737320686173206265656e20677265796c69737465640000000000604482015260640161075d565b336000908152600e602052604090205491508115610d5c57336000818152600e6020526040812055600554610d14916001600160a01b0390911690846114cc565b600554604080518481526001600160a01b03909216602083015233917f3998039806f6db7e5d83a5371638cc47dd2e9ae500d5d561d95ec6381f53e3cd910160405180910390a25b50336000908152601460205260409020429055600160025590565b6000546001600160a01b0316331480610d9a57506006546001600160a01b031633145b610db65760405162461bcd60e51b815260040161075d906119f3565b600054610dce9083906001600160a01b0316836114cc565b604080516001600160a01b0384168152602081018390527f55350610fe57096d8c0ffa30beede987326bccfcb0b4415804164d0dd50ce8b1910160405180910390a15050565b6000546001600160a01b0316331480610e3757506006546001600160a01b031633145b610e535760405162461bcd60e51b815260040161075d906119f3565b60098290558015610e6657610e66611085565b5050565b6000546001600160a01b0316331480610e8d57506006546001600160a01b031633145b610ea95760405162461bcd60e51b815260040161075d906119f3565b6001600160a01b03166000908152601560205260409020805460ff19811660ff90911615179055565b6000546001600160a01b0316331480610ef557506006546001600160a01b031633145b610f115760405162461bcd60e51b815260040161075d906119f3565b6016805460ff1916911515919091179055565b610f2d816112ef565b50565b6000546001600160a01b0316331480610f5357506006546001600160a01b031633145b610f6f5760405162461bcd60e51b815260040161075d906119f3565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b610f9a336112ef565b565b6003546040516370a0823160e01b81526001600160a01b03838116600483015260009283928392909116906370a0823190602401602060405180830381865afa158015610fed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110119190611a22565b6001600160a01b03851660009081526013602052604090205492509050811580159061103d5750814210155b1561104b576000925061105f565b81421061105b576000925061105f565b8092505b50915091565b60006107d4601054610621620f4240600f5461115990919063ffffffff16565b61108d6107d9565b600c55600354604080516318160ddd60e01b815290516001600160a01b03909216916318160ddd916004808201926020929091908290030181865afa1580156110da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110fe9190611a22565b6010556111096109b1565b600855565b600061115083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506115e7565b90505b92915050565b60008261116857506000611153565b600061117483856119d4565b9050826111818583611a3b565b146111505760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161075d565b600061115083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611623565b6000806112278385611a5d565b9050838110156111505760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161075d565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526112d3908590611651565b50505050565b60008183106112e85781611150565b5090919050565b6112f7611085565b61130081611728565b6001600160a01b038181166000818152601260205260408082205460035491516370a0823160e01b815260048101949094529391929116906370a0823190602401602060405180830381865afa15801561135e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113829190611a22565b6001600160a01b03848116600081815260126020526040808220859055600354905163cbf9fe5f60e01b81526004810193909352939450929091169063cbf9fe5f906024016040805180830381865afa1580156113e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114079190611a75565b6020808201516001600160a01b03871660009081526013909252604090912055905082821061145557600061143c838561110e565b600f5490915061144c908261121a565b600f5550611476565b6000611461848461110e565b600f54909150611471908261110e565b600f55505b6001600160a01b03841660009081526011602052604090205460ff166112d3576001600160a01b0384166000908152601160209081526040808320805460ff191660011790556014909152902042905550505050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b17905291516000928392908716916115289190611b0e565b6000604051808303816000865af19150503d8060008114611565576040519150601f19603f3d011682016040523d82523d6000602084013e61156a565b606091505b50915091508180156115945750805115806115945750808060200190518101906115949190611b2a565b6115e05760405162461bcd60e51b815260206004820152601f60248201527f5472616e7366657248656c7065723a205452414e534645525f4641494c454400604482015260640161075d565b5050505050565b6000818484111561160b5760405162461bcd60e51b815260040161075d9190611b47565b5060006116188486611b7a565b9150505b9392505050565b600081836116445760405162461bcd60e51b815260040161075d9190611b47565b5060006116188486611a3b565b60006116a6826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166117719092919063ffffffff16565b80519091501561172357808060200190518101906116c49190611b2a565b6117235760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161075d565b505050565b6001600160a01b03811615610f2d57600061174282610556565b6001600160a01b0383166000908152600e6020908152604080832093909355600c54600d909152919020555050565b60606117808484600085611788565b949350505050565b6060824710156117e95760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161075d565b843b6118375760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161075d565b600080866001600160a01b031685876040516118539190611b0e565b60006040518083038185875af1925050503d8060008114611890576040519150601f19603f3d011682016040523d82523d6000602084013e611895565b606091505b50915091506118a58282866118b0565b979650505050505050565b606083156118bf57508161161c565b8251156118cf5782518084602001fd5b8160405162461bcd60e51b815260040161075d9190611b47565b80356001600160a01b038116811461190057600080fd5b919050565b60006020828403121561191757600080fd5b611150826118e9565b60006020828403121561193257600080fd5b5035919050565b6000806040838503121561194c57600080fd5b611955836118e9565b946020939093013593505050565b8015158114610f2d57600080fd5b6000806040838503121561198457600080fd5b82359150602083013561199681611963565b809150509250929050565b6000602082840312156119b357600080fd5b813561115081611963565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156119ee576119ee6119be565b500290565b6020808252601590820152744e6f74206f776e6572206f722074696d656c6f636b60581b604082015260600190565b600060208284031215611a3457600080fd5b5051919050565b600082611a5857634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115611a7057611a706119be565b500190565b600060408284031215611a8757600080fd5b6040516040810181811067ffffffffffffffff82111715611ab857634e487b7160e01b600052604160045260246000fd5b6040528251600f81900b8114611acd57600080fd5b81526020928301519281019290925250919050565b60005b83811015611afd578181015183820152602001611ae5565b838111156112d35750506000910152565b60008251611b20818460208701611ae2565b9190910192915050565b600060208284031215611b3c57600080fd5b815161115081611963565b6020815260008251806020840152611b66816040850160208701611ae2565b601f01601f19169190910160400192915050565b600082821015611b8c57611b8c6119be565b50039056fea2646970667358221220219ddd457170587d4172d6a75ff6db50a8a3ebc96e0469d12c9e86991faa94fc64736f6c634300080b00330000000000000000000000008c250a8128c76b25103174d0cf9dee4800ebfecd000000000000000000000000ad01dffe604cdc172d8237566ee3a3ab6524d4c60000000000000000000000009dca574b1b6bd51cbd02a3d98716597bd84c45eb0000000000000000000000006a88a0abb9be9f9050ff87753b84613f4e28361b
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102475760003560e01c80638da5cb5b1161013b578063c2c4c5c1116100b8578063e67cc9151161007c578063e67cc91514610502578063e9218ff61461052a578063ebe2b12b1461053d578063fc939bb114610546578063fff6cae91461054e57600080fd5b8063c2c4c5c1146104b5578063c8f33c91146104bd578063dc6663c7146104c6578063dd685364146104d9578063e172cf21146104f957600080fd5b8063a4bc8dd5116100ff578063a4bc8dd514610432578063a875f47214610455578063ad1148cb14610475578063bd5c2a5014610482578063bdacb303146104a257600080fd5b80638da5cb5b146103d357806391519bda146103e6578063941d9f65146103f9578063948e25a21461040c5780639f8a835a1461041f57600080fd5b806350fe98ac116101c957806374ea0b981161018d57806374ea0b9814610394578063763b3445146103a757806379ba5097146103b05780637c262871146103b85780638980f11f146103c057600080fd5b806350fe98ac1461034757806353a47bb71461036757806356d9fff31461037a5780635b913e88146103825780636999ac931461038b57600080fd5b806335b2b3571161021057806335b2b357146102e557806338359fc2146102ee57806339a6e371146103195780633c6b16ab1461032157806342c92f6e1461033457600080fd5b80628cc2621461024c57806314b30537146102725780631627540c146102a557806319aec6d2146102ba57806331ca208c146102c2575b600080fd5b61025f61025a366004611905565b610556565b6040519081526020015b60405180910390f35b610295610280366004611905565b60116020526000908152604090205460ff1681565b6040519015158152602001610269565b6102b86102b3366004611905565b6106ef565b005b61025f6107bb565b6102956102d0366004611905565b60156020526000908152604090205460ff1681565b61025f600c5481565b600554610301906001600160a01b031681565b6040516001600160a01b039091168152602001610269565b61025f6107d9565b6102b861032f366004611920565b61081f565b6102b8610342366004611905565b610949565b61025f610355366004611905565b600e6020526000908152604090205481565b600154610301906001600160a01b031681565b61025f6109b1565b61025f60105481565b61025f60095481565b6102b86103a2366004611920565b6109bf565b61025f600f5481565b6102b8610ad4565b61025f610bbe565b6102b86103ce366004611939565b610d77565b600054610301906001600160a01b031681565b6102b86103f4366004611971565b610e14565b6102b8610407366004611905565b610e6a565b6102b861041a3660046119a1565b610ed2565b6102b861042d366004611905565b610f24565b610295610440366004611905565b600b6020526000908152604090205460ff1681565b61025f610463366004611905565b600d6020526000908152604090205481565b6016546102959060ff1681565b61025f610490366004611905565b60126020526000908152604090205481565b6102b86104b0366004611905565b610f30565b6102b8610f91565b61025f60085481565b600654610301906001600160a01b031681565b61025f6104e7366004611905565b60136020526000908152604090205481565b61025f600a5481565b610515610510366004611905565b610f9c565b60408051928352602083019190915201610269565b600454610301906001600160a01b031681565b61025f60075481565b61025f611065565b6102b8611085565b6001600160a01b03811660009081526011602052604081205460ff1661057e57506000919050565b60008061058a84610f9c565b9092509050620f42408261062c576001600160a01b03851660009081526014602052604090205482116105c257506000949350505050565b6001600160a01b0385166000908152601460205260408120546105e690849061110e565b6001600160a01b0387166000908152601460205260408120549192509061060e90429061110e565b905061062781610621620f424085611159565b906111d8565b925050505b6001600160a01b0385166000908152601260205260408120548085111561065557809150610667565b6106646002610621878461121a565b91505b506001600160a01b0386166000908152600e60205260409020546106e5906106df61069d620f4240670de0b6b3a76400006119d4565b6001600160a01b038a166000908152600d60205260409020546106219087906106d9906106d2906106cc6107d9565b9061110e565b8890611159565b90611159565b9061121a565b9695505050505050565b6000546001600160a01b031633146107665760405162461bcd60e51b815260206004820152602f60248201527f4f6e6c792074686520636f6e7472616374206f776e6572206d6179207065726660448201526e37b936903a3434b99030b1ba34b7b760891b60648201526084015b60405180910390fd5b600180546001600160a01b0319166001600160a01b0383169081179091556040519081527f906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22906020015b60405180910390a150565b60006107d4600a5460095461115990919063ffffffff16565b905090565b6000601054600014156107ed5750600c5490565b6107d4610816601054610621670de0b6b3a76400006106d96009546106d96008546106cc6109b1565b600c549061121a565b336000908152600b602052604090205460ff166108775760405162461bcd60e51b815260206004820152601660248201527514d95b99195c881b9bdd081dda1a5d195b1a5cdd195960521b604482015260640161075d565b60045461088f906001600160a01b0316333084611279565b610897611085565b60075442106108b657600a546108ae9082906111d8565b6009556108f9565b6007546000906108c6904261110e565b905060006108df6009548361115990919063ffffffff16565b600a549091506108f390610621858461121a565b60095550505b426008819055600a5461090c919061121a565b6007556009546040805183815260208101929092527f6c07ee05dcf262f13abf9d87b846ee789d2f90fe991d495acd7d7fc109ee1f5591016107b0565b6000546001600160a01b031633148061096c57506006546001600160a01b031633145b6109885760405162461bcd60e51b815260040161075d906119f3565b6001600160a01b03166000908152600b60205260409020805460ff19811660ff90911615179055565b60006107d4426007546112d9565b6000546001600160a01b03163314806109e257506006546001600160a01b031633145b6109fe5760405162461bcd60e51b815260040161075d906119f3565b6007541580610a0e575060075442115b610a9f5760405162461bcd60e51b815260206004820152605660248201527f50726576696f7573207969656c6420706572696f64206d75737420626520636f60448201527f6d706c657465206265666f7265206368616e67696e67207468652064757261746064820152751a5bdb88199bdc881d1a19481b995dc81c195c9a5bd960521b608482015260a40161075d565b600a8190556040518181527fce653f06b9044b00e7d9d01b9b4228e84812092cb6a38371889bef19370d21f7906020016107b0565b6001546001600160a01b03163314610b4c5760405162461bcd60e51b815260206004820152603560248201527f596f75206d757374206265206e6f6d696e61746564206265666f726520796f7560448201527402063616e20616363657074206f776e65727368697605c1b606482015260840161075d565b600054600154604080516001600160a01b0393841681529290911660208301527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c910160405180910390a160018054600080546001600160a01b03199081166001600160a01b03841617909155169055565b6000600280541415610c125760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161075d565b6002805560165460ff1615610c695760405162461bcd60e51b815260206004820152601a60248201527f5969656c6420636f6c6c656374696f6e20697320706175736564000000000000604482015260640161075d565b33610c73816112ef565b3360009081526015602052604090205460ff1615610cd35760405162461bcd60e51b815260206004820152601b60248201527f4164647265737320686173206265656e20677265796c69737465640000000000604482015260640161075d565b336000908152600e602052604090205491508115610d5c57336000818152600e6020526040812055600554610d14916001600160a01b0390911690846114cc565b600554604080518481526001600160a01b03909216602083015233917f3998039806f6db7e5d83a5371638cc47dd2e9ae500d5d561d95ec6381f53e3cd910160405180910390a25b50336000908152601460205260409020429055600160025590565b6000546001600160a01b0316331480610d9a57506006546001600160a01b031633145b610db65760405162461bcd60e51b815260040161075d906119f3565b600054610dce9083906001600160a01b0316836114cc565b604080516001600160a01b0384168152602081018390527f55350610fe57096d8c0ffa30beede987326bccfcb0b4415804164d0dd50ce8b1910160405180910390a15050565b6000546001600160a01b0316331480610e3757506006546001600160a01b031633145b610e535760405162461bcd60e51b815260040161075d906119f3565b60098290558015610e6657610e66611085565b5050565b6000546001600160a01b0316331480610e8d57506006546001600160a01b031633145b610ea95760405162461bcd60e51b815260040161075d906119f3565b6001600160a01b03166000908152601560205260409020805460ff19811660ff90911615179055565b6000546001600160a01b0316331480610ef557506006546001600160a01b031633145b610f115760405162461bcd60e51b815260040161075d906119f3565b6016805460ff1916911515919091179055565b610f2d816112ef565b50565b6000546001600160a01b0316331480610f5357506006546001600160a01b031633145b610f6f5760405162461bcd60e51b815260040161075d906119f3565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b610f9a336112ef565b565b6003546040516370a0823160e01b81526001600160a01b03838116600483015260009283928392909116906370a0823190602401602060405180830381865afa158015610fed573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110119190611a22565b6001600160a01b03851660009081526013602052604090205492509050811580159061103d5750814210155b1561104b576000925061105f565b81421061105b576000925061105f565b8092505b50915091565b60006107d4601054610621620f4240600f5461115990919063ffffffff16565b61108d6107d9565b600c55600354604080516318160ddd60e01b815290516001600160a01b03909216916318160ddd916004808201926020929091908290030181865afa1580156110da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110fe9190611a22565b6010556111096109b1565b600855565b600061115083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506115e7565b90505b92915050565b60008261116857506000611153565b600061117483856119d4565b9050826111818583611a3b565b146111505760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161075d565b600061115083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611623565b6000806112278385611a5d565b9050838110156111505760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161075d565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526112d3908590611651565b50505050565b60008183106112e85781611150565b5090919050565b6112f7611085565b61130081611728565b6001600160a01b038181166000818152601260205260408082205460035491516370a0823160e01b815260048101949094529391929116906370a0823190602401602060405180830381865afa15801561135e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113829190611a22565b6001600160a01b03848116600081815260126020526040808220859055600354905163cbf9fe5f60e01b81526004810193909352939450929091169063cbf9fe5f906024016040805180830381865afa1580156113e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114079190611a75565b6020808201516001600160a01b03871660009081526013909252604090912055905082821061145557600061143c838561110e565b600f5490915061144c908261121a565b600f5550611476565b6000611461848461110e565b600f54909150611471908261110e565b600f55505b6001600160a01b03841660009081526011602052604090205460ff166112d3576001600160a01b0384166000908152601160209081526040808320805460ff191660011790556014909152902042905550505050565b604080516001600160a01b038481166024830152604480830185905283518084039091018152606490920183526020820180516001600160e01b031663a9059cbb60e01b17905291516000928392908716916115289190611b0e565b6000604051808303816000865af19150503d8060008114611565576040519150601f19603f3d011682016040523d82523d6000602084013e61156a565b606091505b50915091508180156115945750805115806115945750808060200190518101906115949190611b2a565b6115e05760405162461bcd60e51b815260206004820152601f60248201527f5472616e7366657248656c7065723a205452414e534645525f4641494c454400604482015260640161075d565b5050505050565b6000818484111561160b5760405162461bcd60e51b815260040161075d9190611b47565b5060006116188486611b7a565b9150505b9392505050565b600081836116445760405162461bcd60e51b815260040161075d9190611b47565b5060006116188486611a3b565b60006116a6826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166117719092919063ffffffff16565b80519091501561172357808060200190518101906116c49190611b2a565b6117235760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161075d565b505050565b6001600160a01b03811615610f2d57600061174282610556565b6001600160a01b0383166000908152600e6020908152604080832093909355600c54600d909152919020555050565b60606117808484600085611788565b949350505050565b6060824710156117e95760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161075d565b843b6118375760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161075d565b600080866001600160a01b031685876040516118539190611b0e565b60006040518083038185875af1925050503d8060008114611890576040519150601f19603f3d011682016040523d82523d6000602084013e611895565b606091505b50915091506118a58282866118b0565b979650505050505050565b606083156118bf57508161161c565b8251156118cf5782518084602001fd5b8160405162461bcd60e51b815260040161075d9190611b47565b80356001600160a01b038116811461190057600080fd5b919050565b60006020828403121561191757600080fd5b611150826118e9565b60006020828403121561193257600080fd5b5035919050565b6000806040838503121561194c57600080fd5b611955836118e9565b946020939093013593505050565b8015158114610f2d57600080fd5b6000806040838503121561198457600080fd5b82359150602083013561199681611963565b809150509250929050565b6000602082840312156119b357600080fd5b813561115081611963565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156119ee576119ee6119be565b500290565b6020808252601590820152744e6f74206f776e6572206f722074696d656c6f636b60581b604082015260600190565b600060208284031215611a3457600080fd5b5051919050565b600082611a5857634e487b7160e01b600052601260045260246000fd5b500490565b60008219821115611a7057611a706119be565b500190565b600060408284031215611a8757600080fd5b6040516040810181811067ffffffffffffffff82111715611ab857634e487b7160e01b600052604160045260246000fd5b6040528251600f81900b8114611acd57600080fd5b81526020928301519281019290925250919050565b60005b83811015611afd578181015183820152602001611ae5565b838111156112d35750506000910152565b60008251611b20818460208701611ae2565b9190910192915050565b600060208284031215611b3c57600080fd5b815161115081611963565b6020815260008251806020840152611b66816040850160208701611ae2565b601f01601f19169190910160400192915050565b600082821015611b8c57611b8c6119be565b50039056fea2646970667358221220219ddd457170587d4172d6a75ff6db50a8a3ebc96e0469d12c9e86991faa94fc64736f6c634300080b0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000008c250a8128c76b25103174d0cf9dee4800ebfecd000000000000000000000000ad01dffe604cdc172d8237566ee3a3ab6524d4c60000000000000000000000009dca574b1b6bd51cbd02a3d98716597bd84c45eb0000000000000000000000006a88a0abb9be9f9050ff87753b84613f4e28361b
-----Decoded View---------------
Arg [0] : _owner (address): 0x8C250a8128c76B25103174d0Cf9dee4800EBfECd
Arg [1] : _emittedToken (address): 0xad01DFfe604CDc172D8237566eE3a3ab6524d4C6
Arg [2] : _timelock_address (address): 0x9dcA574B1B6BD51CbD02A3d98716597Bd84C45Eb
Arg [3] : _veC3_address (address): 0x6A88A0abb9bE9f9050Ff87753b84613F4E28361B
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000008c250a8128c76b25103174d0cf9dee4800ebfecd
Arg [1] : 000000000000000000000000ad01dffe604cdc172d8237566ee3a3ab6524d4c6
Arg [2] : 0000000000000000000000009dca574b1b6bd51cbd02a3d98716597bd84c45eb
Arg [3] : 0000000000000000000000006a88a0abb9be9f9050ff87753b84613f4e28361b
Deployed Bytecode Sourcemap
44136:12171:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48324:1849;;;;;;:::i;:::-;;:::i;:::-;;;529:25:1;;;517:2;502:18;48324:1849:0;;;;;;;;45170:49;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;730:14:1;;723:22;705:41;;693:2;678:18;45170:49:0;565:187:1;398:141:0;;;;;;:::i;:::-;;:::i;:::-;;50181:119;;;:::i;45468:40::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;44896:37;;;;;;44414:36;;;;;-1:-1:-1;;;;;44414:36:0;;;;;;-1:-1:-1;;;;;921:32:1;;;903:51;;891:2;876:18;44414:36:0;757:203:1;47821:495:0;;;:::i;53160:1067::-;;;;;;:::i;:::-;;:::i;55194:160::-;;;;;;:::i;:::-;;:::i;45003:41::-;;;;;;:::i;:::-;;;;;;;;;;;;;;166:29;;;;;-1:-1:-1;;;;;166:29:0;;;47683:130;;;:::i;45123:40::-;;;;;;44718:24;;;;;;54718:334;;;;;;:::i;:::-;;:::i;45075:41::-;;;;;;547:271;;;:::i;52306:612::-;;;:::i;54410:300::-;;;;;;:::i;:::-;;:::i;139:20::-;;;;;-1:-1:-1;;;;;139:20:0;;;55505:179;;;;;;:::i;:::-;;:::i;55060:126::-;;;;;;:::i;:::-;;:::i;55362:135::-;;;;;;:::i;:::-;;:::i;52082:102::-;;;;;;:::i;:::-;;:::i;44816:48::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;44940:56;;;;;;:::i;:::-;;;;;;;;;;;;;;45556:41;;;;;;;;;45226:55;;;;;;:::i;:::-;;;;;;;;;;;;;;55692:117;;;;;;:::i;:::-;;:::i;52221:77::-;;;:::i;44682:29::-;;;;;;44483:31;;;;;-1:-1:-1;;;;;44483:31:0;;;45288:63;;;;;;:::i;:::-;;;;;;;;;;;;;;44749:37;;;;;;46977:698;;;;;;:::i;:::-;;:::i;:::-;;;;2266:25:1;;;2322:2;2307:18;;2300:34;;;;2239:18;46977:698:0;2092:248:1;44362:25:0;;;;;-1:-1:-1;;;;;44362:25:0;;;44648:27;;;;;;46683:161;;;:::i;52928:224::-;;;:::i;48324:1849::-;-1:-1:-1;;;;;48464:26:0;;48378:7;48464:26;;;:17;:26;;;;;;;;48459:41;;-1:-1:-1;48499:1:0;;48324:1849;-1:-1:-1;48324:1849:0:o;48459:41::-;48553:29;48584:24;48612:28;48632:7;48612:19;:28::i;:::-;48552:88;;-1:-1:-1;48552:88:0;-1:-1:-1;44603:3:0;48753:26;48749:627;;-1:-1:-1;;;;;48856:28:0;;;;;;:19;:28;;;;;;:48;-1:-1:-1;48852:513:0;;-1:-1:-1;48993:1:0;;48324:1849;-1:-1:-1;;;;48324:1849:0:o;48852:513::-;-1:-1:-1;;;;;49135:28:0;;49088:21;49135:28;;;:19;:28;;;;;;49112:52;;49113:16;;49112:22;:52::i;:::-;-1:-1:-1;;;;;49226:28:0;;49183:18;49226:28;;;:19;:28;;;;;;49088:76;;-1:-1:-1;49183:18:0;49204:51;;49205:15;;49204:21;:51::i;:::-;49183:72;-1:-1:-1;49299:50:0;49183:72;49299:34;44603:3;49319:13;49299:19;:34::i;:::-;:38;;:50::i;:::-;49274:75;;49069:296;;48852:513;-1:-1:-1;;;;;49592:29:0;;49512:27;49592:29;;;:20;:29;;;;;;49640:40;;;49636:249;;;49722:16;49700:38;;49636:249;;;49814:54;49866:1;49815:45;49816:21;49843:16;49815:27;:45::i;49814:54::-;49792:76;;49636:249;-1:-1:-1;;;;;;50138:15:0;;;;;;:6;:15;;;;;;49930:224;;:185;50092:22;44603:3;50092:4;:22;:::i;:::-;-1:-1:-1;;;;;49991:30:0;;;;;;:21;:30;;;;;;49930:139;;50046:22;;49930:93;;49972:50;;:14;:12;:14::i;:::-;:18;;:50::i;:::-;49930:19;;:41;:93::i;:::-;:115;;:139::i;:185::-;:207;;:224::i;:::-;49908:257;48324:1849;-1:-1:-1;;;;;;48324:1849:0:o;398:141::-;878:5;;-1:-1:-1;;;;;878:5:0;864:10;:19;856:79;;;;-1:-1:-1;;;856:79:0;;3074:2:1;856:79:0;;;3056:21:1;3113:2;3093:18;;;3086:30;3152:34;3132:18;;;3125:62;-1:-1:-1;;;3203:18:1;;;3196:45;3258:19;;856:79:0;;;;;;;;;470:14:::1;:23:::0;;-1:-1:-1;;;;;;470:23:0::1;-1:-1:-1::0;;;;;470:23:0;::::1;::::0;;::::1;::::0;;;509:22:::1;::::0;903:51:1;;;509:22:0::1;::::0;891:2:1;876:18;509:22:0::1;;;;;;;;398:141:::0;:::o;50181:119::-;50235:7;50263:28;50277:13;;50263:9;;:13;;:28;;;;:::i;:::-;50255:37;;50181:119;:::o;47821:495::-;47866:7;47890:21;;47915:1;47890:26;47886:423;;;-1:-1:-1;47940:18:0;;;47821:495::o;47886:423::-;48017:265;48062:201;48241:21;;48062:148;48205:4;48062:112;48164:9;;48062:71;48118:14;;48062:25;:23;:25::i;:201::-;48017:18;;;:22;:265::i;53160:1067::-;53307:10;53290:28;;;;:16;:28;;;;;;;;53282:63;;;;-1:-1:-1;;;53282:63:0;;3490:2:1;53282:63:0;;;3472:21:1;3529:2;3509:18;;;3502:30;-1:-1:-1;;;3548:18:1;;;3541:52;3610:18;;53282:63:0;3288:346:1;53282:63:0;53532:12;;:64;;-1:-1:-1;;;;;53532:12:0;53562:10;53582:4;53589:6;53532:29;:64::i;:::-;53651:6;:4;:6::i;:::-;53730:12;;53711:15;:31;53707:311;;53782:13;;53771:25;;:6;;:10;:25::i;:::-;53759:9;:37;53707:311;;;53849:12;;53829:17;;53849:33;;53866:15;53849:16;:33::i;:::-;53829:53;;53897:16;53916:24;53930:9;;53916;:13;;:24;;;;:::i;:::-;53992:13;;53897:43;;-1:-1:-1;53967:39:0;;:20;:6;53897:43;53967:10;:20::i;:39::-;53955:9;:51;-1:-1:-1;;53707:311:0;54096:15;54079:14;:32;;;54157:13;;54137:34;;54096:15;54137:19;:34::i;:::-;54122:12;:49;54209:9;;54189:30;;;2266:25:1;;;2322:2;2307:18;;2300:34;;;;54189:30:0;;2239:18:1;54189:30:0;2092:248:1;55194:160:0;45811:5;;-1:-1:-1;;;;;45811:5:0;45797:10;:19;;:53;;-1:-1:-1;45834:16:0;;-1:-1:-1;;;;;45834:16:0;45820:10;:30;45797:53;45788:88;;;;-1:-1:-1;;;45788:88:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;55315:31:0::1;;::::0;;;:16:::1;:31;::::0;;;;;;-1:-1:-1;;55280:66:0;::::1;55315:31;::::0;;::::1;55314:32;55280:66;::::0;;55194:160::o;47683:130::-;47739:7;47766:39;47775:15;47792:12;;47766:8;:39::i;54718:334::-;45811:5;;-1:-1:-1;;;;;45811:5:0;45797:10;:19;;:53;;-1:-1:-1;45834:16:0;;-1:-1:-1;;;;;45834:16:0;45820:10;:30;45797:53;45788:88;;;;-1:-1:-1;;;45788:88:0;;;;;;;:::i;:::-;54810:12:::1;::::0;:17;;:51:::1;;;54849:12;;54831:15;:30;54810:51;54801:151;;;::::0;-1:-1:-1;;;54801:151:0;;4191:2:1;54801:151:0::1;::::0;::::1;4173:21:1::0;4230:2;4210:18;;;4203:30;4269:34;4249:18;;;4242:62;4340:34;4320:18;;;4313:62;-1:-1:-1;;;4391:19:1;;;4384:53;4454:19;;54801:151:0::1;3989:490:1::0;54801:151:0::1;54963:13;:30:::0;;;55009:35:::1;::::0;529:25:1;;;55009:35:0::1;::::0;517:2:1;502:18;55009:35:0::1;383:177:1::0;547:271:0;616:14;;-1:-1:-1;;;;;616:14:0;602:10;:28;594:94;;;;-1:-1:-1;;;594:94:0;;4686:2:1;594:94:0;;;4668:21:1;4725:2;4705:18;;;4698:30;4764:34;4744:18;;;4737:62;-1:-1:-1;;;4815:18:1;;;4808:51;4876:19;;594:94:0;4484:417:1;594:94:0;717:5;;;724:14;704:35;;;-1:-1:-1;;;;;717:5:0;;;5118:34:1;;724:14:0;;;;5183:2:1;5168:18;;5161:43;704:35:0;;5053:18:1;704:35:0;;;;;;;758:14;;;;750:22;;-1:-1:-1;;;;;;750:22:0;;;-1:-1:-1;;;;;758:14:0;;750:22;;;;783:27;;;547:271::o;52306:612::-;52409:14;2798:1;3404:7;;:19;;3396:63;;;;-1:-1:-1;;;3396:63:0;;5417:2:1;3396:63:0;;;5399:21:1;5456:2;5436:18;;;5429:30;5495:33;5475:18;;;5468:61;5546:18;;3396:63:0;5215:355:1;3396:63:0;2798:1;3537:18;;45959:21:::1;::::0;::::1;;:30;45951:69;;;::::0;-1:-1:-1;;;45951:69:0;;5777:2:1;45951:69:0::1;::::0;::::1;5759:21:1::0;5816:2;5796:18;;;5789:30;5855:28;5835:18;;;5828:56;5901:18;;45951:69:0::1;5575:350:1::0;45951:69:0::1;52388:10:::2;46100:24;46116:7;46100:15;:24::i;:::-;52453:10:::3;52444:20;::::0;;;:8:::3;:20;::::0;;;;;::::3;;:29;52436:69;;;::::0;-1:-1:-1;;;52436:69:0;;6132:2:1;52436:69:0::3;::::0;::::3;6114:21:1::0;6171:2;6151:18;;;6144:30;6210:29;6190:18;;;6183:57;6257:18;;52436:69:0::3;5930:351:1::0;52436:69:0::3;52534:10;52527:18;::::0;;;:6:::3;:18;::::0;;;;;;-1:-1:-1;52560:10:0;;52556:293:::3;;52594:10;52608:1;52587:18:::0;;;:6:::3;:18;::::0;;;;:22;52670:21:::3;::::0;52624:136:::3;::::0;-1:-1:-1;;;;;52670:21:0;;::::3;::::0;52739:6;52624:27:::3;:136::i;:::-;52815:21;::::0;52780:57:::3;::::0;;6460:25:1;;;-1:-1:-1;;;;;52815:21:0;;::::3;6516:2:1::0;6501:18;;6494:60;52795:10:0::3;::::0;52780:57:::3;::::0;6433:18:1;52780:57:0::3;;;;;;;52556:293;-1:-1:-1::0;52881:10:0::3;52861:31;::::0;;;:19:::3;:31;::::0;;;;52895:15:::3;52861:49:::0;;2754:1;3716:7;:22;52306:612;:::o;54410:300::-;45811:5;;-1:-1:-1;;;;;45811:5:0;45797:10;:19;;:53;;-1:-1:-1;45834:16:0;;-1:-1:-1;;;;;45834:16:0;45820:10;:30;45797:53;45788:88;;;;-1:-1:-1;;;45788:88:0;;;;;;;:::i;:::-;54626:5:::1;::::0;54584:61:::1;::::0;54612:12;;-1:-1:-1;;;;;54626:5:0::1;54633:11:::0;54584:27:::1;:61::i;:::-;54661:41;::::0;;-1:-1:-1;;;;;6757:32:1;;6739:51;;6821:2;6806:18;;6799:34;;;54661:41:0::1;::::0;6712:18:1;54661:41:0::1;;;;;;;54410:300:::0;;:::o;55505:179::-;45811:5;;-1:-1:-1;;;;;45811:5:0;45797:10;:19;;:53;;-1:-1:-1;45834:16:0;;-1:-1:-1;;;;;45834:16:0;45820:10;:30;45797:53;45788:88;;;;-1:-1:-1;;;45788:88:0;;;;;;;:::i;:::-;55595:9:::1;:22:::0;;;55630:47;::::1;;;55659:6;:4;:6::i;:::-;55505:179:::0;;:::o;55060:126::-;45811:5;;-1:-1:-1;;;;;45811:5:0;45797:10;:19;;:53;;-1:-1:-1;45834:16:0;;-1:-1:-1;;;;;45834:16:0;45820:10;:30;45797:53;45788:88;;;;-1:-1:-1;;;45788:88:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;55159:18:0::1;;::::0;;;:8:::1;:18;::::0;;;;;;-1:-1:-1;;55136:42:0;::::1;55159:18;::::0;;::::1;55157:21;55136:42;::::0;;55060:126::o;55362:135::-;45811:5;;-1:-1:-1;;;;;45811:5:0;45797:10;:19;;:53;;-1:-1:-1;45834:16:0;;-1:-1:-1;;;;;45834:16:0;45820:10;:30;45797:53;45788:88;;;;-1:-1:-1;;;45788:88:0;;;;;;;:::i;:::-;55443:21:::1;:46:::0;;-1:-1:-1;;55443:46:0::1;::::0;::::1;;::::0;;;::::1;::::0;;55362:135::o;52082:102::-;52150:26;52166:9;52150:15;:26::i;:::-;52082:102;:::o;55692:117::-;45811:5;;-1:-1:-1;;;;;45811:5:0;45797:10;:19;;:53;;-1:-1:-1;45834:16:0;;-1:-1:-1;;;;;45834:16:0;45820:10;:30;45797:53;45788:88;;;;-1:-1:-1;;;45788:88:0;;;;;;;:::i;:::-;55769:16:::1;:32:::0;;-1:-1:-1;;;;;;55769:32:0::1;-1:-1:-1::0;;;;;55769:32:0;;;::::1;::::0;;;::::1;::::0;;55692:117::o;52221:77::-;52263:27;52279:10;52263:15;:27::i;:::-;52221:77::o;46977:698::-;47139:4;;:23;;-1:-1:-1;;;47139:23:0;;-1:-1:-1;;;;;921:32:1;;;47139:23:0;;;903:51:1;47044:25:0;;;;;;47139:4;;;;:14;;876:18:1;;47139:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;47253:37:0;;;;;;:28;:37;;;;;;;-1:-1:-1;47115:47:0;-1:-1:-1;47358:28:0;;;;;:76;;;47410:23;47391:15;:42;;47358:76;47354:314;;;47470:1;47450:21;;47354:314;;;47521:23;47502:15;:42;47498:170;;47580:1;47560:21;;47498:170;;;47643:13;47623:33;;47498:170;47104:571;46977:698;;;:::o;46683:161::-;46739:7;46766:70;46814:21;;46766:43;44603:3;46766:22;;:26;;:43;;;;:::i;52928:224::-;53024:14;:12;:14::i;:::-;53003:18;:35;53073:4;;:18;;;-1:-1:-1;;;53073:18:0;;;;-1:-1:-1;;;;;53073:4:0;;;;:16;;:18;;;;;;;;;;;;;;;:4;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53049:21;:42;53119:25;:23;:25::i;:::-;53102:14;:42;52928:224::o;18854:136::-;18912:7;18939:43;18943:1;18946;18939:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;18932:50;;18854:136;;;;;:::o;19770:471::-;19828:7;20073:6;20069:47;;-1:-1:-1;20103:1:0;20096:8;;20069:47;20128:9;20140:5;20144:1;20140;:5;:::i;:::-;20128:17;-1:-1:-1;20173:1:0;20164:5;20168:1;20128:17;20164:5;:::i;:::-;:10;20156:56;;;;-1:-1:-1;;;20156:56:0;;7457:2:1;20156:56:0;;;7439:21:1;7496:2;7476:18;;;7469:30;7535:34;7515:18;;;7508:62;-1:-1:-1;;;7586:18:1;;;7579:31;7627:19;;20156:56:0;7255:397:1;20709:132:0;20767:7;20794:39;20798:1;20801;20794:39;;;;;;;;;;;;;;;;;:3;:39::i;18398:181::-;18456:7;;18488:5;18492:1;18488;:5;:::i;:::-;18476:17;;18517:1;18512;:6;;18504:46;;;;-1:-1:-1;;;18504:46:0;;7992:2:1;18504:46:0;;;7974:21:1;8031:2;8011:18;;;8004:30;8070:29;8050:18;;;8043:57;8117:18;;18504:46:0;7790:351:1;26686:205:0;26814:68;;;-1:-1:-1;;;;;8404:15:1;;;26814:68:0;;;8386:34:1;8456:15;;8436:18;;;8429:43;8488:18;;;;8481:34;;;26814:68:0;;;;;;;;;;8321:18:1;;;;26814:68:0;;;;;;;;-1:-1:-1;;;;;26814:68:0;-1:-1:-1;;;26814:68:0;;;26787:96;;26807:5;;26787:19;:96::i;:::-;26686:205;;;;:::o;41787:106::-;41845:7;41876:1;41872;:5;:13;;41884:1;41872:13;;;-1:-1:-1;41880:1:0;;41787:106;-1:-1:-1;41787:106:0:o;50362:1403::-;50525:6;:4;:6::i;:::-;50585:20;50597:7;50585:11;:20::i;:::-;-1:-1:-1;;;;;50695:29:0;;;50668:24;50695:29;;;:20;:29;;;;;;;50762:4;;:23;;-1:-1:-1;;;50762:23:0;;;;;903:51:1;;;;50695:29:0;50668:24;;50762:4;;;:14;;876:18:1;;50762:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;50848:29:0;;;;;;;:20;:29;;;;;;:48;;;51013:4;;:20;;-1:-1:-1;;;51013:20:0;;;;;903:51:1;;;;50848:48:0;;-1:-1:-1;50848:29:0;51013:4;;;;:11;;876:18:1;;51013:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;51084:24;;;;;-1:-1:-1;;;;;51044:37:0;;;;;;:28;:37;;;;;;;:64;50963:70;-1:-1:-1;51175:36:0;;;51171:380;;51228:19;51250:38;:16;51271;51250:20;:38::i;:::-;51328:22;;51228:60;;-1:-1:-1;51328:39:0;;51228:60;51328:26;:39::i;:::-;51303:22;:64;-1:-1:-1;51171:380:0;;;51400:19;51422:38;:16;51443;51422:20;:38::i;:::-;51500:22;;51400:60;;-1:-1:-1;51500:39:0;;51400:60;51500:26;:39::i;:::-;51475:22;:64;-1:-1:-1;51171:380:0;-1:-1:-1;;;;;51609:26:0;;;;;;:17;:26;;;;;;;;51604:154;;-1:-1:-1;;;;;51652:26:0;;;;;;:17;:26;;;;;;;;:33;;-1:-1:-1;;51652:33:0;51681:4;51652:33;;;51700:19;:28;;;;;51731:15;51700:46;;50413:1352;;;50362:1403;:::o;13331:361::-;13526:45;;;-1:-1:-1;;;;;6757:32:1;;;13526:45:0;;;6739:51:1;6806:18;;;;6799:34;;;13526:45:0;;;;;;;;;;6712:18:1;;;;13526:45:0;;;;;;;-1:-1:-1;;;;;13526:45:0;-1:-1:-1;;;13526:45:0;;;13515:57;;-1:-1:-1;;;;13515:10:0;;;;:57;;13526:45;13515:57;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13479:93;;;;13591:7;:57;;;;-1:-1:-1;13603:11:0;;:16;;:44;;;13634:4;13623:24;;;;;;;;;;;;:::i;:::-;13583:101;;;;-1:-1:-1;;;13583:101:0;;10224:2:1;13583:101:0;;;10206:21:1;10263:2;10243:18;;;10236:30;10302:33;10282:18;;;10275:61;10353:18;;13583:101:0;10022:355:1;13583:101:0;13401:291;;13331:361;;;:::o;19327:192::-;19413:7;19449:12;19441:6;;;;19433:29;;;;-1:-1:-1;;;19433:29:0;;;;;;;;:::i;:::-;-1:-1:-1;19473:9:0;19485:5;19489:1;19485;:5;:::i;:::-;19473:17;-1:-1:-1;;19327:192:0;;;;;;:::o;21371:345::-;21457:7;21559:12;21552:5;21544:28;;;;-1:-1:-1;;;21544:28:0;;;;;;;;:::i;:::-;-1:-1:-1;21583:9:0;21595:5;21599:1;21595;:5;:::i;28806:761::-;29230:23;29256:69;29284:4;29256:69;;;;;;;;;;;;;;;;;29264:5;-1:-1:-1;;;;;29256:27:0;;;:69;;;;;:::i;:::-;29340:17;;29230:95;;-1:-1:-1;29340:21:0;29336:224;;29482:10;29471:30;;;;;;;;;;;;:::i;:::-;29463:85;;;;-1:-1:-1;;;29463:85:0;;11102:2:1;29463:85:0;;;11084:21:1;11141:2;11121:18;;;11114:30;11180:34;11160:18;;;11153:62;-1:-1:-1;;;11231:18:1;;;11224:40;11281:19;;29463:85:0;10900:406:1;29463:85:0;28876:691;28806:761;;:::o;51773:258::-;-1:-1:-1;;;;;51835:21:0;;;51831:193;;51873:15;51891;51898:7;51891:6;:15::i;:::-;-1:-1:-1;;;;;51921:15:0;;;;;;:6;:15;;;;;;;;:25;;;;51994:18;;51961:21;:30;;;;;;:51;-1:-1:-1;51773:258:0;:::o;7428:195::-;7531:12;7563:52;7585:6;7593:4;7599:1;7602:12;7563:21;:52::i;:::-;7556:59;7428:195;-1:-1:-1;;;;7428:195:0:o;8480:530::-;8607:12;8665:5;8640:21;:30;;8632:81;;;;-1:-1:-1;;;8632:81:0;;11513:2:1;8632:81:0;;;11495:21:1;11552:2;11532:18;;;11525:30;11591:34;11571:18;;;11564:62;-1:-1:-1;;;11642:18:1;;;11635:36;11688:19;;8632:81:0;11311:402:1;8632:81:0;4877:20;;8724:60;;;;-1:-1:-1;;;8724:60:0;;11920:2:1;8724:60:0;;;11902:21:1;11959:2;11939:18;;;11932:30;11998:31;11978:18;;;11971:59;12047:18;;8724:60:0;11718:353:1;8724:60:0;8858:12;8872:23;8899:6;-1:-1:-1;;;;;8899:11:0;8919:5;8927:4;8899:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8857:75;;;;8950:52;8968:7;8977:10;8989:12;8950:17;:52::i;:::-;8943:59;8480:530;-1:-1:-1;;;;;;;8480:530:0:o;11020:742::-;11135:12;11164:7;11160:595;;;-1:-1:-1;11195:10:0;11188:17;;11160:595;11309:17;;:21;11305:439;;11572:10;11566:17;11633:15;11620:10;11616:2;11612:19;11605:44;11305:439;11715:12;11708:20;;-1:-1:-1;;;11708:20:0;;;;;;;;:::i;14:173:1:-;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:186::-;251:6;304:2;292:9;283:7;279:23;275:32;272:52;;;320:1;317;310:12;272:52;343:29;362:9;343:29;:::i;965:180::-;1024:6;1077:2;1065:9;1056:7;1052:23;1048:32;1045:52;;;1093:1;1090;1083:12;1045:52;-1:-1:-1;1116:23:1;;965:180;-1:-1:-1;965:180:1:o;1150:254::-;1218:6;1226;1279:2;1267:9;1258:7;1254:23;1250:32;1247:52;;;1295:1;1292;1285:12;1247:52;1318:29;1337:9;1318:29;:::i;:::-;1308:39;1394:2;1379:18;;;;1366:32;;-1:-1:-1;;;1150:254:1:o;1409:118::-;1495:5;1488:13;1481:21;1474:5;1471:32;1461:60;;1517:1;1514;1507:12;1532:309;1597:6;1605;1658:2;1646:9;1637:7;1633:23;1629:32;1626:52;;;1674:1;1671;1664:12;1626:52;1710:9;1697:23;1687:33;;1770:2;1759:9;1755:18;1742:32;1783:28;1805:5;1783:28;:::i;:::-;1830:5;1820:15;;;1532:309;;;;;:::o;1846:241::-;1902:6;1955:2;1943:9;1934:7;1930:23;1926:32;1923:52;;;1971:1;1968;1961:12;1923:52;2010:9;1997:23;2029:28;2051:5;2029:28;:::i;2567:127::-;2628:10;2623:3;2619:20;2616:1;2609:31;2659:4;2656:1;2649:15;2683:4;2680:1;2673:15;2699:168;2739:7;2805:1;2801;2797:6;2793:14;2790:1;2787:21;2782:1;2775:9;2768:17;2764:45;2761:71;;;2812:18;;:::i;:::-;-1:-1:-1;2852:9:1;;2699:168::o;3639:345::-;3841:2;3823:21;;;3880:2;3860:18;;;3853:30;-1:-1:-1;;;3914:2:1;3899:18;;3892:51;3975:2;3960:18;;3639:345::o;6844:184::-;6914:6;6967:2;6955:9;6946:7;6942:23;6938:32;6935:52;;;6983:1;6980;6973:12;6935:52;-1:-1:-1;7006:16:1;;6844:184;-1:-1:-1;6844:184:1:o;7033:217::-;7073:1;7099;7089:132;;7143:10;7138:3;7134:20;7131:1;7124:31;7178:4;7175:1;7168:15;7206:4;7203:1;7196:15;7089:132;-1:-1:-1;7235:9:1;;7033:217::o;7657:128::-;7697:3;7728:1;7724:6;7721:1;7718:13;7715:39;;;7734:18;;:::i;:::-;-1:-1:-1;7770:9:1;;7657:128::o;8526:699::-;8626:6;8679:2;8667:9;8658:7;8654:23;8650:32;8647:52;;;8695:1;8692;8685:12;8647:52;8728:2;8722:9;8770:2;8762:6;8758:15;8839:6;8827:10;8824:22;8803:18;8791:10;8788:34;8785:62;8782:185;;;8889:10;8884:3;8880:20;8877:1;8870:31;8924:4;8921:1;8914:15;8952:4;8949:1;8942:15;8782:185;8983:2;8976:22;9020:16;;9076:2;9065:21;;;9055:32;;9045:60;;9101:1;9098;9091:12;9045:60;9114:21;;9189:2;9174:18;;;9168:25;9151:15;;;9144:50;;;;-1:-1:-1;9121:6:1;8526:699;-1:-1:-1;8526:699:1:o;9230:258::-;9302:1;9312:113;9326:6;9323:1;9320:13;9312:113;;;9402:11;;;9396:18;9383:11;;;9376:39;9348:2;9341:10;9312:113;;;9443:6;9440:1;9437:13;9434:48;;;-1:-1:-1;;9478:1:1;9460:16;;9453:27;9230:258::o;9493:274::-;9622:3;9660:6;9654:13;9676:53;9722:6;9717:3;9710:4;9702:6;9698:17;9676:53;:::i;:::-;9745:16;;;;;9493:274;-1:-1:-1;;9493:274:1:o;9772:245::-;9839:6;9892:2;9880:9;9871:7;9867:23;9863:32;9860:52;;;9908:1;9905;9898:12;9860:52;9940:9;9934:16;9959:28;9981:5;9959:28;:::i;10382:383::-;10531:2;10520:9;10513:21;10494:4;10563:6;10557:13;10606:6;10601:2;10590:9;10586:18;10579:34;10622:66;10681:6;10676:2;10665:9;10661:18;10656:2;10648:6;10644:15;10622:66;:::i;:::-;10749:2;10728:15;-1:-1:-1;;10724:29:1;10709:45;;;;10756:2;10705:54;;10382:383;-1:-1:-1;;10382:383:1:o;10770:125::-;10810:4;10838:1;10835;10832:8;10829:34;;;10843:18;;:::i;:::-;-1:-1:-1;10880:9:1;;10770:125::o
Swarm Source
ipfs://219ddd457170587d4172d6a75ff6db50a8a3ebc96e0469d12c9e86991faa94fc
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ 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.