Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Initialize | 12320217 | 1336 days ago | IN | 0 ETH | 0.00245952 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
PendleTokenDistribution
Compiler Version
v0.7.6+commit.7338295f
Contract Source Code (Solidity Multiple files format)
// SPDX-License-Identifier: MIT /* * MIT License * =========== * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE */ pragma solidity 0.7.6; import "./SafeMath.sol"; import "./Permissions.sol"; import "./Withdrawable.sol"; import "./IPENDLE.sol"; import "./IPendleTokenDistribution.sol"; // There will be two instances of this contract to be deployed to be // the pendleTeamTokens and pendleEcosystemFund (for PENDLE.sol constructor arguments) contract PendleTokenDistribution is Permissions, IPendleTokenDistribution { using SafeMath for uint256; IPENDLE public override pendleToken; uint256[] public timeDurations; uint256[] public claimableFunds; mapping(uint256 => bool) public claimed; uint256 public numberOfDurations; constructor( address _governance, uint256[] memory _timeDurations, uint256[] memory _claimableFunds ) Permissions(_governance) { require(_timeDurations.length == _claimableFunds.length, "MISMATCH_ARRAY_LENGTH"); numberOfDurations = _timeDurations.length; for (uint256 i = 0; i < numberOfDurations; i++) { timeDurations.push(_timeDurations[i]); claimableFunds.push(_claimableFunds[i]); } } function initialize(IPENDLE _pendleToken) external { require(msg.sender == initializer, "FORBIDDEN"); require(address(_pendleToken) != address(0), "ZERO_ADDRESS"); require(_pendleToken.isPendleToken(), "INVALID_PENDLE_TOKEN"); require(_pendleToken.balanceOf(address(this)) > 0, "UNDISTRIBUTED_PENDLE_TOKEN"); pendleToken = _pendleToken; initializer = address(0); } function claimTokens(uint256 timeDurationIndex) public onlyGovernance { require(timeDurationIndex < numberOfDurations, "INVALID_INDEX"); require(!claimed[timeDurationIndex], "ALREADY_CLAIMED"); claimed[timeDurationIndex] = true; uint256 claimableTimestamp = pendleToken.startTime().add(timeDurations[timeDurationIndex]); require(block.timestamp >= claimableTimestamp, "NOT_CLAIMABLE_YET"); uint256 currentPendleBalance = pendleToken.balanceOf(address(this)); uint256 amount = claimableFunds[timeDurationIndex] < currentPendleBalance ? claimableFunds[timeDurationIndex] : currentPendleBalance; require(pendleToken.transfer(governance, amount), "FAIL_PENDLE_TRANSFER"); emit ClaimedTokens( governance, timeDurations[timeDurationIndex], claimableFunds[timeDurationIndex], amount ); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.2 <0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @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); } } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); }
// SPDX-License-Identifier: MIT /* * MIT License * =========== * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE */ pragma solidity 0.7.6; import "./IERC20.sol"; interface IPENDLE is IERC20 { function initiateConfigChanges( uint256 _emissionRateMultiplierNumerator, uint256 _terminalInflationRateNumerator, address _liquidityIncentivesRecipient, bool _isBurningAllowed ) external; function increaseAllowance(address spender, uint256 addedValue) external returns (bool); function decreaseAllowance(address spender, uint256 subtractedValue) external returns (bool); function burn(uint256 amount) external returns (bool); function applyConfigChanges() external; function claimLiquidityEmissions() external returns (uint256 totalEmissions); function isPendleToken() external view returns (bool); function getPriorVotes(address account, uint256 blockNumber) external view returns (uint256); function startTime() external view returns (uint256); function configChangesInitiated() external view returns (uint256); function emissionRateMultiplierNumerator() external view returns (uint256); function terminalInflationRateNumerator() external view returns (uint256); function liquidityIncentivesRecipient() external view returns (address); function isBurningAllowed() external view returns (bool); function pendingEmissionRateMultiplierNumerator() external view returns (uint256); function pendingTerminalInflationRateNumerator() external view returns (uint256); function pendingLiquidityIncentivesRecipient() external view returns (address); function pendingIsBurningAllowed() external view returns (bool); }
// SPDX-License-Identifier: MIT /* * MIT License * =========== * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE */ pragma solidity 0.7.6; import "./IPENDLE.sol"; interface IPendleTokenDistribution { event ClaimedTokens( address _claimer, uint256 _timeDuration, uint256 _claimableFunds, uint256 _amountClaimed ); function pendleToken() external view returns (IPENDLE); }
// SPDX-License-Identifier: MIT /* * MIT License * =========== * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE */ pragma solidity 0.7.6; import "./IERC20.sol"; abstract contract Permissions { address public governance; address public pendingGovernance; address internal initializer; event GovernanceClaimed(address newGovernance, address previousGovernance); event TransferGovernancePending(address pendingGovernance); constructor(address _governance) { require(_governance != address(0), "ZERO_ADDRESS"); initializer = msg.sender; governance = _governance; } modifier initialized() { require(initializer == address(0), "NOT_INITIALIZED"); _; } modifier onlyGovernance() { require(msg.sender == governance, "ONLY_GOVERNANCE"); _; } /** * @dev Allows the pendingGovernance address to finalize the change governance process. */ function claimGovernance() public { require(pendingGovernance == msg.sender, "WRONG_GOVERNANCE"); emit GovernanceClaimed(pendingGovernance, governance); governance = pendingGovernance; pendingGovernance = address(0); } /** * @dev Allows the current governance to set the pendingGovernance address. * @param _governance The address to transfer ownership to. */ function transferGovernance(address _governance) public onlyGovernance { require(_governance != address(0), "ZERO_ADDRESS"); pendingGovernance = _governance; emit TransferGovernancePending(pendingGovernance); } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; import "./IERC20.sol"; import "./SafeMath.sol"; import "./Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @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) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @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) { 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, reverting 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) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting 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) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } }
// SPDX-License-Identifier: MIT /* * MIT License * =========== * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE */ pragma solidity 0.7.6; import "./IERC20.sol"; import "./SafeERC20.sol"; import "./Permissions.sol"; abstract contract Withdrawable is Permissions { using SafeERC20 for IERC20; event EtherWithdraw(uint256 amount, address sendTo); event TokenWithdraw(IERC20 token, uint256 amount, address sendTo); /** * @dev Allows governance to withdraw Ether in a Pendle contract * in case of accidental ETH transfer into the contract. * @param amount The amount of Ether to withdraw. * @param sendTo The recipient address. */ function withdrawEther(uint256 amount, address payable sendTo) external onlyGovernance { (bool success, ) = sendTo.call{value: amount}(""); require(success, "WITHDRAW_FAILED"); emit EtherWithdraw(amount, sendTo); } /** * @dev Allows governance to withdraw all IERC20 compatible tokens in a Pendle * contract in case of accidental token transfer into the contract. * @param token IERC20 The address of the token contract. * @param amount The amount of IERC20 tokens to withdraw. * @param sendTo The recipient address. */ function withdrawToken( IERC20 token, uint256 amount, address sendTo ) external onlyGovernance { token.safeTransfer(sendTo, amount); emit TokenWithdraw(token, amount, sendTo); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_governance","type":"address"},{"internalType":"uint256[]","name":"_timeDurations","type":"uint256[]"},{"internalType":"uint256[]","name":"_claimableFunds","type":"uint256[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_claimer","type":"address"},{"indexed":false,"internalType":"uint256","name":"_timeDuration","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_claimableFunds","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_amountClaimed","type":"uint256"}],"name":"ClaimedTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newGovernance","type":"address"},{"indexed":false,"internalType":"address","name":"previousGovernance","type":"address"}],"name":"GovernanceClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"pendingGovernance","type":"address"}],"name":"TransferGovernancePending","type":"event"},{"inputs":[],"name":"claimGovernance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"timeDurationIndex","type":"uint256"}],"name":"claimTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimableFunds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"governance","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IPENDLE","name":"_pendleToken","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"numberOfDurations","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingGovernance","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendleToken","outputs":[{"internalType":"contract IPENDLE","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"timeDurations","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_governance","type":"address"}],"name":"transferGovernance","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50604051610dab380380610dab8339818101604052606081101561003357600080fd5b81516020830180516040519294929383019291908464010000000082111561005a57600080fd5b90830190602082018581111561006f57600080fd5b825186602082028301116401000000008211171561008c57600080fd5b82525081516020918201928201910280838360005b838110156100b95781810151838201526020016100a1565b50505050905001604052602001805160405193929190846401000000008211156100e257600080fd5b9083019060208201858111156100f757600080fd5b825186602082028301116401000000008211171561011457600080fd5b82525081516020918201928201910280838360005b83811015610141578181015183820152602001610129565b505050509050016040525050508260006001600160a01b0316816001600160a01b031614156101a6576040805162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b604482015290519081900360640190fd5b60028054336001600160a01b031991821617909155600080549091166001600160a01b0392909216919091179055805182511461022a576040805162461bcd60e51b815260206004820152601560248201527f4d49534d415443485f41525241595f4c454e4754480000000000000000000000604482015290519081900360640190fd5b815160075560005b6007548110156102a557600483828151811061024a57fe5b60209081029190910181015182546001810184556000938452919092200155815160059083908390811061027a57fe5b6020908102919091018101518254600181810185556000948552929093209092019190915501610232565b50505050610af3806102b86000396000f3fe608060405234801561001057600080fd5b50600436106100a95760003560e01c8063c4d66de811610071578063c4d66de814610130578063d38bfff414610156578063dbe7e3bd1461017c578063e268bf59146101ad578063eaec282d146101b5578063f39c38a0146101d2576100a9565b806328796b50146100ae57806346e04a2f146100d25780635aa6e675146100f15780635d36b190146100f9578063aeee64fc14610101575b600080fd5b6100b66101da565b604080516001600160a01b039092168252519081900360200190f35b6100ef600480360360208110156100e857600080fd5b50356101e9565b005b6100b6610600565b6100ef61060f565b61011e6004803603602081101561011757600080fd5b50356106d4565b60408051918252519081900360200190f35b6100ef6004803603602081101561014657600080fd5b50356001600160a01b03166106f5565b6100ef6004803603602081101561016c57600080fd5b50356001600160a01b031661092d565b6101996004803603602081101561019257600080fd5b5035610a22565b604080519115158252519081900360200190f35b61011e610a37565b61011e600480360360208110156101cb57600080fd5b5035610a3d565b6100b6610a4d565b6003546001600160a01b031681565b6000546001600160a01b0316331461023a576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b6007548110610280576040805162461bcd60e51b815260206004820152600d60248201526c0929cac82989288be929c888ab609b1b604482015290519081900360640190fd5b60008181526006602052604090205460ff16156102d6576040805162461bcd60e51b815260206004820152600f60248201526e1053149150511657d0d31052535151608a1b604482015290519081900360640190fd5b6000818152600660205260408120805460ff191660011790556004805461038d91908490811061030257fe5b9060005260206000200154600360009054906101000a90046001600160a01b03166001600160a01b03166378e979256040518163ffffffff1660e01b815260040160206040518083038186803b15801561035b57600080fd5b505afa15801561036f573d6000803e3d6000fd5b505050506040513d602081101561038557600080fd5b505190610a5c565b9050804210156103d8576040805162461bcd60e51b81526020600482015260116024820152701393d517d0d31052535050931157d65155607a1b604482015290519081900360640190fd5b600354604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561042357600080fd5b505afa158015610437573d6000803e3d6000fd5b505050506040513d602081101561044d57600080fd5b5051600580549192506000918391908690811061046657fe5b90600052602060002001541061047c5781610495565b6005848154811061048957fe5b90600052602060002001545b600354600080546040805163a9059cbb60e01b81526001600160a01b03928316600482015260248101869052905194955092169263a9059cbb926044808201936020939283900390910190829087803b1580156104f157600080fd5b505af1158015610505573d6000803e3d6000fd5b505050506040513d602081101561051b57600080fd5b5051610565576040805162461bcd60e51b81526020600482015260146024820152732320a4a62fa822a7222622afaa2920a729a322a960611b604482015290519081900360640190fd5b600054600480547f21ac01d829f16af45bd6ada89df10129ee8517b432b43419cd081edcff3126bc926001600160a01b03169190879081106105a357fe5b9060005260206000200154600587815481106105bb57fe5b90600052602060002001548460405180856001600160a01b0316815260200184815260200183815260200182815260200194505050505060405180910390a150505050565b6000546001600160a01b031681565b6001546001600160a01b03163314610661576040805162461bcd60e51b815260206004820152601060248201526f57524f4e475f474f5645524e414e434560801b604482015290519081900360640190fd5b600154600054604080516001600160a01b03938416815292909116602083015280517fb0758afd6736a6cb3153d002696dcdd7615f1ff7c626469b3daf3358286c1c249281900390910190a160018054600080546001600160a01b03199081166001600160a01b03841617909155169055565b600481815481106106e457600080fd5b600091825260209091200154905081565b6002546001600160a01b03163314610740576040805162461bcd60e51b81526020600482015260096024820152682327a92124a22222a760b91b604482015290519081900360640190fd5b6001600160a01b03811661078a576040805162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b604482015290519081900360640190fd5b806001600160a01b031663924a23b46040518163ffffffff1660e01b815260040160206040518083038186803b1580156107c357600080fd5b505afa1580156107d7573d6000803e3d6000fd5b505050506040513d60208110156107ed57600080fd5b5051610837576040805162461bcd60e51b815260206004820152601460248201527324a72b20a624a22fa822a7222622afaa27a5a2a760611b604482015290519081900360640190fd5b6000816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561088657600080fd5b505afa15801561089a573d6000803e3d6000fd5b505050506040513d60208110156108b057600080fd5b505111610904576040805162461bcd60e51b815260206004820152601a60248201527f554e44495354524942555445445f50454e444c455f544f4b454e000000000000604482015290519081900360640190fd5b600380546001600160a01b039092166001600160a01b0319928316179055600280549091169055565b6000546001600160a01b0316331461097e576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b6001600160a01b0381166109c8576040805162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b03838116919091179182905560408051929091168252517f70f2dff90d8145da945114cc37c5ffde0eef9306ad5efbd39cae52dc28f9cbf3916020908290030190a150565b60066020526000908152604090205460ff1681565b60075481565b600581815481106106e457600080fd5b6001546001600160a01b031681565b600082820183811015610ab6576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b939250505056fea264697066735822122084f71afac105de7682fdd18e39219a2d2a9f7c0e458e4ee96fe669363404227c64736f6c63430007060033000000000000000000000000399be606db281a054e359eb709df9f21e922ec9a000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e1338000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000001306707f94695977000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100a95760003560e01c8063c4d66de811610071578063c4d66de814610130578063d38bfff414610156578063dbe7e3bd1461017c578063e268bf59146101ad578063eaec282d146101b5578063f39c38a0146101d2576100a9565b806328796b50146100ae57806346e04a2f146100d25780635aa6e675146100f15780635d36b190146100f9578063aeee64fc14610101575b600080fd5b6100b66101da565b604080516001600160a01b039092168252519081900360200190f35b6100ef600480360360208110156100e857600080fd5b50356101e9565b005b6100b6610600565b6100ef61060f565b61011e6004803603602081101561011757600080fd5b50356106d4565b60408051918252519081900360200190f35b6100ef6004803603602081101561014657600080fd5b50356001600160a01b03166106f5565b6100ef6004803603602081101561016c57600080fd5b50356001600160a01b031661092d565b6101996004803603602081101561019257600080fd5b5035610a22565b604080519115158252519081900360200190f35b61011e610a37565b61011e600480360360208110156101cb57600080fd5b5035610a3d565b6100b6610a4d565b6003546001600160a01b031681565b6000546001600160a01b0316331461023a576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b6007548110610280576040805162461bcd60e51b815260206004820152600d60248201526c0929cac82989288be929c888ab609b1b604482015290519081900360640190fd5b60008181526006602052604090205460ff16156102d6576040805162461bcd60e51b815260206004820152600f60248201526e1053149150511657d0d31052535151608a1b604482015290519081900360640190fd5b6000818152600660205260408120805460ff191660011790556004805461038d91908490811061030257fe5b9060005260206000200154600360009054906101000a90046001600160a01b03166001600160a01b03166378e979256040518163ffffffff1660e01b815260040160206040518083038186803b15801561035b57600080fd5b505afa15801561036f573d6000803e3d6000fd5b505050506040513d602081101561038557600080fd5b505190610a5c565b9050804210156103d8576040805162461bcd60e51b81526020600482015260116024820152701393d517d0d31052535050931157d65155607a1b604482015290519081900360640190fd5b600354604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561042357600080fd5b505afa158015610437573d6000803e3d6000fd5b505050506040513d602081101561044d57600080fd5b5051600580549192506000918391908690811061046657fe5b90600052602060002001541061047c5781610495565b6005848154811061048957fe5b90600052602060002001545b600354600080546040805163a9059cbb60e01b81526001600160a01b03928316600482015260248101869052905194955092169263a9059cbb926044808201936020939283900390910190829087803b1580156104f157600080fd5b505af1158015610505573d6000803e3d6000fd5b505050506040513d602081101561051b57600080fd5b5051610565576040805162461bcd60e51b81526020600482015260146024820152732320a4a62fa822a7222622afaa2920a729a322a960611b604482015290519081900360640190fd5b600054600480547f21ac01d829f16af45bd6ada89df10129ee8517b432b43419cd081edcff3126bc926001600160a01b03169190879081106105a357fe5b9060005260206000200154600587815481106105bb57fe5b90600052602060002001548460405180856001600160a01b0316815260200184815260200183815260200182815260200194505050505060405180910390a150505050565b6000546001600160a01b031681565b6001546001600160a01b03163314610661576040805162461bcd60e51b815260206004820152601060248201526f57524f4e475f474f5645524e414e434560801b604482015290519081900360640190fd5b600154600054604080516001600160a01b03938416815292909116602083015280517fb0758afd6736a6cb3153d002696dcdd7615f1ff7c626469b3daf3358286c1c249281900390910190a160018054600080546001600160a01b03199081166001600160a01b03841617909155169055565b600481815481106106e457600080fd5b600091825260209091200154905081565b6002546001600160a01b03163314610740576040805162461bcd60e51b81526020600482015260096024820152682327a92124a22222a760b91b604482015290519081900360640190fd5b6001600160a01b03811661078a576040805162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b604482015290519081900360640190fd5b806001600160a01b031663924a23b46040518163ffffffff1660e01b815260040160206040518083038186803b1580156107c357600080fd5b505afa1580156107d7573d6000803e3d6000fd5b505050506040513d60208110156107ed57600080fd5b5051610837576040805162461bcd60e51b815260206004820152601460248201527324a72b20a624a22fa822a7222622afaa27a5a2a760611b604482015290519081900360640190fd5b6000816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561088657600080fd5b505afa15801561089a573d6000803e3d6000fd5b505050506040513d60208110156108b057600080fd5b505111610904576040805162461bcd60e51b815260206004820152601a60248201527f554e44495354524942555445445f50454e444c455f544f4b454e000000000000604482015290519081900360640190fd5b600380546001600160a01b039092166001600160a01b0319928316179055600280549091169055565b6000546001600160a01b0316331461097e576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b6001600160a01b0381166109c8576040805162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b03838116919091179182905560408051929091168252517f70f2dff90d8145da945114cc37c5ffde0eef9306ad5efbd39cae52dc28f9cbf3916020908290030190a150565b60066020526000908152604090205460ff1681565b60075481565b600581815481106106e457600080fd5b6001546001600160a01b031681565b600082820183811015610ab6576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b939250505056fea264697066735822122084f71afac105de7682fdd18e39219a2d2a9f7c0e458e4ee96fe669363404227c64736f6c63430007060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000399be606db281a054e359eb709df9f21e922ec9a000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e1338000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000001306707f94695977000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
-----Decoded View---------------
Arg [0] : _governance (address): 0x399Be606db281a054E359Eb709df9F21E922eC9a
Arg [1] : _timeDurations (uint256[]): 0,31536000
Arg [2] : _claimableFunds (uint256[]): 23000000000000000000000000,115792089237316195423570985008687907853269984665640564039457584007913129639935
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 000000000000000000000000399be606db281a054e359eb709df9f21e922ec9a
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000001e13380
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [7] : 0000000000000000000000000000000000000000001306707f94695977000000
Arg [8] : ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
Deployed Bytecode Sourcemap
1459:2176:4:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1572:35;;;:::i;:::-;;;;-1:-1:-1;;;;;1572:35:4;;;;;;;;;;;;;;2675:958;;;;;;;;;;;;;;;;-1:-1:-1;2675:958:4;;:::i;:::-;;1215:25:5;;;:::i;1969:254::-;;;:::i;1614:30:4:-;;;;;;;;;;;;;;;;-1:-1:-1;1614:30:4;;:::i;:::-;;;;;;;;;;;;;;;;2253:416;;;;;;;;;;;;;;;;-1:-1:-1;2253:416:4;-1:-1:-1;;;;;2253:416:4;;:::i;2389:239:5:-;;;;;;;;;;;;;;;;-1:-1:-1;2389:239:5;-1:-1:-1;;;;;2389:239:5;;:::i;1687:39:4:-;;;;;;;;;;;;;;;;-1:-1:-1;1687:39:4;;:::i;:::-;;;;;;;;;;;;;;;;;;1732:32;;;:::i;1650:31::-;;;;;;;;;;;;;;;;-1:-1:-1;1650:31:4;;:::i;1246:32:5:-;;;:::i;1572:35:4:-;;;-1:-1:-1;;;;;1572:35:4;;:::o;2675:958::-;1807:10:5;;-1:-1:-1;;;;;1807:10:5;1793;:24;1785:52;;;;;-1:-1:-1;;;1785:52:5;;;;;;;;;;;;-1:-1:-1;;;1785:52:5;;;;;;;;;;;;;;;2783:17:4::1;;2763;:37;2755:63;;;::::0;;-1:-1:-1;;;2755:63:4;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;2755:63:4;;;;;;;;;;;;;::::1;;2837:26;::::0;;;:7:::1;:26;::::0;;;;;::::1;;2836:27;2828:55;;;::::0;;-1:-1:-1;;;2828:55:4;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;2828:55:4;;;;;;;;;;;;;::::1;;2893:26;::::0;;;:7:::1;:26;::::0;;;;:33;;-1:-1:-1;;2893:33:4::1;2922:4;2893:33;::::0;;2994:13:::1;:32:::0;;2966:61:::1;::::0;2994:13;2901:17;;2994:32;::::1;;;;;;;;;;;;;2966:11;;;;;;;;;-1:-1:-1::0;;;;;2966:11:4::1;-1:-1:-1::0;;;;;2966:21:4::1;;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;2966:23:4;;:27:::1;:61::i;:::-;2937:90;;3064:18;3045:15;:37;;3037:67;;;::::0;;-1:-1:-1;;;3037:67:4;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;3037:67:4;;;;;;;;;;;;;::::1;;3145:11;::::0;:36:::1;::::0;;-1:-1:-1;;;3145:36:4;;3175:4:::1;3145:36;::::0;::::1;::::0;;;3114:28:::1;::::0;-1:-1:-1;;;;;3145:11:4::1;::::0;:21:::1;::::0;:36;;;;;::::1;::::0;;;;;;;;:11;:36;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;3145:36:4;3221:14:::1;:33:::0;;3145:36;;-1:-1:-1;3192:14:4::1;::::0;3145:36;;3221:14;3236:17;;3221:33;::::1;;;;;;;;;;;;;:56;:147;;3348:20;3221:147;;;3296:14;3311:17;3296:33;;;;;;;;;;;;;;;;3221:147;3386:11;::::0;::::1;3407:10:::0;;3386:40:::1;::::0;;-1:-1:-1;;;3386:40:4;;-1:-1:-1;;;;;3407:10:4;;::::1;3386:40;::::0;::::1;::::0;;;;;;;;;3192:176;;-1:-1:-1;3386:11:4;::::1;::::0;:20:::1;::::0;:40;;;;;::::1;::::0;;;;;;;;;;;:11;:40;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;3386:40:4;3378:73:::1;;;::::0;;-1:-1:-1;;;3378:73:4;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;3378:73:4;;;;;;;;;;;;;::::1;;3493:10;::::0;3517:13:::1;:32:::0;;3466:160:::1;::::0;-1:-1:-1;;;;;3493:10:4::1;::::0;3517:13;3531:17;;3517:32;::::1;;;;;;;;;;;;;3563:14;3578:17;3563:33;;;;;;;;;;;;;;;;3610:6;3466:160;;;;-1:-1:-1::0;;;;;3466:160:4::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1847:1:5;;;2675:958:4::0;:::o;1215:25:5:-;;;-1:-1:-1;;;;;1215:25:5;;:::o;1969:254::-;2021:17;;-1:-1:-1;;;;;2021:17:5;2042:10;2021:31;2013:60;;;;;-1:-1:-1;;;2013:60:5;;;;;;;;;;;;-1:-1:-1;;;2013:60:5;;;;;;;;;;;;;;;2106:17;;;2125:10;2088:48;;;-1:-1:-1;;;;;2106:17:5;;;2088:48;;2125:10;;;;2088:48;;;;;;;;;;;;;;;;2159:17;;;;2146:30;;-1:-1:-1;;;;;;2146:30:5;;;-1:-1:-1;;;;;2159:17:5;;2146:30;;;;2186;;;1969:254::o;1614:30:4:-;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1614:30:4;:::o;2253:416::-;2336:11;;-1:-1:-1;;;;;2336:11:4;2322:10;:25;2314:47;;;;;-1:-1:-1;;;2314:47:4;;;;;;;;;;;;-1:-1:-1;;;2314:47:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;2379:35:4;;2371:60;;;;;-1:-1:-1;;;2371:60:4;;;;;;;;;;;;-1:-1:-1;;;2371:60:4;;;;;;;;;;;;;;;2449:12;-1:-1:-1;;;;;2449:26:4;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2449:28:4;2441:61;;;;;-1:-1:-1;;;2441:61:4;;;;;;;;;;;;-1:-1:-1;;;2441:61:4;;;;;;;;;;;;;;;2560:1;2520:12;-1:-1:-1;;;;;2520:22:4;;2551:4;2520:37;;;;;;;;;;;;;-1:-1:-1;;;;;2520:37:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2520:37:4;:41;2512:80;;;;;-1:-1:-1;;;2512:80:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;2602:11;:26;;-1:-1:-1;;;;;2602:26:4;;;-1:-1:-1;;;;;;2602:26:4;;;;;;2638:11;:24;;;;;;;2253:416::o;2389:239:5:-;1807:10;;-1:-1:-1;;;;;1807:10:5;1793;:24;1785:52;;;;;-1:-1:-1;;;1785:52:5;;;;;;;;;;;;-1:-1:-1;;;1785:52:5;;;;;;;;;;;;;;;-1:-1:-1;;;;;2478:25:5;::::1;2470:50;;;::::0;;-1:-1:-1;;;2470:50:5;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;2470:50:5;;;;;;;;;;;;;::::1;;2530:17;:31:::0;;-1:-1:-1;;;;;;2530:31:5::1;-1:-1:-1::0;;;;;2530:31:5;;::::1;::::0;;;::::1;::::0;;;;2577:44:::1;::::0;;2603:17;;;::::1;2577:44:::0;;;::::1;::::0;::::1;::::0;;;;;;::::1;2389:239:::0;:::o;1687:39:4:-;;;;;;;;;;;;;;;:::o;1732:32::-;;;;:::o;1650:31::-;;;;;;;;;;;;1246:32:5;;;-1:-1:-1;;;;;1246:32:5;;:::o;2690:175:7:-;2748:7;2779:5;;;2802:6;;;;2794:46;;;;;-1:-1:-1;;;2794:46:7;;;;;;;;;;;;;;;;;;;;;;;;;;;;2857:1;2690:175;-1:-1:-1;;;2690:175:7:o
Swarm Source
ipfs://84f71afac105de7682fdd18e39219a2d2a9f7c0e458e4ee96fe669363404227c
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.