Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers. Name tag integration is not available in advanced view.
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
||||
---|---|---|---|---|---|---|---|
12763844 | 1329 days ago | 0 ETH | |||||
12763844 | 1329 days ago | 0 ETH | |||||
12763844 | 1329 days ago | 0 ETH | |||||
12763844 | 1329 days ago | 0 ETH | |||||
12763833 | 1329 days ago | 0 ETH | |||||
12763833 | 1329 days ago | 0 ETH | |||||
12763833 | 1329 days ago | 0 ETH | |||||
12763833 | 1329 days ago | 0 ETH | |||||
12763829 | 1329 days ago | 0 ETH | |||||
12763829 | 1329 days ago | 0 ETH | |||||
12763829 | 1329 days ago | 0 ETH | |||||
12763829 | 1329 days ago | 0 ETH | |||||
12763829 | 1329 days ago | 0 ETH | |||||
12763829 | 1329 days ago | 0 ETH | |||||
12763829 | 1329 days ago | 0 ETH | |||||
12763829 | 1329 days ago | 0 ETH | |||||
12763827 | 1329 days ago | 0 ETH | |||||
12763827 | 1329 days ago | 0 ETH | |||||
12763827 | 1329 days ago | 0 ETH | |||||
12763827 | 1329 days ago | 0 ETH | |||||
12763826 | 1329 days ago | 0 ETH | |||||
12763826 | 1329 days ago | 0 ETH | |||||
12763826 | 1329 days ago | 0 ETH | |||||
12763826 | 1329 days ago | 0 ETH | |||||
12763826 | 1329 days ago | 0 ETH |
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
UniswapIncentive
Compiler Version
v0.6.6+commit.6c089d02
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-03-30 */ // hevm: flattened sources of ./contracts/token/UniswapIncentive.sol pragma solidity >=0.4.0 >=0.5.0 >=0.6.2 >=0.6.0 <0.7.0 >=0.6.0 <0.8.0 >=0.6.2 <0.7.0 >=0.6.2 <0.8.0; pragma experimental ABIEncoderV2; ////// ./contracts/core/IPermissions.sol /* pragma solidity ^0.6.0; */ /* pragma experimental ABIEncoderV2; */ /// @title Permissions interface /// @author Fei Protocol interface IPermissions { // ----------- Governor only state changing api ----------- function createRole(bytes32 role, bytes32 adminRole) external; function grantMinter(address minter) external; function grantBurner(address burner) external; function grantPCVController(address pcvController) external; function grantGovernor(address governor) external; function grantGuardian(address guardian) external; function revokeMinter(address minter) external; function revokeBurner(address burner) external; function revokePCVController(address pcvController) external; function revokeGovernor(address governor) external; function revokeGuardian(address guardian) external; // ----------- Revoker only state changing api ----------- function revokeOverride(bytes32 role, address account) external; // ----------- Getters ----------- function isBurner(address _address) external view returns (bool); function isMinter(address _address) external view returns (bool); function isGovernor(address _address) external view returns (bool); function isGuardian(address _address) external view returns (bool); function isPCVController(address _address) external view returns (bool); } ////// /home/brock/git_pkgs/fei-protocol-core/contracts/openzeppelin/contracts/token/ERC20/IERC20.sol // 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_5 { /** * @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); } ////// ./contracts/token/IFei.sol /* pragma solidity ^0.6.2; */ /* import "/home/brock/git_pkgs/fei-protocol-core/contracts/openzeppelin/contracts/token/ERC20/IERC20.sol"; */ /// @title FEI stablecoin interface /// @author Fei Protocol interface IFei is IERC20_5 { // ----------- Events ----------- event Minting( address indexed _to, address indexed _minter, uint256 _amount ); event Burning( address indexed _to, address indexed _burner, uint256 _amount ); event IncentiveContractUpdate( address indexed _incentivized, address indexed _incentiveContract ); // ----------- State changing api ----------- function burn(uint256 amount) external; function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; // ----------- Burner only state changing api ----------- function burnFrom(address account, uint256 amount) external; // ----------- Minter only state changing api ----------- function mint(address account, uint256 amount) external; // ----------- Governor only state changing api ----------- function setIncentiveContract(address account, address incentive) external; // ----------- Getters ----------- function incentiveContract(address account) external view returns (address); } ////// ./contracts/core/ICore.sol /* pragma solidity ^0.6.0; */ /* pragma experimental ABIEncoderV2; */ /* import "./IPermissions.sol"; */ /* import "../token/IFei.sol"; */ /// @title Core Interface /// @author Fei Protocol interface ICore is IPermissions { // ----------- Events ----------- event FeiUpdate(address indexed _fei); event TribeUpdate(address indexed _tribe); event GenesisGroupUpdate(address indexed _genesisGroup); event TribeAllocation(address indexed _to, uint256 _amount); event GenesisPeriodComplete(uint256 _timestamp); // ----------- Governor only state changing api ----------- function init() external; // ----------- Governor only state changing api ----------- function setFei(address token) external; function setTribe(address token) external; function setGenesisGroup(address _genesisGroup) external; function allocateTribe(address to, uint256 amount) external; // ----------- Genesis Group only state changing api ----------- function completeGenesisGroup() external; // ----------- Getters ----------- function fei() external view returns (IFei); function tribe() external view returns (IERC20_5); function genesisGroup() external view returns (address); function hasGenesisGroupCompleted() external view returns (bool); } ////// ./contracts/external/SafeMathCopy.sol // SPDX-License-Identifier: MIT /* pragma solidity ^0.6.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 SafeMathCopy { // To avoid namespace collision between openzeppelin safemath and uniswap safemath /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } ////// ./contracts/external/Decimal.sol /* Copyright 2019 dYdX Trading Inc. Copyright 2020 Empty Set Squad <[email protected]> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ /* pragma solidity ^0.6.0; */ /* pragma experimental ABIEncoderV2; */ /* import "./SafeMathCopy.sol"; */ /** * @title Decimal * @author dYdX * * Library that defines a fixed-point number with 18 decimal places. */ library Decimal { using SafeMathCopy for uint256; // ============ Constants ============ uint256 private constant BASE = 10**18; // ============ Structs ============ struct D256 { uint256 value; } // ============ Static Functions ============ function zero() internal pure returns (D256 memory) { return D256({ value: 0 }); } function one() internal pure returns (D256 memory) { return D256({ value: BASE }); } function from( uint256 a ) internal pure returns (D256 memory) { return D256({ value: a.mul(BASE) }); } function ratio( uint256 a, uint256 b ) internal pure returns (D256 memory) { return D256({ value: getPartial(a, BASE, b) }); } // ============ Self Functions ============ function add( D256 memory self, uint256 b ) internal pure returns (D256 memory) { return D256({ value: self.value.add(b.mul(BASE)) }); } function sub( D256 memory self, uint256 b ) internal pure returns (D256 memory) { return D256({ value: self.value.sub(b.mul(BASE)) }); } function sub( D256 memory self, uint256 b, string memory reason ) internal pure returns (D256 memory) { return D256({ value: self.value.sub(b.mul(BASE), reason) }); } function mul( D256 memory self, uint256 b ) internal pure returns (D256 memory) { return D256({ value: self.value.mul(b) }); } function div( D256 memory self, uint256 b ) internal pure returns (D256 memory) { return D256({ value: self.value.div(b) }); } function pow( D256 memory self, uint256 b ) internal pure returns (D256 memory) { if (b == 0) { return from(1); } D256 memory temp = D256({ value: self.value }); for (uint256 i = 1; i < b; i++) { temp = mul(temp, self); } return temp; } function add( D256 memory self, D256 memory b ) internal pure returns (D256 memory) { return D256({ value: self.value.add(b.value) }); } function sub( D256 memory self, D256 memory b ) internal pure returns (D256 memory) { return D256({ value: self.value.sub(b.value) }); } function sub( D256 memory self, D256 memory b, string memory reason ) internal pure returns (D256 memory) { return D256({ value: self.value.sub(b.value, reason) }); } function mul( D256 memory self, D256 memory b ) internal pure returns (D256 memory) { return D256({ value: getPartial(self.value, b.value, BASE) }); } function div( D256 memory self, D256 memory b ) internal pure returns (D256 memory) { return D256({ value: getPartial(self.value, BASE, b.value) }); } function equals(D256 memory self, D256 memory b) internal pure returns (bool) { return self.value == b.value; } function greaterThan(D256 memory self, D256 memory b) internal pure returns (bool) { return compareTo(self, b) == 2; } function lessThan(D256 memory self, D256 memory b) internal pure returns (bool) { return compareTo(self, b) == 0; } function greaterThanOrEqualTo(D256 memory self, D256 memory b) internal pure returns (bool) { return compareTo(self, b) > 0; } function lessThanOrEqualTo(D256 memory self, D256 memory b) internal pure returns (bool) { return compareTo(self, b) < 2; } function isZero(D256 memory self) internal pure returns (bool) { return self.value == 0; } function asUint256(D256 memory self) internal pure returns (uint256) { return self.value.div(BASE); } // ============ Core Methods ============ function getPartial( uint256 target, uint256 numerator, uint256 denominator ) private pure returns (uint256) { return target.mul(numerator).div(denominator); } function compareTo( D256 memory a, D256 memory b ) private pure returns (uint256) { if (a.value == b.value) { return 1; } return a.value > b.value ? 2 : 0; } } ////// ./contracts/oracle/IOracle.sol /* pragma solidity ^0.6.0; */ /* pragma experimental ABIEncoderV2; */ /* import "../external/Decimal.sol"; */ /// @title generic oracle interface for Fei Protocol /// @author Fei Protocol interface IOracle { // ----------- Events ----------- event Update(uint256 _peg); // ----------- State changing API ----------- function update() external returns (bool); // ----------- Getters ----------- function read() external view returns (Decimal.D256 memory, bool); function isOutdated() external view returns (bool); } ////// ./contracts/refs/ICoreRef.sol /* pragma solidity ^0.6.0; */ /* pragma experimental ABIEncoderV2; */ /* import "../core/ICore.sol"; */ /// @title CoreRef interface /// @author Fei Protocol interface ICoreRef { // ----------- Events ----------- event CoreUpdate(address indexed _core); // ----------- Governor only state changing api ----------- function setCore(address core) external; function pause() external; function unpause() external; // ----------- Getters ----------- function core() external view returns (ICore); function fei() external view returns (IFei); function tribe() external view returns (IERC20_5); function feiBalance() external view returns (uint256); function tribeBalance() external view returns (uint256); } ////// /home/brock/git_pkgs/fei-protocol-core/contracts/openzeppelin/contracts/utils/Address.sol // SPDX-License-Identifier: MIT /* pragma solidity >=0.6.2 <0.8.0; */ /** * @dev Collection of functions related to the address type */ library Address_2 { /** * @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); } } } } ////// /home/brock/git_pkgs/fei-protocol-core/contracts/openzeppelin/contracts/utils/Context.sol // SPDX-License-Identifier: MIT /* pragma solidity >=0.6.0 <0.8.0; */ /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context_2 { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } ////// /home/brock/git_pkgs/fei-protocol-core/contracts/openzeppelin/contracts/utils/Pausable.sol // SPDX-License-Identifier: MIT /* pragma solidity >=0.6.0 <0.8.0; */ /* import "./Context.sol"; */ /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable_2 is Context_2 { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor () internal { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } ////// ./contracts/refs/CoreRef.sol /* pragma solidity ^0.6.0; */ /* pragma experimental ABIEncoderV2; */ /* import "./ICoreRef.sol"; */ /* import "/home/brock/git_pkgs/fei-protocol-core/contracts/openzeppelin/contracts/utils/Pausable.sol"; */ /* import "/home/brock/git_pkgs/fei-protocol-core/contracts/openzeppelin/contracts/utils/Address.sol"; */ /// @title A Reference to Core /// @author Fei Protocol /// @notice defines some modifiers and utilities around interacting with Core abstract contract CoreRef is ICoreRef, Pausable_2 { ICore private _core; /// @notice CoreRef constructor /// @param core Fei Core to reference constructor(address core) public { _core = ICore(core); } modifier ifMinterSelf() { if (_core.isMinter(address(this))) { _; } } modifier ifBurnerSelf() { if (_core.isBurner(address(this))) { _; } } modifier onlyMinter() { require(_core.isMinter(msg.sender), "CoreRef: Caller is not a minter"); _; } modifier onlyBurner() { require(_core.isBurner(msg.sender), "CoreRef: Caller is not a burner"); _; } modifier onlyPCVController() { require( _core.isPCVController(msg.sender), "CoreRef: Caller is not a PCV controller" ); _; } modifier onlyGovernor() { require( _core.isGovernor(msg.sender), "CoreRef: Caller is not a governor" ); _; } modifier onlyGuardianOrGovernor() { require( _core.isGovernor(msg.sender) || _core.isGuardian(msg.sender), "CoreRef: Caller is not a guardian or governor" ); _; } modifier onlyFei() { require(msg.sender == address(fei()), "CoreRef: Caller is not FEI"); _; } modifier onlyGenesisGroup() { require( msg.sender == _core.genesisGroup(), "CoreRef: Caller is not GenesisGroup" ); _; } modifier postGenesis() { require( _core.hasGenesisGroupCompleted(), "CoreRef: Still in Genesis Period" ); _; } modifier nonContract() { require(!Address_2.isContract(msg.sender), "CoreRef: Caller is a contract"); _; } /// @notice set new Core reference address /// @param core the new core address function setCore(address core) external override onlyGovernor { _core = ICore(core); emit CoreUpdate(core); } /// @notice set pausable methods to paused function pause() public override onlyGuardianOrGovernor { _pause(); } /// @notice set pausable methods to unpaused function unpause() public override onlyGuardianOrGovernor { _unpause(); } /// @notice address of the Core contract referenced /// @return ICore implementation address function core() public view override returns (ICore) { return _core; } /// @notice address of the Fei contract referenced by Core /// @return IFei implementation address function fei() public view override returns (IFei) { return _core.fei(); } /// @notice address of the Tribe contract referenced by Core /// @return IERC20 implementation address function tribe() public view override returns (IERC20_5) { return _core.tribe(); } /// @notice fei balance of contract /// @return fei amount held function feiBalance() public view override returns (uint256) { return fei().balanceOf(address(this)); } /// @notice tribe balance of contract /// @return tribe amount held function tribeBalance() public view override returns (uint256) { return tribe().balanceOf(address(this)); } function _burnFeiHeld() internal { fei().burn(feiBalance()); } function _mintFei(uint256 amount) internal { fei().mint(address(this), amount); } } ////// ./contracts/refs/IOracleRef.sol /* pragma solidity ^0.6.0; */ /* pragma experimental ABIEncoderV2; */ /* import "../oracle/IOracle.sol"; */ /// @title OracleRef interface /// @author Fei Protocol interface IOracleRef { // ----------- Events ----------- event OracleUpdate(address indexed _oracle); // ----------- State changing API ----------- function updateOracle() external returns (bool); // ----------- Governor only state changing API ----------- function setOracle(address _oracle) external; // ----------- Getters ----------- function oracle() external view returns (IOracle); function peg() external view returns (Decimal.D256 memory); function invert(Decimal.D256 calldata price) external pure returns (Decimal.D256 memory); } ////// /home/brock/git_pkgs/fei-protocol-core/contracts/uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol /* pragma solidity >=0.5.0; */ interface IUniswapV2Pair_3 { event Approval(address indexed owner, address indexed spender, uint value); event Transfer(address indexed from, address indexed to, uint value); function name() external pure returns (string memory); function symbol() external pure returns (string memory); function decimals() external pure returns (uint8); function totalSupply() external view returns (uint); function balanceOf(address owner) external view returns (uint); function allowance(address owner, address spender) external view returns (uint); function approve(address spender, uint value) external returns (bool); function transfer(address to, uint value) external returns (bool); function transferFrom(address from, address to, uint value) external returns (bool); function DOMAIN_SEPARATOR() external view returns (bytes32); function PERMIT_TYPEHASH() external pure returns (bytes32); function nonces(address owner) external view returns (uint); function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external; event Mint(address indexed sender, uint amount0, uint amount1); event Burn(address indexed sender, uint amount0, uint amount1, address indexed to); event Swap( address indexed sender, uint amount0In, uint amount1In, uint amount0Out, uint amount1Out, address indexed to ); event Sync(uint112 reserve0, uint112 reserve1); function MINIMUM_LIQUIDITY() external pure returns (uint); function factory() external view returns (address); function token0() external view returns (address); function token1() external view returns (address); function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast); function price0CumulativeLast() external view returns (uint); function price1CumulativeLast() external view returns (uint); function kLast() external view returns (uint); function mint(address to) external returns (uint liquidity); function burn(address to) external returns (uint amount0, uint amount1); function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external; function skim(address to) external; function sync() external; function initialize(address, address) external; } ////// /home/brock/git_pkgs/fei-protocol-core/contracts/uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router01.sol /* pragma solidity >=0.6.2; */ interface IUniswapV2Router01_2 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } ////// /home/brock/git_pkgs/fei-protocol-core/contracts/uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol /* pragma solidity >=0.6.2; */ /* import './IUniswapV2Router01.sol'; */ interface IUniswapV2Router02_2 is IUniswapV2Router01_2 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } ////// ./contracts/refs/IUniRef.sol /* pragma solidity ^0.6.0; */ /* pragma experimental ABIEncoderV2; */ /* import "/home/brock/git_pkgs/fei-protocol-core/contracts/uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol"; */ /* import "/home/brock/git_pkgs/fei-protocol-core/contracts/uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol"; */ /* import "/home/brock/git_pkgs/fei-protocol-core/contracts/openzeppelin/contracts/token/ERC20/IERC20.sol"; */ /* import "../external/Decimal.sol"; */ /// @title UniRef interface /// @author Fei Protocol interface IUniRef { // ----------- Events ----------- event PairUpdate(address indexed _pair); // ----------- Governor only state changing api ----------- function setPair(address _pair) external; // ----------- Getters ----------- function router() external view returns (IUniswapV2Router02_2); function pair() external view returns (IUniswapV2Pair_3); function token() external view returns (address); function getReserves() external view returns (uint256 feiReserves, uint256 tokenReserves); function deviationBelowPeg( Decimal.D256 calldata price, Decimal.D256 calldata peg ) external pure returns (Decimal.D256 memory); function liquidityOwned() external view returns (uint256); } ////// ./contracts/refs/OracleRef.sol /* pragma solidity ^0.6.0; */ /* pragma experimental ABIEncoderV2; */ /* import "./IOracleRef.sol"; */ /* import "./CoreRef.sol"; */ /// @title Reference to an Oracle /// @author Fei Protocol /// @notice defines some utilities around interacting with the referenced oracle abstract contract OracleRef is IOracleRef, CoreRef { using Decimal for Decimal.D256; /// @notice the oracle reference by the contract IOracle public override oracle; /// @notice OracleRef constructor /// @param _core Fei Core to reference /// @param _oracle oracle to reference constructor(address _core, address _oracle) public CoreRef(_core) { _setOracle(_oracle); } /// @notice sets the referenced oracle /// @param _oracle the new oracle to reference function setOracle(address _oracle) external override onlyGovernor { _setOracle(_oracle); } /// @notice invert a peg price /// @param price the peg price to invert /// @return the inverted peg as a Decimal /// @dev the inverted peg would be X per FEI function invert(Decimal.D256 memory price) public pure override returns (Decimal.D256 memory) { return Decimal.one().div(price); } /// @notice updates the referenced oracle /// @return true if the update is effective function updateOracle() public override returns (bool) { return oracle.update(); } /// @notice the peg price of the referenced oracle /// @return the peg as a Decimal /// @dev the peg is defined as FEI per X with X being ETH, dollars, etc function peg() public view override returns (Decimal.D256 memory) { (Decimal.D256 memory _peg, bool valid) = oracle.read(); require(valid, "OracleRef: oracle invalid"); return _peg; } function _setOracle(address _oracle) internal { oracle = IOracle(_oracle); emit OracleUpdate(_oracle); } } ////// /home/brock/git_pkgs/fei-protocol-core/contracts/openzeppelin/contracts/math/SignedSafeMath.sol // SPDX-License-Identifier: MIT /* pragma solidity >=0.6.0 <0.8.0; */ /** * @title SignedSafeMath * @dev Signed math operations with safety checks that revert on error. */ library SignedSafeMath_2 { int256 constant private _INT256_MIN = -2**255; /** * @dev Returns the multiplication of two signed integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(int256 a, int256 b) internal pure returns (int256) { // 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; } require(!(a == -1 && b == _INT256_MIN), "SignedSafeMath: multiplication overflow"); int256 c = a * b; require(c / a == b, "SignedSafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two signed 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(int256 a, int256 b) internal pure returns (int256) { require(b != 0, "SignedSafeMath: division by zero"); require(!(b == -1 && a == _INT256_MIN), "SignedSafeMath: division overflow"); int256 c = a / b; return c; } /** * @dev Returns the subtraction of two signed integers, reverting on * overflow. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(int256 a, int256 b) internal pure returns (int256) { int256 c = a - b; require((b >= 0 && c <= a) || (b < 0 && c > a), "SignedSafeMath: subtraction overflow"); return c; } /** * @dev Returns the addition of two signed integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(int256 a, int256 b) internal pure returns (int256) { int256 c = a + b; require((b >= 0 && c >= a) || (b < 0 && c < a), "SignedSafeMath: addition overflow"); return c; } } ////// /home/brock/git_pkgs/fei-protocol-core/contracts/openzeppelin/contracts/utils/SafeCast.sol // SPDX-License-Identifier: MIT /* pragma solidity >=0.6.0 <0.8.0; */ /** * @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow * checks. * * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can * easily result in undesired exploitation or bugs, since developers usually * assume that overflows raise errors. `SafeCast` restores this intuition by * reverting the transaction when such an operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. * * Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing * all math on `uint256` and `int256` and then downcasting. */ library SafeCast_2 { /** * @dev Returns the downcasted uint128 from uint256, reverting on * overflow (when the input is greater than largest uint128). * * Counterpart to Solidity's `uint128` operator. * * Requirements: * * - input must fit into 128 bits */ function toUint128(uint256 value) internal pure returns (uint128) { require(value < 2**128, "SafeCast: value doesn\'t fit in 128 bits"); return uint128(value); } /** * @dev Returns the downcasted uint64 from uint256, reverting on * overflow (when the input is greater than largest uint64). * * Counterpart to Solidity's `uint64` operator. * * Requirements: * * - input must fit into 64 bits */ function toUint64(uint256 value) internal pure returns (uint64) { require(value < 2**64, "SafeCast: value doesn\'t fit in 64 bits"); return uint64(value); } /** * @dev Returns the downcasted uint32 from uint256, reverting on * overflow (when the input is greater than largest uint32). * * Counterpart to Solidity's `uint32` operator. * * Requirements: * * - input must fit into 32 bits */ function toUint32(uint256 value) internal pure returns (uint32) { require(value < 2**32, "SafeCast: value doesn\'t fit in 32 bits"); return uint32(value); } /** * @dev Returns the downcasted uint16 from uint256, reverting on * overflow (when the input is greater than largest uint16). * * Counterpart to Solidity's `uint16` operator. * * Requirements: * * - input must fit into 16 bits */ function toUint16(uint256 value) internal pure returns (uint16) { require(value < 2**16, "SafeCast: value doesn\'t fit in 16 bits"); return uint16(value); } /** * @dev Returns the downcasted uint8 from uint256, reverting on * overflow (when the input is greater than largest uint8). * * Counterpart to Solidity's `uint8` operator. * * Requirements: * * - input must fit into 8 bits. */ function toUint8(uint256 value) internal pure returns (uint8) { require(value < 2**8, "SafeCast: value doesn\'t fit in 8 bits"); return uint8(value); } /** * @dev Converts a signed int256 into an unsigned uint256. * * Requirements: * * - input must be greater than or equal to 0. */ function toUint256(int256 value) internal pure returns (uint256) { require(value >= 0, "SafeCast: value must be positive"); return uint256(value); } /** * @dev Returns the downcasted int128 from int256, reverting on * overflow (when the input is less than smallest int128 or * greater than largest int128). * * Counterpart to Solidity's `int128` operator. * * Requirements: * * - input must fit into 128 bits * * _Available since v3.1._ */ function toInt128(int256 value) internal pure returns (int128) { require(value >= -2**127 && value < 2**127, "SafeCast: value doesn\'t fit in 128 bits"); return int128(value); } /** * @dev Returns the downcasted int64 from int256, reverting on * overflow (when the input is less than smallest int64 or * greater than largest int64). * * Counterpart to Solidity's `int64` operator. * * Requirements: * * - input must fit into 64 bits * * _Available since v3.1._ */ function toInt64(int256 value) internal pure returns (int64) { require(value >= -2**63 && value < 2**63, "SafeCast: value doesn\'t fit in 64 bits"); return int64(value); } /** * @dev Returns the downcasted int32 from int256, reverting on * overflow (when the input is less than smallest int32 or * greater than largest int32). * * Counterpart to Solidity's `int32` operator. * * Requirements: * * - input must fit into 32 bits * * _Available since v3.1._ */ function toInt32(int256 value) internal pure returns (int32) { require(value >= -2**31 && value < 2**31, "SafeCast: value doesn\'t fit in 32 bits"); return int32(value); } /** * @dev Returns the downcasted int16 from int256, reverting on * overflow (when the input is less than smallest int16 or * greater than largest int16). * * Counterpart to Solidity's `int16` operator. * * Requirements: * * - input must fit into 16 bits * * _Available since v3.1._ */ function toInt16(int256 value) internal pure returns (int16) { require(value >= -2**15 && value < 2**15, "SafeCast: value doesn\'t fit in 16 bits"); return int16(value); } /** * @dev Returns the downcasted int8 from int256, reverting on * overflow (when the input is less than smallest int8 or * greater than largest int8). * * Counterpart to Solidity's `int8` operator. * * Requirements: * * - input must fit into 8 bits. * * _Available since v3.1._ */ function toInt8(int256 value) internal pure returns (int8) { require(value >= -2**7 && value < 2**7, "SafeCast: value doesn\'t fit in 8 bits"); return int8(value); } /** * @dev Converts an unsigned uint256 into a signed int256. * * Requirements: * * - input must be less than or equal to maxInt256. */ function toInt256(uint256 value) internal pure returns (int256) { require(value < 2**255, "SafeCast: value doesn't fit in an int256"); return int256(value); } } ////// /home/brock/git_pkgs/fei-protocol-core/contracts/uniswap/lib/contracts/libraries/Babylonian.sol // SPDX-License-Identifier: GPL-3.0-or-later /* pragma solidity >=0.4.0; */ // computes square roots using the babylonian method // https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method library Babylonian_3 { 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; } // else z = 0 } } ////// ./contracts/refs/UniRef.sol /* pragma solidity ^0.6.0; */ /* pragma experimental ABIEncoderV2; */ /* import "/home/brock/git_pkgs/fei-protocol-core/contracts/openzeppelin/contracts/math/SignedSafeMath.sol"; */ /* import "/home/brock/git_pkgs/fei-protocol-core/contracts/openzeppelin/contracts/utils/SafeCast.sol"; */ /* import "/home/brock/git_pkgs/fei-protocol-core/contracts/uniswap/lib/contracts/libraries/Babylonian.sol"; */ /* import "./OracleRef.sol"; */ /* import "./IUniRef.sol"; */ /// @title A Reference to Uniswap /// @author Fei Protocol /// @notice defines some modifiers and utilities around interacting with Uniswap /// @dev the uniswap pair should be FEI and another asset abstract contract UniRef is IUniRef, OracleRef { using Decimal for Decimal.D256; using Babylonian_3 for uint256; using SignedSafeMath_2 for int256; using SafeMathCopy for uint256; using SafeCast_2 for uint256; using SafeCast_2 for int256; /// @notice the Uniswap router contract IUniswapV2Router02_2 public override router; /// @notice the referenced Uniswap pair contract IUniswapV2Pair_3 public override pair; /// @notice UniRef constructor /// @param _core Fei Core to reference /// @param _pair Uniswap pair to reference /// @param _router Uniswap Router to reference /// @param _oracle oracle to reference constructor( address _core, address _pair, address _router, address _oracle ) public OracleRef(_core, _oracle) { _setupPair(_pair); router = IUniswapV2Router02_2(_router); _approveToken(address(fei())); _approveToken(token()); _approveToken(_pair); } /// @notice set the new pair contract /// @param _pair the new pair /// @dev also approves the router for the new pair token and underlying token function setPair(address _pair) external override onlyGovernor { _setupPair(_pair); _approveToken(token()); _approveToken(_pair); } /// @notice the address of the non-fei underlying token function token() public view override returns (address) { address token0 = pair.token0(); if (address(fei()) == token0) { return pair.token1(); } return token0; } /// @notice pair reserves with fei listed first /// @dev uses the max of pair fei balance and fei reserves. Mitigates attack vectors which manipulate the pair balance function getReserves() public view override returns (uint256 feiReserves, uint256 tokenReserves) { address token0 = pair.token0(); (uint256 reserve0, uint256 reserve1, ) = pair.getReserves(); (feiReserves, tokenReserves) = address(fei()) == token0 ? (reserve0, reserve1) : (reserve1, reserve0); return (feiReserves, tokenReserves); } /// @notice get deviation from peg as a percent given price /// @dev will return Decimal.zero() if above peg function deviationBelowPeg( Decimal.D256 calldata price, Decimal.D256 calldata peg ) external pure override returns (Decimal.D256 memory) { return _deviationBelowPeg(price, peg); } /// @notice amount of pair liquidity owned by this contract /// @return amount of LP tokens function liquidityOwned() public view override returns (uint256) { return pair.balanceOf(address(this)); } /// @notice ratio of all pair liquidity owned by this contract function _ratioOwned() internal view returns (Decimal.D256 memory) { uint256 balance = liquidityOwned(); uint256 total = pair.totalSupply(); return Decimal.ratio(balance, total); } /// @notice returns true if price is below the peg /// @dev counterintuitively checks if peg < price because price is reported as FEI per X function _isBelowPeg(Decimal.D256 memory peg) internal view returns (bool) { (Decimal.D256 memory price, , ) = _getUniswapPrice(); return peg.lessThan(price); } /// @notice approves a token for the router function _approveToken(address _token) internal { uint256 maxTokens = uint256(-1); IERC20_5(_token).approve(address(router), maxTokens); } function _setupPair(address _pair) internal { pair = IUniswapV2Pair_3(_pair); emit PairUpdate(_pair); } function _isPair(address account) internal view returns (bool) { return address(pair) == account; } /// @notice utility for calculating absolute distance from peg based on reserves /// @param reserveTarget pair reserves of the asset desired to trade with /// @param reserveOther pair reserves of the non-traded asset /// @param peg the target peg reported as Target per Other function _getAmountToPeg( uint256 reserveTarget, uint256 reserveOther, Decimal.D256 memory peg ) internal pure returns (uint256) { uint256 radicand = peg.mul(reserveTarget).mul(reserveOther).asUint256(); uint256 root = radicand.sqrt(); if (root > reserveTarget) { return (root - reserveTarget).mul(1000).div(997); } return (reserveTarget - root).mul(1000).div(997); } /// @notice calculate amount of Fei needed to trade back to the peg function _getAmountToPegFei( uint256 feiReserves, uint256 tokenReserves, Decimal.D256 memory peg ) internal pure returns (uint256) { return _getAmountToPeg(feiReserves, tokenReserves, peg); } /// @notice calculate amount of the not Fei token needed to trade back to the peg function _getAmountToPegOther( uint256 feiReserves, uint256 tokenReserves, Decimal.D256 memory peg ) internal pure returns (uint256) { return _getAmountToPeg(tokenReserves, feiReserves, invert(peg)); } /// @notice get uniswap price and reserves /// @return price reported as Fei per X /// @return reserveFei fei reserves /// @return reserveOther non-fei reserves function _getUniswapPrice() internal view returns ( Decimal.D256 memory, uint256 reserveFei, uint256 reserveOther ) { (reserveFei, reserveOther) = getReserves(); return ( Decimal.ratio(reserveFei, reserveOther), reserveFei, reserveOther ); } /// @notice get final uniswap price after hypothetical FEI trade /// @param amountFei a signed integer representing FEI trade. Positive=sell, negative=buy /// @param reserveFei fei reserves /// @param reserveOther non-fei reserves function _getFinalPrice( int256 amountFei, uint256 reserveFei, uint256 reserveOther ) internal pure returns (Decimal.D256 memory) { uint256 k = reserveFei.mul(reserveOther); int256 signedReservesFei = reserveFei.toInt256(); int256 amountFeiWithFee = amountFei > 0 ? amountFei.mul(997).div(1000) : amountFei; // buys already have fee factored in on uniswap's other token side uint256 adjustedReserveFei = signedReservesFei.add(amountFeiWithFee).toUint256(); uint256 adjustedReserveOther = k / adjustedReserveFei; return Decimal.ratio(adjustedReserveFei, adjustedReserveOther); // alt: adjustedReserveFei^2 / k } /// @notice return the percent distance from peg before and after a hypothetical trade /// @param amountIn a signed amount of FEI to be traded. Positive=sell, negative=buy /// @return initialDeviation the percent distance from peg before trade /// @return finalDeviation the percent distance from peg after hypothetical trade /// @dev deviations will return Decimal.zero() if above peg function _getPriceDeviations(int256 amountIn) internal view returns ( Decimal.D256 memory initialDeviation, Decimal.D256 memory finalDeviation, Decimal.D256 memory _peg, uint256 feiReserves, uint256 tokenReserves ) { _peg = peg(); (Decimal.D256 memory price, uint256 reserveFei, uint256 reserveOther) = _getUniswapPrice(); initialDeviation = _deviationBelowPeg(price, _peg); Decimal.D256 memory finalPrice = _getFinalPrice(amountIn, reserveFei, reserveOther); finalDeviation = _deviationBelowPeg(finalPrice, _peg); return ( initialDeviation, finalDeviation, _peg, reserveFei, reserveOther ); } /// @notice return current percent distance from peg /// @dev will return Decimal.zero() if above peg function _getDistanceToPeg() internal view returns (Decimal.D256 memory distance) { (Decimal.D256 memory price, , ) = _getUniswapPrice(); return _deviationBelowPeg(price, peg()); } /// @notice get deviation from peg as a percent given price /// @dev will return Decimal.zero() if above peg function _deviationBelowPeg( Decimal.D256 memory price, Decimal.D256 memory peg ) internal pure returns (Decimal.D256 memory) { // If price <= peg, then FEI is more expensive and above peg // In this case we can just return zero for deviation if (price.lessThanOrEqualTo(peg)) { return Decimal.zero(); } Decimal.D256 memory delta = price.sub(peg, "Impossible underflow"); return delta.div(peg); } } ////// ./contracts/token/IIncentive.sol /* pragma solidity ^0.6.2; */ /// @title incentive contract interface /// @author Fei Protocol /// @notice Called by FEI token contract when transferring with an incentivized address /// @dev should be appointed as a Minter or Burner as needed interface IIncentive { // ----------- Fei only state changing api ----------- /// @notice apply incentives on transfer /// @param sender the sender address of the FEI /// @param receiver the receiver address of the FEI /// @param operator the operator (msg.sender) of the transfer /// @param amount the amount of FEI transferred function incentivize( address sender, address receiver, address operator, uint256 amount ) external; } ////// ./contracts/token/IUniswapIncentive.sol /* pragma solidity ^0.6.2; */ /* pragma experimental ABIEncoderV2; */ /* import "./IIncentive.sol"; */ /* import "../external/Decimal.sol"; */ /// @title UniswapIncentive interface /// @author Fei Protocol interface IUniswapIncentive is IIncentive { // ----------- Events ----------- event TimeWeightUpdate(uint256 _weight, bool _active); event GrowthRateUpdate(uint256 _growthRate); event ExemptAddressUpdate(address indexed _account, bool _isExempt); // ----------- Governor only state changing api ----------- function setExemptAddress(address account, bool isExempt) external; function setTimeWeightGrowth(uint32 growthRate) external; function setTimeWeight( uint32 weight, uint32 growth, bool active ) external; // ----------- Getters ----------- function isIncentiveParity() external view returns (bool); function isExemptAddress(address account) external view returns (bool); // solhint-disable-next-line func-name-mixedcase function TIME_WEIGHT_GRANULARITY() external view returns (uint32); function getGrowthRate() external view returns (uint32); function getTimeWeight() external view returns (uint32); function isTimeWeightActive() external view returns (bool); function getBuyIncentive(uint256 amount) external view returns ( uint256 incentive, uint32 weight, Decimal.D256 memory initialDeviation, Decimal.D256 memory finalDeviation ); function getSellPenalty(uint256 amount) external view returns ( uint256 penalty, Decimal.D256 memory initialDeviation, Decimal.D256 memory finalDeviation ); function getSellPenaltyMultiplier( Decimal.D256 calldata initialDeviation, Decimal.D256 calldata finalDeviation ) external view returns (Decimal.D256 memory); function getBuyIncentiveMultiplier( Decimal.D256 calldata initialDeviation, Decimal.D256 calldata finalDeviation ) external view returns (Decimal.D256 memory); } ////// ./contracts/utils/SafeMath32.sol // SPDX-License-Identifier: MIT // SafeMath for 32 bit integers inspired by OpenZeppelin SafeMath /* pragma solidity ^0.6.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 SafeMath32 { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint32 a, uint32 b) internal pure returns (uint32) { uint32 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(uint32 a, uint32 b) internal pure returns (uint32) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint32 a, uint32 b, string memory errorMessage) internal pure returns (uint32) { require(b <= a, errorMessage); uint32 c = a - b; return c; } } ////// /home/brock/git_pkgs/fei-protocol-core/contracts/openzeppelin/contracts/math/Math.sol // SPDX-License-Identifier: MIT /* pragma solidity >=0.6.0 <0.8.0; */ /** * @dev Standard math utilities missing in the Solidity language. */ library Math_4 { /** * @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); } } ////// ./contracts/token/UniswapIncentive.sol /* pragma solidity ^0.6.0; */ /* pragma experimental ABIEncoderV2; */ /* import "/home/brock/git_pkgs/fei-protocol-core/contracts/openzeppelin/contracts/math/Math.sol"; */ /* import "./IUniswapIncentive.sol"; */ /* import "../utils/SafeMath32.sol"; */ /* import "../refs/UniRef.sol"; */ /// @title Uniswap trading incentive contract /// @author Fei Protocol /// @dev incentives are only appplied if the contract is appointed as a Minter or Burner, otherwise skipped contract UniswapIncentive is IUniswapIncentive, UniRef { using Decimal for Decimal.D256; using SafeMath32 for uint32; using SafeMathCopy for uint256; struct TimeWeightInfo { uint32 blockNo; uint32 weight; uint32 growthRate; bool active; } TimeWeightInfo private timeWeightInfo; /// @notice the granularity of the time weight and growth rate uint32 public constant override TIME_WEIGHT_GRANULARITY = 100_000; mapping(address => bool) private _exempt; /// @notice UniswapIncentive constructor /// @param _core Fei Core to reference /// @param _oracle Oracle to reference /// @param _pair Uniswap Pair to incentivize /// @param _router Uniswap Router constructor( address _core, address _oracle, address _pair, address _router, uint32 _growthRate ) public UniRef(_core, _pair, _router, _oracle) { _setTimeWeight(0, _growthRate, false); } function incentivize( address sender, address receiver, address, uint256 amountIn ) external override onlyFei { require(sender != receiver, "UniswapIncentive: cannot send self"); updateOracle(); if (_isPair(sender)) { _incentivizeBuy(receiver, amountIn); } if (_isPair(receiver)) { _incentivizeSell(sender, amountIn); } } /// @notice set an address to be exempted from Uniswap trading incentives /// @param account the address to update /// @param isExempt a flag for whether to exempt or unexempt function setExemptAddress(address account, bool isExempt) external override onlyGovernor { _exempt[account] = isExempt; emit ExemptAddressUpdate(account, isExempt); } /// @notice set the time weight growth function function setTimeWeightGrowth(uint32 growthRate) external override onlyGovernor { TimeWeightInfo memory tw = timeWeightInfo; timeWeightInfo = TimeWeightInfo( tw.blockNo, tw.weight, growthRate, tw.active ); emit GrowthRateUpdate(growthRate); } /// @notice sets all of the time weight parameters /// @param weight the stored last time weight /// @param growth the growth rate of the time weight per block /// @param active a flag signifying whether the time weight is currently growing or not function setTimeWeight( uint32 weight, uint32 growth, bool active ) external override onlyGovernor { _setTimeWeight(weight, growth, active); } /// @notice the growth rate of the time weight per block function getGrowthRate() public view override returns (uint32) { return timeWeightInfo.growthRate; } /// @notice the time weight of the current block /// @dev factors in the stored block number and growth rate if active function getTimeWeight() public view override returns (uint32) { TimeWeightInfo memory tw = timeWeightInfo; if (!tw.active) { return 0; } uint32 blockDelta = block.number.toUint32().sub(tw.blockNo); return tw.weight.add(blockDelta * tw.growthRate); } /// @notice returns true if time weight is active and growing at the growth rate function isTimeWeightActive() public view override returns (bool) { return timeWeightInfo.active; } /// @notice returns true if account is marked as exempt function isExemptAddress(address account) public view override returns (bool) { return _exempt[account]; } /// @notice return true if burn incentive equals mint function isIncentiveParity() public view override returns (bool) { uint32 weight = getTimeWeight(); if (weight == 0) { return false; } (Decimal.D256 memory price, , ) = _getUniswapPrice(); Decimal.D256 memory deviation = _deviationBelowPeg(price, peg()); if (deviation.equals(Decimal.zero())) { return false; } Decimal.D256 memory incentive = _calculateBuyIncentiveMultiplier(deviation, deviation, weight); Decimal.D256 memory penalty = _calculateSellPenaltyMultiplier(deviation); return incentive.equals(penalty); } /// @notice get the incentive amount of a buy transfer /// @param amount the FEI size of the transfer /// @return incentive the FEI size of the mint incentive /// @return weight the time weight of thhe incentive /// @return _initialDeviation the Decimal deviation from peg before a transfer /// @return _finalDeviation the Decimal deviation from peg after a transfer /// @dev calculated based on a hypothetical buy, applies to any ERC20 FEI transfer from the pool function getBuyIncentive(uint256 amount) public view override returns ( uint256 incentive, uint32 weight, Decimal.D256 memory _initialDeviation, Decimal.D256 memory _finalDeviation ) { int256 signedAmount = amount.toInt256(); // A buy withdraws FEI from uni so use negative amountIn ( Decimal.D256 memory initialDeviation, Decimal.D256 memory finalDeviation, Decimal.D256 memory peg, uint256 reserveFei, uint256 reserveOther ) = _getPriceDeviations( -1 * signedAmount ); weight = getTimeWeight(); // buy started above peg if (initialDeviation.equals(Decimal.zero())) { return (0, weight, initialDeviation, finalDeviation); } uint256 incentivizedAmount = amount; // if buy ends above peg, only incentivize amount to peg if (finalDeviation.equals(Decimal.zero())) { incentivizedAmount = _getAmountToPegFei(reserveFei, reserveOther, peg); } Decimal.D256 memory multiplier = _calculateBuyIncentiveMultiplier(initialDeviation, finalDeviation, weight); incentive = multiplier.mul(incentivizedAmount).asUint256(); return (incentive, weight, initialDeviation, finalDeviation); } /// @notice get the burn amount of a sell transfer /// @param amount the FEI size of the transfer /// @return penalty the FEI size of the burn incentive /// @return _initialDeviation the Decimal deviation from peg before a transfer /// @return _finalDeviation the Decimal deviation from peg after a transfer /// @dev calculated based on a hypothetical sell, applies to any ERC20 FEI transfer to the pool function getSellPenalty(uint256 amount) public view override returns ( uint256 penalty, Decimal.D256 memory _initialDeviation, Decimal.D256 memory _finalDeviation ) { int256 signedAmount = amount.toInt256(); ( Decimal.D256 memory initialDeviation, Decimal.D256 memory finalDeviation, Decimal.D256 memory peg, uint256 reserveFei, uint256 reserveOther ) = _getPriceDeviations(signedAmount); // if trafe ends above peg, it was always above peg and no penalty needed if (finalDeviation.equals(Decimal.zero())) { return (0, initialDeviation, finalDeviation); } uint256 incentivizedAmount = amount; // if trade started above but ended below, only penalize amount going below peg if (initialDeviation.equals(Decimal.zero())) { uint256 amountToPeg = _getAmountToPegFei(reserveFei, reserveOther, peg); incentivizedAmount = amount.sub( amountToPeg, "UniswapIncentive: Underflow" ); } Decimal.D256 memory multiplier = _calculateIntegratedSellPenaltyMultiplier(initialDeviation, finalDeviation); penalty = multiplier.mul(incentivizedAmount).asUint256(); return (penalty, initialDeviation, finalDeviation); } /// @notice returns the multiplier used to calculate the sell penalty /// @param initialDeviation the percent from peg at start of trade /// @param finalDeviation the percent from peg at the end of trade function getSellPenaltyMultiplier( Decimal.D256 calldata initialDeviation, Decimal.D256 calldata finalDeviation ) external view override returns (Decimal.D256 memory) { return _calculateIntegratedSellPenaltyMultiplier(initialDeviation, finalDeviation); } /// @notice returns the multiplier used to calculate the buy reward /// @param initialDeviation the percent from peg at start of trade /// @param finalDeviation the percent from peg at the end of trade function getBuyIncentiveMultiplier( Decimal.D256 calldata initialDeviation, Decimal.D256 calldata finalDeviation ) external view override returns (Decimal.D256 memory) { return _calculateBuyIncentiveMultiplier(initialDeviation, finalDeviation, getTimeWeight()); } function _incentivizeBuy(address target, uint256 amountIn) internal ifMinterSelf { if (isExemptAddress(target)) { return; } ( uint256 incentive, uint32 weight, Decimal.D256 memory initialDeviation, Decimal.D256 memory finalDeviation ) = getBuyIncentive(amountIn); _updateTimeWeight(initialDeviation, finalDeviation, weight); if (incentive != 0) { fei().mint(target, incentive); } } function _incentivizeSell(address target, uint256 amount) internal ifBurnerSelf { if (isExemptAddress(target)) { return; } ( uint256 penalty, Decimal.D256 memory initialDeviation, Decimal.D256 memory finalDeviation ) = getSellPenalty(amount); uint32 weight = getTimeWeight(); _updateTimeWeight(initialDeviation, finalDeviation, weight); if (penalty != 0) { require(penalty < amount, "UniswapIncentive: Burn exceeds trade size"); fei().burnFrom(address(pair), penalty); // burn from the recipient which is the pair } } function _calculateBuyIncentiveMultiplier( Decimal.D256 memory initialDeviation, Decimal.D256 memory finalDeviation, uint32 weight ) internal pure returns (Decimal.D256 memory) { Decimal.D256 memory correspondingPenalty = _calculateIntegratedSellPenaltyMultiplier(finalDeviation, initialDeviation); // flip direction Decimal.D256 memory buyMultiplier = initialDeviation.mul(uint256(weight)).div( uint256(TIME_WEIGHT_GRANULARITY) ); if (correspondingPenalty.lessThan(buyMultiplier)) { return correspondingPenalty; } return buyMultiplier; } // The sell penalty smoothed over the curve function _calculateIntegratedSellPenaltyMultiplier(Decimal.D256 memory initialDeviation, Decimal.D256 memory finalDeviation) internal pure returns (Decimal.D256 memory) { if (initialDeviation.equals(finalDeviation)) { return _calculateSellPenaltyMultiplier(initialDeviation); } Decimal.D256 memory numerator = _sellPenaltyBound(finalDeviation).sub(_sellPenaltyBound(initialDeviation)); Decimal.D256 memory denominator = finalDeviation.sub(initialDeviation); Decimal.D256 memory multiplier = numerator.div(denominator); if (multiplier.greaterThan(Decimal.one())) { return Decimal.one(); } return multiplier; } function _sellPenaltyBound(Decimal.D256 memory deviation) internal pure returns (Decimal.D256 memory) { return deviation.pow(3).mul(33); } function _calculateSellPenaltyMultiplier(Decimal.D256 memory deviation) internal pure returns (Decimal.D256 memory) { Decimal.D256 memory multiplier = deviation.mul(deviation).mul(100); // m^2 * 100 if (multiplier.greaterThan(Decimal.one())) { return Decimal.one(); } return multiplier; } function _updateTimeWeight( Decimal.D256 memory initialDeviation, Decimal.D256 memory finalDeviation, uint32 currentWeight ) internal { // Reset when trade ends above peg if (finalDeviation.equals(Decimal.zero())) { _setTimeWeight(0, getGrowthRate(), false); return; } // when trade starts above peg but ends below, activate time weight if (initialDeviation.equals(Decimal.zero())) { _setTimeWeight(0, getGrowthRate(), true); return; } // when trade starts and ends below the peg, update the values uint256 updatedWeight = uint256(currentWeight); // Partial buy should update time weight if (initialDeviation.greaterThan(finalDeviation)) { Decimal.D256 memory remainingRatio = finalDeviation.div(initialDeviation); updatedWeight = remainingRatio .mul(uint256(currentWeight)) .asUint256(); } // cap incentive at max penalty uint256 maxWeight = finalDeviation .mul(100) .mul(uint256(TIME_WEIGHT_GRANULARITY)) .asUint256(); // m^2*100 (sell) = t*m (buy) updatedWeight = Math_4.min(updatedWeight, maxWeight); _setTimeWeight(updatedWeight.toUint32(), getGrowthRate(), true); } function _setTimeWeight( uint32 weight, uint32 growthRate, bool active ) internal { uint32 currentGrowth = getGrowthRate(); uint32 blockNo = block.number.toUint32(); timeWeightInfo = TimeWeightInfo(blockNo, weight, growthRate, active); emit TimeWeightUpdate(weight, active); if (currentGrowth != growthRate) { emit GrowthRateUpdate(growthRate); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_core","type":"address"},{"internalType":"address","name":"_oracle","type":"address"},{"internalType":"address","name":"_pair","type":"address"},{"internalType":"address","name":"_router","type":"address"},{"internalType":"uint32","name":"_growthRate","type":"uint32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_core","type":"address"}],"name":"CoreUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_account","type":"address"},{"indexed":false,"internalType":"bool","name":"_isExempt","type":"bool"}],"name":"ExemptAddressUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_growthRate","type":"uint256"}],"name":"GrowthRateUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_oracle","type":"address"}],"name":"OracleUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_pair","type":"address"}],"name":"PairUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_weight","type":"uint256"},{"indexed":false,"internalType":"bool","name":"_active","type":"bool"}],"name":"TimeWeightUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"TIME_WEIGHT_GRANULARITY","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"core","outputs":[{"internalType":"contract ICore","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct Decimal.D256","name":"price","type":"tuple"},{"components":[{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct Decimal.D256","name":"peg","type":"tuple"}],"name":"deviationBelowPeg","outputs":[{"components":[{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct Decimal.D256","name":"","type":"tuple"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"fei","outputs":[{"internalType":"contract IFei","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feiBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"getBuyIncentive","outputs":[{"internalType":"uint256","name":"incentive","type":"uint256"},{"internalType":"uint32","name":"weight","type":"uint32"},{"components":[{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct Decimal.D256","name":"_initialDeviation","type":"tuple"},{"components":[{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct Decimal.D256","name":"_finalDeviation","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct Decimal.D256","name":"initialDeviation","type":"tuple"},{"components":[{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct Decimal.D256","name":"finalDeviation","type":"tuple"}],"name":"getBuyIncentiveMultiplier","outputs":[{"components":[{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct Decimal.D256","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getGrowthRate","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReserves","outputs":[{"internalType":"uint256","name":"feiReserves","type":"uint256"},{"internalType":"uint256","name":"tokenReserves","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"getSellPenalty","outputs":[{"internalType":"uint256","name":"penalty","type":"uint256"},{"components":[{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct Decimal.D256","name":"_initialDeviation","type":"tuple"},{"components":[{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct Decimal.D256","name":"_finalDeviation","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct Decimal.D256","name":"initialDeviation","type":"tuple"},{"components":[{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct Decimal.D256","name":"finalDeviation","type":"tuple"}],"name":"getSellPenaltyMultiplier","outputs":[{"components":[{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct Decimal.D256","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTimeWeight","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"amountIn","type":"uint256"}],"name":"incentivize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct Decimal.D256","name":"price","type":"tuple"}],"name":"invert","outputs":[{"components":[{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct Decimal.D256","name":"","type":"tuple"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExemptAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isIncentiveParity","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTimeWeightActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityOwned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"oracle","outputs":[{"internalType":"contract IOracle","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"contract IUniswapV2Pair_3","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"peg","outputs":[{"components":[{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct Decimal.D256","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniswapV2Router02_2","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"core","type":"address"}],"name":"setCore","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isExempt","type":"bool"}],"name":"setExemptAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_oracle","type":"address"}],"name":"setOracle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_pair","type":"address"}],"name":"setPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"weight","type":"uint32"},{"internalType":"uint32","name":"growth","type":"uint32"},{"internalType":"bool","name":"active","type":"bool"}],"name":"setTimeWeight","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"growthRate","type":"uint32"}],"name":"setTimeWeightGrowth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tribe","outputs":[{"internalType":"contract IERC20_5","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tribeBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"updateOracle","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620037be380380620037be8339810160408190526200003491620005cf565b600080546001600160a81b0319166101006001600160a01b03881602179055848383868381620000648162000102565b506200007b9050836001600160e01b036200014c16565b600280546001600160a01b0319166001600160a01b038416179055620000b3620000a462000196565b6001600160e01b036200022716565b620000ca620000a46001600160e01b03620002ba16565b620000de836001600160e01b036200022716565b50505050620000f760008260006200040960201b60201c565b505050505062000718565b600180546001600160a01b0319166001600160a01b0383169081179091556040517fc17757c327b55fd7741523e1dd00ff52d2a125e38254b540926d1de3a3c9bfa990600090a250565b600380546001600160a01b0319166001600160a01b0383169081179091556040517f2d021ed9645bb1ccb57dd1b9e52e80dcf0a056b96a13a5d524ab76bc1570f65390600090a250565b60008060019054906101000a90046001600160a01b03166001600160a01b0316639a9ba4da6040518163ffffffff1660e01b815260040160206040518083038186803b158015620001e657600080fd5b505afa158015620001fb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002219190620005a9565b90505b90565b60025460405163095ea7b360e01b8152600019916001600160a01b038085169263095ea7b3926200025f921690859060040162000677565b602060405180830381600087803b1580156200027a57600080fd5b505af11580156200028f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002b5919062000655565b505050565b600080600360009054906101000a90046001600160a01b03166001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b1580156200030c57600080fd5b505afa15801562000321573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003479190620005a9565b90506001600160a01b038116620003666001600160e01b036200019616565b6001600160a01b031614156200022157600360009054906101000a90046001600160a01b03166001600160a01b031663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b158015620003c557600080fd5b505afa158015620003da573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620004009190620005a9565b91505062000224565b60006200041e6001600160e01b036200055b16565b9050600062000438436200057360201b620020b31760201c565b6040805160808101825263ffffffff8381168083528982166020840181905291891683850181905288151560609094018490526004805463ffffffff191690921763ffffffff60201b19166401000000009093029290921763ffffffff60401b1916680100000000000000009092029190911760ff60601b19166c01000000000000000000000000909202919091179055519091507fee50bece24c85cdbc48401d8ef779edac669eeb28698c6d8f1c570ca2bac7df690620004fe9087908690620006e7565b60405180910390a18363ffffffff168263ffffffff161462000554577fa9942a79b0e830d2180b85f3b277e0599d9364a15890c57a70ec76a337db42c2846040516200054b9190620006d6565b60405180910390a15b5050505050565b60045468010000000000000000900463ffffffff1690565b60006401000000008210620005a55760405162461bcd60e51b81526004016200059c9062000690565b60405180910390fd5b5090565b600060208284031215620005bb578081fd5b8151620005c881620006ff565b9392505050565b600080600080600060a08688031215620005e7578081fd5b8551620005f481620006ff565b60208701519095506200060781620006ff565b60408701519094506200061a81620006ff565b60608701519093506200062d81620006ff565b608087015190925063ffffffff8116811462000647578182fd5b809150509295509295909350565b60006020828403121562000667578081fd5b81518015158114620005c8578182fd5b6001600160a01b03929092168252602082015260400190565b60208082526026908201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360408201526532206269747360d01b606082015260800190565b63ffffffff91909116815260200190565b63ffffffff9290921682521515602082015260400190565b6001600160a01b03811681146200071557600080fd5b50565b61309680620007286000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c80637adbf97311610125578063b5241e1a116100ad578063f2f4eb261161007c578063f2f4eb261461040e578063f355a0d014610416578063f887ea4014610429578063fc0c546a14610431578063fcd677161461043957610211565b8063b5241e1a146103d4578063b86677fe146103f6578063d6f124f0146103fe578063dd5256641461040657610211565b80638456cb59116100f45780638456cb591461039f5780639a9ba4da146103a75780639e6bbe3e146103af578063a8aa1b31146103c4578063b4905897146103cc57610211565b80637adbf973146103515780637dc0d1d01461036457806380009630146103795780638187f5161461038c57610211565b80634a491096116101a85780635f4a8878116101775780635f4a8878146103065780636b4e13981461030e5780636b6dff0a146103235780636e22230d1461032b5780636e791c831461033e57610211565b80634a491096146102c557806358db3072146102d85780635a5759b4146102eb5780635c975abb146102fe57610211565b806339ef54a1116101e457806339ef54a1146102825780633f4ba83a1461029557806342db95501461029f578063486fbb3e146102b257610211565b80630902f1ac14610216578063098ee15d146102355780631a6d3a79146102585780631f1cb62b1461026d575b600080fd5b61021e610441565b60405161022c929190612f95565b60405180910390f35b610248610243366004612a3e565b6105a4565b60405161022c9493929190612fa3565b610260610693565b60405161022c9190612af6565b6102756106a4565b60405161022c9190612f6c565b610275610290366004612959565b61075d565b61029d610794565b005b61029d6102ad366004612905565b6108c8565b61029d6102c0366004612a6e565b6109c8565b6102756102d3366004612959565b610b60565b6102756102e6366004612959565b610b96565b6102606102f936600461287d565b610bc4565b610260610be6565b610260610bef565b610316610ca6565b60405161022c9190612f76565b610316610d2c565b61029d6103393660046128b5565b610d61565b61027561034c36600461298d565b610e0a565b61029d61035f36600461287d565b610e2a565b61036c610ed6565b60405161022c9190612ac9565b61029d61038736600461287d565b610ee5565b61029d61039a36600461287d565b610fd5565b61029d611097565b61036c6111c9565b6103b7611250565b60405161022c9190612fc6565b61036c611257565b610316611266565b6103e76103e2366004612a3e565b611270565b60405161022c93929190612f7f565b61036c6113a6565b6102606113f5565b6103b7611473565b61036c611486565b61029d610424366004612a8a565b61149a565b61036c61154a565b61036c611559565b6103b7611693565b6000806000600360009054906101000a90046001600160a01b03166001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b15801561049457600080fd5b505afa1580156104a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104cc9190612899565b9050600080600360009054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561051f57600080fd5b505afa158015610533573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055791906129f2565b506001600160701b031691506001600160701b03169150826001600160a01b03166105806111c9565b6001600160a01b031614610595578082610598565b81815b90955093505050509091565b6000806105af61282c565b6105b761282c565b60006105c286611748565b90506105cc61282c565b6105d461282c565b6105dc61282c565b6000806105ec8660001902611771565b945094509450945094506105fe611693565b985061061861060b6117ec565b869063ffffffff61180716565b1561063157506000985092955090935061068c92505050565b8a61063d61060b6117ec565b156106505761064d83838661180e565b90505b61065861282c565b61066387878d611825565b905061067d610678828463ffffffff61189716565b6118c7565b9b509598509396505050505050505b9193509193565b600454600160601b900460ff165b90565b6106ac61282c565b6106b461282c565b600154604080516315f789a960e21b815281516000936001600160a01b0316926357de26a49260048082019391829003018186803b1580156106f557600080fd5b505afa158015610709573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072d91906129b2565b91509150806107575760405162461bcd60e51b815260040161074e90612d60565b60405180910390fd5b50905090565b61076561282c565b61078b6107773685900385018561298d565b6107863685900385018561298d565b6118e4565b90505b92915050565b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b8906107c8903390600401612ac9565b60206040518083038186803b1580156107e057600080fd5b505afa1580156107f4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610818919061293d565b806108a25750600054604051630c68ba2160e01b81526101009091046001600160a01b031690630c68ba2190610852903390600401612ac9565b60206040518083038186803b15801561086a57600080fd5b505afa15801561087e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a2919061293d565b6108be5760405162461bcd60e51b815260040161074e90612bb9565b6108c661199f565b565b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b8906108fc903390600401612ac9565b60206040518083038186803b15801561091457600080fd5b505afa158015610928573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094c919061293d565b6109685760405162461bcd60e51b815260040161074e90612ef6565b6001600160a01b03821660008181526005602052604090819020805460ff1916841515179055517f9226cd0a5a90eb4694e1351c175c4ad131831340dc7a82c2d7693683c1b5afff906109bc908490612af6565b60405180910390a25050565b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b8906109fc903390600401612ac9565b60206040518083038186803b158015610a1457600080fd5b505afa158015610a28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4c919061293d565b610a685760405162461bcd60e51b815260040161074e90612ef6565b610a7061283f565b5060408051608080820183526004805463ffffffff808216855264010000000080830482166020808801918252600160401b8086048516898b0152600160601b80870460ff1615156060808c019182528c519a8b018d528b518816808c5295518816948b01859052968d168a8d01819052905115159990960189905263ffffffff1990961690921767ffffffff00000000191692029190911763ffffffff60401b191691021760ff60601b1916920291909117905590517fa9942a79b0e830d2180b85f3b277e0599d9364a15890c57a70ec76a337db42c290610b54908490612fc6565b60405180910390a15050565b610b6861282c565b61078b610b7a3685900385018561298d565b610b893685900385018561298d565b610b91611693565b611825565b610b9e61282c565b61078b610bb03685900385018561298d565b610bbf3685900385018561298d565b611a0d565b6001600160a01b03811660009081526005602052604090205460ff165b919050565b60005460ff1690565b600080610bfa611693565b905063ffffffff8116610c115760009150506106a1565b610c1961282c565b610c21611a92565b50509050610c2d61282c565b610c3982610bbf6106a4565b9050610c53610c466117ec565b829063ffffffff61180716565b15610c6457600093505050506106a1565b610c6c61282c565b610c77828386611825565b9050610c8161282c565b610c8a83611abb565b9050610c9c828263ffffffff61180716565b9550505050505090565b6003546040516370a0823160e01b81526000916001600160a01b0316906370a0823190610cd7903090600401612ac9565b60206040518083038186803b158015610cef57600080fd5b505afa158015610d03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d279190612a56565b905090565b6000610d366113a6565b6001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401610cd79190612ac9565b610d696111c9565b6001600160a01b0316336001600160a01b031614610d995760405162461bcd60e51b815260040161074e90612b82565b826001600160a01b0316846001600160a01b03161415610dcb5760405162461bcd60e51b815260040161074e90612c3d565b610dd36113f5565b50610ddd84611b0e565b15610dec57610dec8382611b22565b610df583611b0e565b15610e0457610e048482611c64565b50505050565b610e1261282c565b61078e82610e1e611d98565b9063ffffffff611dba16565b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b890610e5e903390600401612ac9565b60206040518083038186803b158015610e7657600080fd5b505afa158015610e8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eae919061293d565b610eca5760405162461bcd60e51b815260040161074e90612ef6565b610ed381611de8565b50565b6001546001600160a01b031681565b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b890610f19903390600401612ac9565b60206040518083038186803b158015610f3157600080fd5b505afa158015610f45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f69919061293d565b610f855760405162461bcd60e51b815260040161074e90612ef6565b60008054610100600160a81b0319166101006001600160a01b03841690810291909117825560405190917fad9400e618eb1344fde53db22397a1b82c765527ecbba3a5c86bcac15090828b91a250565b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b890611009903390600401612ac9565b60206040518083038186803b15801561102157600080fd5b505afa158015611035573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611059919061293d565b6110755760405162461bcd60e51b815260040161074e90612ef6565b61107e81611e32565b61108e611089611559565b611e7c565b610ed381611e7c565b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b8906110cb903390600401612ac9565b60206040518083038186803b1580156110e357600080fd5b505afa1580156110f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061111b919061293d565b806111a55750600054604051630c68ba2160e01b81526101009091046001600160a01b031690630c68ba2190611155903390600401612ac9565b60206040518083038186803b15801561116d57600080fd5b505afa158015611181573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a5919061293d565b6111c15760405162461bcd60e51b815260040161074e90612bb9565b6108c6611f04565b60008060019054906101000a90046001600160a01b03166001600160a01b0316639a9ba4da6040518163ffffffff1660e01b815260040160206040518083038186803b15801561121857600080fd5b505afa15801561122c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d279190612899565b620186a081565b6003546001600160a01b031681565b6000610d366111c9565b600061127a61282c565b61128261282c565b600061128d85611748565b905061129761282c565b61129f61282c565b6112a761282c565b6000806112b386611771565b945094509450945094506112d56112c86117ec565b859063ffffffff61180716565b156112ee57506000975092955090935061139f92505050565b896113076112fa6117ec565b879063ffffffff61180716565b1561136957600061131984848761180e565b9050611365816040518060400160405280601b81526020017f556e6973776170496e63656e746976653a20556e646572666c6f7700000000008152508e611f5f9092919063ffffffff16565b9150505b61137161282c565b61137b87876118e4565b9050611390610678828463ffffffff61189716565b9a509598509396505050505050505b9193909250565b60008060019054906101000a90046001600160a01b03166001600160a01b031663b86677fe6040518163ffffffff1660e01b815260040160206040518083038186803b15801561121857600080fd5b6001546040805163a2e6204560e01b815290516000926001600160a01b03169163a2e6204591600480830192602092919082900301818787803b15801561143b57600080fd5b505af115801561144f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d27919061293d565b600454600160401b900463ffffffff1690565b60005461010090046001600160a01b031690565b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b8906114ce903390600401612ac9565b60206040518083038186803b1580156114e657600080fd5b505afa1580156114fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061151e919061293d565b61153a5760405162461bcd60e51b815260040161074e90612ef6565b611545838383611f8b565b505050565b6002546001600160a01b031681565b600080600360009054906101000a90046001600160a01b03166001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b1580156115aa57600080fd5b505afa1580156115be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115e29190612899565b9050806001600160a01b03166115f66111c9565b6001600160a01b03161415610d2757600360009054906101000a90046001600160a01b03166001600160a01b031663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b15801561165357600080fd5b505afa158015611667573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061168b9190612899565b9150506106a1565b600061169d61283f565b506040805160808101825260045463ffffffff8082168352640100000000820481166020840152600160401b82041692820192909252600160601b90910460ff161515606082018190526116f55760009150506106a1565b600061171c8260000151611708436120b3565b63ffffffff166120d990919063ffffffff16565b905061174182604001518202836020015163ffffffff1661211b90919063ffffffff16565b9250505090565b6000600160ff1b821061176d5760405162461bcd60e51b815260040161074e90612eae565b5090565b61177961282c565b61178161282c565b61178961282c565b6000806117946106a4565b925061179e61282c565b6000806117a9611a92565b9250925092506117b98387611a0d565b97506117c361282c565b6117ce8a8484612149565b90506117da8188611a0d565b97509194509250505091939590929450565b6117f461282c565b5060408051602081019091526000815290565b5190511490565b600061181b8484846121e8565b90505b9392505050565b61182d61282c565b61183561282c565b61183f84866118e4565b905061184961282c565b61186f620186a06118638863ffffffff8881169061189716565b9063ffffffff61226c16565b9050611881828263ffffffff61229316565b1561188e5750905061181e565b95945050505050565b61189f61282c565b6040805160208101909152835181906118be908563ffffffff6122a716565b90529392505050565b805160009061078e90670de0b6b3a764000063ffffffff6122e116565b6118ec61282c565b6118fc838363ffffffff61180716565b156119115761190a83611abb565b905061078e565b61191961282c565b61193a61192585612323565b61192e85612323565b9063ffffffff61234116565b905061194461282c565b611954848663ffffffff61234116565b905061195e61282c565b61196e838363ffffffff611dba16565b905061198861197b611d98565b829063ffffffff61236a16565b1561188e57611995611d98565b935050505061078e565b6119a7610be6565b6119c35760405162461bcd60e51b815260040161074e90612b54565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6119f6612380565b604051611a039190612ac9565b60405180910390a1565b611a1561282c565b611a25838363ffffffff61238416565b15611a325761190a6117ec565b611a3a61282c565b604080518082019091526014815273496d706f737369626c6520756e646572666c6f7760601b6020820152611a78908590859063ffffffff61239a16565b9050611a8a818463ffffffff611dba16565b949350505050565b611a9a61282c565b600080611aa5610441565b9092509050611ab482826123ce565b9250909192565b611ac361282c565b611acb61282c565b611aec6064611ae0858063ffffffff6123f416565b9063ffffffff61189716565b9050611af961197b611d98565b1561078e57611b06611d98565b915050610be1565b6003546001600160a01b0391821691161490565b6000546040516355138f0d60e11b81526101009091046001600160a01b03169063aa271e1a90611b56903090600401612ac9565b60206040518083038186803b158015611b6e57600080fd5b505afa158015611b82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ba6919061293d565b15611c6057611bb482610bc4565b15611bbe57611c60565b600080611bc961282c565b611bd161282c565b611bda856105a4565b9350935093509350611bed828285612422565b8315611c5b57611bfb6111c9565b6001600160a01b03166340c10f1987866040518363ffffffff1660e01b8152600401611c28929190612add565b600060405180830381600087803b158015611c4257600080fd5b505af1158015611c56573d6000803e3d6000fd5b505050505b505050505b5050565b60005460405163219a30a560e11b81526101009091046001600160a01b031690634334614a90611c98903090600401612ac9565b60206040518083038186803b158015611cb057600080fd5b505afa158015611cc4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ce8919061293d565b15611c6057611cf682610bc4565b15611d0057611c60565b6000611d0a61282c565b611d1261282c565b611d1b84611270565b9250925092506000611d2b611693565b9050611d38838383612422565b8315611c5b57848410611d5d5760405162461bcd60e51b815260040161074e90612e1f565b611d656111c9565b60035460405163079cc67960e41b81526001600160a01b03928316926379cc679092611c28929116908890600401612add565b611da061282c565b506040805160208101909152670de0b6b3a7640000815290565b611dc261282c565b60405180602001604052806118be8560000151670de0b6b3a76400008660000151612512565b600180546001600160a01b0319166001600160a01b0383169081179091556040517fc17757c327b55fd7741523e1dd00ff52d2a125e38254b540926d1de3a3c9bfa990600090a250565b600380546001600160a01b0319166001600160a01b0383169081179091556040517f2d021ed9645bb1ccb57dd1b9e52e80dcf0a056b96a13a5d524ab76bc1570f65390600090a250565b60025460405163095ea7b360e01b8152600019916001600160a01b038085169263095ea7b392611eb29216908590600401612add565b602060405180830381600087803b158015611ecc57600080fd5b505af1158015611ee0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611545919061293d565b611f0c610be6565b15611f295760405162461bcd60e51b815260040161074e90612cc0565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586119f6612380565b60008184841115611f835760405162461bcd60e51b815260040161074e9190612b01565b505050900390565b6000611f95611473565b90506000611fa2436120b3565b6040805160808101825263ffffffff8381168083528982166020840181905291891683850181905288151560609094018490526004805463ffffffff191690921767ffffffff0000000019166401000000009093029290921763ffffffff60401b1916600160401b9092029190911760ff60601b1916600160601b909202919091179055519091507fee50bece24c85cdbc48401d8ef779edac669eeb28698c6d8f1c570ca2bac7df6906120599087908690612fd7565b60405180910390a18363ffffffff168263ffffffff16146120ac577fa9942a79b0e830d2180b85f3b277e0599d9364a15890c57a70ec76a337db42c2846040516120a39190612fc6565b60405180910390a15b5050505050565b6000640100000000821061176d5760405162461bcd60e51b815260040161074e90612e68565b600061078b83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612528565b600082820163ffffffff808516908216101561078b5760405162461bcd60e51b815260040161074e90612c06565b61215161282c565b6000612163848463ffffffff6122a716565b9050600061217085611748565b9050600080871361218157866121a5565b6121a56103e8612199896103e563ffffffff61255916565b9063ffffffff6125c416565b905060006121c16121bc848463ffffffff61262816565b61266e565b905060008185816121ce57fe5b0490506121db82826123ce565b9998505050505050505050565b60008061220261067885611ae0868963ffffffff61189716565b9050600061220f82612690565b9050858111156122485761223f6103e56122338884036103e863ffffffff6122a716565b9063ffffffff6122e116565b9250505061181e565b6122626103e56122338389036103e863ffffffff6122a716565b9695505050505050565b61227461282c565b6040805160208101909152835181906118be908563ffffffff6122e116565b600061229f83836126e1565b159392505050565b6000826122b65750600061078e565b828202828482816122c357fe5b041461078b5760405162461bcd60e51b815260040161074e90612d97565b600061078b83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612713565b61232b61282c565b61078e6021611ae084600363ffffffff61274a16565b61234961282c565b60408051602081019091528251845182916118be919063ffffffff6127a016565b600061237683836126e1565b6002149392505050565b3390565b6000600261239284846126e1565b109392505050565b6123a261282c565b60408051602081019091528351855182916123c491908663ffffffff611f5f16565b9052949350505050565b6123d661282c565b60405180602001604052806118be85670de0b6b3a764000086612512565b6123fc61282c565b60405180602001604052806118be85600001518560000151670de0b6b3a7640000612512565b61243a61242d6117ec565b839063ffffffff61180716565b1561245857612453600061244c611473565b6000611f8b565b611545565b6124706124636117ec565b849063ffffffff61180716565b15612489576124536000612482611473565b6001611f8b565b63ffffffff808216906124a0908590859061236a16565b156124d9576124ad61282c565b6124bd848663ffffffff611dba16565b90506124d56106788263ffffffff8087169061189716565b9150505b60006124f0610678620186a0611ae0876064611897565b90506124fc82826127e2565b91506120ac61250a836120b3565b612482611473565b600061181b82612233868663ffffffff6122a716565b60008363ffffffff168363ffffffff1611158290611f835760405162461bcd60e51b815260040161074e9190612b01565b6000826125685750600061078e565b8260001914801561257c5750600160ff1b82145b156125995760405162461bcd60e51b815260040161074e90612dd8565b828202828482816125a657fe5b051461078b5760405162461bcd60e51b815260040161074e90612dd8565b6000816125e35760405162461bcd60e51b815260040161074e90612f37565b816000191480156125f75750600160ff1b83145b156126145760405162461bcd60e51b815260040161074e90612d1f565b600082848161261f57fe5b05949350505050565b600082820181831280159061263d5750838112155b80612652575060008312801561265257508381125b61078b5760405162461bcd60e51b815260040161074e90612c7f565b60008082121561176d5760405162461bcd60e51b815260040161074e90612cea565b600060038211156126d3575080600160028204015b818110156126cd578091506002818285816126bc57fe5b0401816126c557fe5b0490506126a5565b50610be1565b8115610be157506001919050565b8051825160009114156126f65750600161078e565b8151835111612706576000612709565b60025b60ff169392505050565b600081836127345760405162461bcd60e51b815260040161074e9190612b01565b50600083858161274057fe5b0495945050505050565b61275261282c565b816127615761190a60016127f8565b61276961282c565b5060408051602081019091528351815260015b838110156127985761278e82866123f4565b915060010161277c565b509392505050565b600061078b83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611f5f565b60008183106127f1578161078b565b5090919050565b61280061282c565b60408051602081019091528061282484670de0b6b3a764000063ffffffff6122a716565b905292915050565b6040518060200160405280600081525090565b60408051608081018252600080825260208201819052918101829052606081019190915290565b600060208284031215612877578081fd5b50919050565b60006020828403121561288e578081fd5b813561078b81613016565b6000602082840312156128aa578081fd5b815161078b81613016565b600080600080608085870312156128ca578283fd5b84356128d581613016565b935060208501356128e581613016565b925060408501356128f581613016565b9396929550929360600135925050565b60008060408385031215612917578182fd5b823561292281613016565b915060208301356129328161302b565b809150509250929050565b60006020828403121561294e578081fd5b815161078b8161302b565b6000806040838503121561296b578182fd5b6129758484612866565b91506129848460208501612866565b90509250929050565b60006020828403121561299e578081fd5b6129a86020612fef565b9135825250919050565b60008082840360408112156129c5578283fd5b60208112156129d2578283fd5b506129dd6020612fef565b8351815260208401519092506129328161302b565b600080600060608486031215612a06578283fd5b8351612a1181613039565b6020850151909350612a2281613039565b6040850151909250612a338161304e565b809150509250925092565b600060208284031215612a4f578081fd5b5035919050565b600060208284031215612a67578081fd5b5051919050565b600060208284031215612a7f578081fd5b813561078b8161304e565b600080600060608486031215612a9e578081fd5b8335612aa98161304e565b92506020840135612ab98161304e565b91506040840135612a338161302b565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b6000602080835283518082850152825b81811015612b2d57858101830151858201604001528201612b11565b81811115612b3e5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b6020808252601a908201527f436f72655265663a2043616c6c6572206973206e6f7420464549000000000000604082015260600190565b6020808252602d908201527f436f72655265663a2043616c6c6572206973206e6f742061206775617264696160408201526c371037b91033b7bb32b93737b960991b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526022908201527f556e6973776170496e63656e746976653a2063616e6e6f742073656e64207365604082015261363360f11b606082015260800190565b60208082526021908201527f5369676e6564536166654d6174683a206164646974696f6e206f766572666c6f6040820152607760f81b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252818101527f53616665436173743a2076616c7565206d75737420626520706f736974697665604082015260600190565b60208082526021908201527f5369676e6564536166654d6174683a206469766973696f6e206f766572666c6f6040820152607760f81b606082015260800190565b60208082526019908201527f4f7261636c655265663a206f7261636c6520696e76616c696400000000000000604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b60208082526027908201527f5369676e6564536166654d6174683a206d756c7469706c69636174696f6e206f604082015266766572666c6f7760c81b606082015260800190565b60208082526029908201527f556e6973776170496e63656e746976653a204275726e20657863656564732074604082015268726164652073697a6560b81b606082015260800190565b60208082526026908201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360408201526532206269747360d01b606082015260800190565b60208082526028908201527f53616665436173743a2076616c756520646f65736e27742066697420696e2061604082015267371034b73a191a9b60c11b606082015260800190565b60208082526021908201527f436f72655265663a2043616c6c6572206973206e6f74206120676f7665726e6f6040820152603960f91b606082015260800190565b6020808252818101527f5369676e6564536166654d6174683a206469766973696f6e206279207a65726f604082015260600190565b9051815260200190565b90815260200190565b9283529051602083015251604082015260600190565b918252602082015260400190565b93845263ffffffff92909216602084015251604083015251606082015260800190565b63ffffffff91909116815260200190565b63ffffffff9290921682521515602082015260400190565b60405181810167ffffffffffffffff8111828210171561300e57600080fd5b604052919050565b6001600160a01b0381168114610ed357600080fd5b8015158114610ed357600080fd5b6001600160701b0381168114610ed357600080fd5b63ffffffff81168114610ed357600080fdfea2646970667358221220f1b8b33e167c4ee33e87e9bc9f956ecdeccc08e9a444cf0ffd4ef67f7739120e64736f6c634300060600330000000000000000000000008d5ed43dca8c2f7dfb20cf7b53cc7e593635d7b900000000000000000000000089714d3ac9149426219a3568543200d1964101c400000000000000000000000094b0a3d511b6ecdb17ebf877278ab030acb0a8780000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000000000000000000000000000000000000000004b
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102115760003560e01c80637adbf97311610125578063b5241e1a116100ad578063f2f4eb261161007c578063f2f4eb261461040e578063f355a0d014610416578063f887ea4014610429578063fc0c546a14610431578063fcd677161461043957610211565b8063b5241e1a146103d4578063b86677fe146103f6578063d6f124f0146103fe578063dd5256641461040657610211565b80638456cb59116100f45780638456cb591461039f5780639a9ba4da146103a75780639e6bbe3e146103af578063a8aa1b31146103c4578063b4905897146103cc57610211565b80637adbf973146103515780637dc0d1d01461036457806380009630146103795780638187f5161461038c57610211565b80634a491096116101a85780635f4a8878116101775780635f4a8878146103065780636b4e13981461030e5780636b6dff0a146103235780636e22230d1461032b5780636e791c831461033e57610211565b80634a491096146102c557806358db3072146102d85780635a5759b4146102eb5780635c975abb146102fe57610211565b806339ef54a1116101e457806339ef54a1146102825780633f4ba83a1461029557806342db95501461029f578063486fbb3e146102b257610211565b80630902f1ac14610216578063098ee15d146102355780631a6d3a79146102585780631f1cb62b1461026d575b600080fd5b61021e610441565b60405161022c929190612f95565b60405180910390f35b610248610243366004612a3e565b6105a4565b60405161022c9493929190612fa3565b610260610693565b60405161022c9190612af6565b6102756106a4565b60405161022c9190612f6c565b610275610290366004612959565b61075d565b61029d610794565b005b61029d6102ad366004612905565b6108c8565b61029d6102c0366004612a6e565b6109c8565b6102756102d3366004612959565b610b60565b6102756102e6366004612959565b610b96565b6102606102f936600461287d565b610bc4565b610260610be6565b610260610bef565b610316610ca6565b60405161022c9190612f76565b610316610d2c565b61029d6103393660046128b5565b610d61565b61027561034c36600461298d565b610e0a565b61029d61035f36600461287d565b610e2a565b61036c610ed6565b60405161022c9190612ac9565b61029d61038736600461287d565b610ee5565b61029d61039a36600461287d565b610fd5565b61029d611097565b61036c6111c9565b6103b7611250565b60405161022c9190612fc6565b61036c611257565b610316611266565b6103e76103e2366004612a3e565b611270565b60405161022c93929190612f7f565b61036c6113a6565b6102606113f5565b6103b7611473565b61036c611486565b61029d610424366004612a8a565b61149a565b61036c61154a565b61036c611559565b6103b7611693565b6000806000600360009054906101000a90046001600160a01b03166001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b15801561049457600080fd5b505afa1580156104a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104cc9190612899565b9050600080600360009054906101000a90046001600160a01b03166001600160a01b0316630902f1ac6040518163ffffffff1660e01b815260040160606040518083038186803b15801561051f57600080fd5b505afa158015610533573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061055791906129f2565b506001600160701b031691506001600160701b03169150826001600160a01b03166105806111c9565b6001600160a01b031614610595578082610598565b81815b90955093505050509091565b6000806105af61282c565b6105b761282c565b60006105c286611748565b90506105cc61282c565b6105d461282c565b6105dc61282c565b6000806105ec8660001902611771565b945094509450945094506105fe611693565b985061061861060b6117ec565b869063ffffffff61180716565b1561063157506000985092955090935061068c92505050565b8a61063d61060b6117ec565b156106505761064d83838661180e565b90505b61065861282c565b61066387878d611825565b905061067d610678828463ffffffff61189716565b6118c7565b9b509598509396505050505050505b9193509193565b600454600160601b900460ff165b90565b6106ac61282c565b6106b461282c565b600154604080516315f789a960e21b815281516000936001600160a01b0316926357de26a49260048082019391829003018186803b1580156106f557600080fd5b505afa158015610709573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072d91906129b2565b91509150806107575760405162461bcd60e51b815260040161074e90612d60565b60405180910390fd5b50905090565b61076561282c565b61078b6107773685900385018561298d565b6107863685900385018561298d565b6118e4565b90505b92915050565b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b8906107c8903390600401612ac9565b60206040518083038186803b1580156107e057600080fd5b505afa1580156107f4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610818919061293d565b806108a25750600054604051630c68ba2160e01b81526101009091046001600160a01b031690630c68ba2190610852903390600401612ac9565b60206040518083038186803b15801561086a57600080fd5b505afa15801561087e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108a2919061293d565b6108be5760405162461bcd60e51b815260040161074e90612bb9565b6108c661199f565b565b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b8906108fc903390600401612ac9565b60206040518083038186803b15801561091457600080fd5b505afa158015610928573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061094c919061293d565b6109685760405162461bcd60e51b815260040161074e90612ef6565b6001600160a01b03821660008181526005602052604090819020805460ff1916841515179055517f9226cd0a5a90eb4694e1351c175c4ad131831340dc7a82c2d7693683c1b5afff906109bc908490612af6565b60405180910390a25050565b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b8906109fc903390600401612ac9565b60206040518083038186803b158015610a1457600080fd5b505afa158015610a28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a4c919061293d565b610a685760405162461bcd60e51b815260040161074e90612ef6565b610a7061283f565b5060408051608080820183526004805463ffffffff808216855264010000000080830482166020808801918252600160401b8086048516898b0152600160601b80870460ff1615156060808c019182528c519a8b018d528b518816808c5295518816948b01859052968d168a8d01819052905115159990960189905263ffffffff1990961690921767ffffffff00000000191692029190911763ffffffff60401b191691021760ff60601b1916920291909117905590517fa9942a79b0e830d2180b85f3b277e0599d9364a15890c57a70ec76a337db42c290610b54908490612fc6565b60405180910390a15050565b610b6861282c565b61078b610b7a3685900385018561298d565b610b893685900385018561298d565b610b91611693565b611825565b610b9e61282c565b61078b610bb03685900385018561298d565b610bbf3685900385018561298d565b611a0d565b6001600160a01b03811660009081526005602052604090205460ff165b919050565b60005460ff1690565b600080610bfa611693565b905063ffffffff8116610c115760009150506106a1565b610c1961282c565b610c21611a92565b50509050610c2d61282c565b610c3982610bbf6106a4565b9050610c53610c466117ec565b829063ffffffff61180716565b15610c6457600093505050506106a1565b610c6c61282c565b610c77828386611825565b9050610c8161282c565b610c8a83611abb565b9050610c9c828263ffffffff61180716565b9550505050505090565b6003546040516370a0823160e01b81526000916001600160a01b0316906370a0823190610cd7903090600401612ac9565b60206040518083038186803b158015610cef57600080fd5b505afa158015610d03573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d279190612a56565b905090565b6000610d366113a6565b6001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401610cd79190612ac9565b610d696111c9565b6001600160a01b0316336001600160a01b031614610d995760405162461bcd60e51b815260040161074e90612b82565b826001600160a01b0316846001600160a01b03161415610dcb5760405162461bcd60e51b815260040161074e90612c3d565b610dd36113f5565b50610ddd84611b0e565b15610dec57610dec8382611b22565b610df583611b0e565b15610e0457610e048482611c64565b50505050565b610e1261282c565b61078e82610e1e611d98565b9063ffffffff611dba16565b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b890610e5e903390600401612ac9565b60206040518083038186803b158015610e7657600080fd5b505afa158015610e8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eae919061293d565b610eca5760405162461bcd60e51b815260040161074e90612ef6565b610ed381611de8565b50565b6001546001600160a01b031681565b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b890610f19903390600401612ac9565b60206040518083038186803b158015610f3157600080fd5b505afa158015610f45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f69919061293d565b610f855760405162461bcd60e51b815260040161074e90612ef6565b60008054610100600160a81b0319166101006001600160a01b03841690810291909117825560405190917fad9400e618eb1344fde53db22397a1b82c765527ecbba3a5c86bcac15090828b91a250565b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b890611009903390600401612ac9565b60206040518083038186803b15801561102157600080fd5b505afa158015611035573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611059919061293d565b6110755760405162461bcd60e51b815260040161074e90612ef6565b61107e81611e32565b61108e611089611559565b611e7c565b610ed381611e7c565b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b8906110cb903390600401612ac9565b60206040518083038186803b1580156110e357600080fd5b505afa1580156110f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061111b919061293d565b806111a55750600054604051630c68ba2160e01b81526101009091046001600160a01b031690630c68ba2190611155903390600401612ac9565b60206040518083038186803b15801561116d57600080fd5b505afa158015611181573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111a5919061293d565b6111c15760405162461bcd60e51b815260040161074e90612bb9565b6108c6611f04565b60008060019054906101000a90046001600160a01b03166001600160a01b0316639a9ba4da6040518163ffffffff1660e01b815260040160206040518083038186803b15801561121857600080fd5b505afa15801561122c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d279190612899565b620186a081565b6003546001600160a01b031681565b6000610d366111c9565b600061127a61282c565b61128261282c565b600061128d85611748565b905061129761282c565b61129f61282c565b6112a761282c565b6000806112b386611771565b945094509450945094506112d56112c86117ec565b859063ffffffff61180716565b156112ee57506000975092955090935061139f92505050565b896113076112fa6117ec565b879063ffffffff61180716565b1561136957600061131984848761180e565b9050611365816040518060400160405280601b81526020017f556e6973776170496e63656e746976653a20556e646572666c6f7700000000008152508e611f5f9092919063ffffffff16565b9150505b61137161282c565b61137b87876118e4565b9050611390610678828463ffffffff61189716565b9a509598509396505050505050505b9193909250565b60008060019054906101000a90046001600160a01b03166001600160a01b031663b86677fe6040518163ffffffff1660e01b815260040160206040518083038186803b15801561121857600080fd5b6001546040805163a2e6204560e01b815290516000926001600160a01b03169163a2e6204591600480830192602092919082900301818787803b15801561143b57600080fd5b505af115801561144f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d27919061293d565b600454600160401b900463ffffffff1690565b60005461010090046001600160a01b031690565b600054604051631c86b03760e31b81526101009091046001600160a01b03169063e43581b8906114ce903390600401612ac9565b60206040518083038186803b1580156114e657600080fd5b505afa1580156114fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061151e919061293d565b61153a5760405162461bcd60e51b815260040161074e90612ef6565b611545838383611f8b565b505050565b6002546001600160a01b031681565b600080600360009054906101000a90046001600160a01b03166001600160a01b0316630dfe16816040518163ffffffff1660e01b815260040160206040518083038186803b1580156115aa57600080fd5b505afa1580156115be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115e29190612899565b9050806001600160a01b03166115f66111c9565b6001600160a01b03161415610d2757600360009054906101000a90046001600160a01b03166001600160a01b031663d21220a76040518163ffffffff1660e01b815260040160206040518083038186803b15801561165357600080fd5b505afa158015611667573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061168b9190612899565b9150506106a1565b600061169d61283f565b506040805160808101825260045463ffffffff8082168352640100000000820481166020840152600160401b82041692820192909252600160601b90910460ff161515606082018190526116f55760009150506106a1565b600061171c8260000151611708436120b3565b63ffffffff166120d990919063ffffffff16565b905061174182604001518202836020015163ffffffff1661211b90919063ffffffff16565b9250505090565b6000600160ff1b821061176d5760405162461bcd60e51b815260040161074e90612eae565b5090565b61177961282c565b61178161282c565b61178961282c565b6000806117946106a4565b925061179e61282c565b6000806117a9611a92565b9250925092506117b98387611a0d565b97506117c361282c565b6117ce8a8484612149565b90506117da8188611a0d565b97509194509250505091939590929450565b6117f461282c565b5060408051602081019091526000815290565b5190511490565b600061181b8484846121e8565b90505b9392505050565b61182d61282c565b61183561282c565b61183f84866118e4565b905061184961282c565b61186f620186a06118638863ffffffff8881169061189716565b9063ffffffff61226c16565b9050611881828263ffffffff61229316565b1561188e5750905061181e565b95945050505050565b61189f61282c565b6040805160208101909152835181906118be908563ffffffff6122a716565b90529392505050565b805160009061078e90670de0b6b3a764000063ffffffff6122e116565b6118ec61282c565b6118fc838363ffffffff61180716565b156119115761190a83611abb565b905061078e565b61191961282c565b61193a61192585612323565b61192e85612323565b9063ffffffff61234116565b905061194461282c565b611954848663ffffffff61234116565b905061195e61282c565b61196e838363ffffffff611dba16565b905061198861197b611d98565b829063ffffffff61236a16565b1561188e57611995611d98565b935050505061078e565b6119a7610be6565b6119c35760405162461bcd60e51b815260040161074e90612b54565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6119f6612380565b604051611a039190612ac9565b60405180910390a1565b611a1561282c565b611a25838363ffffffff61238416565b15611a325761190a6117ec565b611a3a61282c565b604080518082019091526014815273496d706f737369626c6520756e646572666c6f7760601b6020820152611a78908590859063ffffffff61239a16565b9050611a8a818463ffffffff611dba16565b949350505050565b611a9a61282c565b600080611aa5610441565b9092509050611ab482826123ce565b9250909192565b611ac361282c565b611acb61282c565b611aec6064611ae0858063ffffffff6123f416565b9063ffffffff61189716565b9050611af961197b611d98565b1561078e57611b06611d98565b915050610be1565b6003546001600160a01b0391821691161490565b6000546040516355138f0d60e11b81526101009091046001600160a01b03169063aa271e1a90611b56903090600401612ac9565b60206040518083038186803b158015611b6e57600080fd5b505afa158015611b82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ba6919061293d565b15611c6057611bb482610bc4565b15611bbe57611c60565b600080611bc961282c565b611bd161282c565b611bda856105a4565b9350935093509350611bed828285612422565b8315611c5b57611bfb6111c9565b6001600160a01b03166340c10f1987866040518363ffffffff1660e01b8152600401611c28929190612add565b600060405180830381600087803b158015611c4257600080fd5b505af1158015611c56573d6000803e3d6000fd5b505050505b505050505b5050565b60005460405163219a30a560e11b81526101009091046001600160a01b031690634334614a90611c98903090600401612ac9565b60206040518083038186803b158015611cb057600080fd5b505afa158015611cc4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ce8919061293d565b15611c6057611cf682610bc4565b15611d0057611c60565b6000611d0a61282c565b611d1261282c565b611d1b84611270565b9250925092506000611d2b611693565b9050611d38838383612422565b8315611c5b57848410611d5d5760405162461bcd60e51b815260040161074e90612e1f565b611d656111c9565b60035460405163079cc67960e41b81526001600160a01b03928316926379cc679092611c28929116908890600401612add565b611da061282c565b506040805160208101909152670de0b6b3a7640000815290565b611dc261282c565b60405180602001604052806118be8560000151670de0b6b3a76400008660000151612512565b600180546001600160a01b0319166001600160a01b0383169081179091556040517fc17757c327b55fd7741523e1dd00ff52d2a125e38254b540926d1de3a3c9bfa990600090a250565b600380546001600160a01b0319166001600160a01b0383169081179091556040517f2d021ed9645bb1ccb57dd1b9e52e80dcf0a056b96a13a5d524ab76bc1570f65390600090a250565b60025460405163095ea7b360e01b8152600019916001600160a01b038085169263095ea7b392611eb29216908590600401612add565b602060405180830381600087803b158015611ecc57600080fd5b505af1158015611ee0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611545919061293d565b611f0c610be6565b15611f295760405162461bcd60e51b815260040161074e90612cc0565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586119f6612380565b60008184841115611f835760405162461bcd60e51b815260040161074e9190612b01565b505050900390565b6000611f95611473565b90506000611fa2436120b3565b6040805160808101825263ffffffff8381168083528982166020840181905291891683850181905288151560609094018490526004805463ffffffff191690921767ffffffff0000000019166401000000009093029290921763ffffffff60401b1916600160401b9092029190911760ff60601b1916600160601b909202919091179055519091507fee50bece24c85cdbc48401d8ef779edac669eeb28698c6d8f1c570ca2bac7df6906120599087908690612fd7565b60405180910390a18363ffffffff168263ffffffff16146120ac577fa9942a79b0e830d2180b85f3b277e0599d9364a15890c57a70ec76a337db42c2846040516120a39190612fc6565b60405180910390a15b5050505050565b6000640100000000821061176d5760405162461bcd60e51b815260040161074e90612e68565b600061078b83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612528565b600082820163ffffffff808516908216101561078b5760405162461bcd60e51b815260040161074e90612c06565b61215161282c565b6000612163848463ffffffff6122a716565b9050600061217085611748565b9050600080871361218157866121a5565b6121a56103e8612199896103e563ffffffff61255916565b9063ffffffff6125c416565b905060006121c16121bc848463ffffffff61262816565b61266e565b905060008185816121ce57fe5b0490506121db82826123ce565b9998505050505050505050565b60008061220261067885611ae0868963ffffffff61189716565b9050600061220f82612690565b9050858111156122485761223f6103e56122338884036103e863ffffffff6122a716565b9063ffffffff6122e116565b9250505061181e565b6122626103e56122338389036103e863ffffffff6122a716565b9695505050505050565b61227461282c565b6040805160208101909152835181906118be908563ffffffff6122e116565b600061229f83836126e1565b159392505050565b6000826122b65750600061078e565b828202828482816122c357fe5b041461078b5760405162461bcd60e51b815260040161074e90612d97565b600061078b83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612713565b61232b61282c565b61078e6021611ae084600363ffffffff61274a16565b61234961282c565b60408051602081019091528251845182916118be919063ffffffff6127a016565b600061237683836126e1565b6002149392505050565b3390565b6000600261239284846126e1565b109392505050565b6123a261282c565b60408051602081019091528351855182916123c491908663ffffffff611f5f16565b9052949350505050565b6123d661282c565b60405180602001604052806118be85670de0b6b3a764000086612512565b6123fc61282c565b60405180602001604052806118be85600001518560000151670de0b6b3a7640000612512565b61243a61242d6117ec565b839063ffffffff61180716565b1561245857612453600061244c611473565b6000611f8b565b611545565b6124706124636117ec565b849063ffffffff61180716565b15612489576124536000612482611473565b6001611f8b565b63ffffffff808216906124a0908590859061236a16565b156124d9576124ad61282c565b6124bd848663ffffffff611dba16565b90506124d56106788263ffffffff8087169061189716565b9150505b60006124f0610678620186a0611ae0876064611897565b90506124fc82826127e2565b91506120ac61250a836120b3565b612482611473565b600061181b82612233868663ffffffff6122a716565b60008363ffffffff168363ffffffff1611158290611f835760405162461bcd60e51b815260040161074e9190612b01565b6000826125685750600061078e565b8260001914801561257c5750600160ff1b82145b156125995760405162461bcd60e51b815260040161074e90612dd8565b828202828482816125a657fe5b051461078b5760405162461bcd60e51b815260040161074e90612dd8565b6000816125e35760405162461bcd60e51b815260040161074e90612f37565b816000191480156125f75750600160ff1b83145b156126145760405162461bcd60e51b815260040161074e90612d1f565b600082848161261f57fe5b05949350505050565b600082820181831280159061263d5750838112155b80612652575060008312801561265257508381125b61078b5760405162461bcd60e51b815260040161074e90612c7f565b60008082121561176d5760405162461bcd60e51b815260040161074e90612cea565b600060038211156126d3575080600160028204015b818110156126cd578091506002818285816126bc57fe5b0401816126c557fe5b0490506126a5565b50610be1565b8115610be157506001919050565b8051825160009114156126f65750600161078e565b8151835111612706576000612709565b60025b60ff169392505050565b600081836127345760405162461bcd60e51b815260040161074e9190612b01565b50600083858161274057fe5b0495945050505050565b61275261282c565b816127615761190a60016127f8565b61276961282c565b5060408051602081019091528351815260015b838110156127985761278e82866123f4565b915060010161277c565b509392505050565b600061078b83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611f5f565b60008183106127f1578161078b565b5090919050565b61280061282c565b60408051602081019091528061282484670de0b6b3a764000063ffffffff6122a716565b905292915050565b6040518060200160405280600081525090565b60408051608081018252600080825260208201819052918101829052606081019190915290565b600060208284031215612877578081fd5b50919050565b60006020828403121561288e578081fd5b813561078b81613016565b6000602082840312156128aa578081fd5b815161078b81613016565b600080600080608085870312156128ca578283fd5b84356128d581613016565b935060208501356128e581613016565b925060408501356128f581613016565b9396929550929360600135925050565b60008060408385031215612917578182fd5b823561292281613016565b915060208301356129328161302b565b809150509250929050565b60006020828403121561294e578081fd5b815161078b8161302b565b6000806040838503121561296b578182fd5b6129758484612866565b91506129848460208501612866565b90509250929050565b60006020828403121561299e578081fd5b6129a86020612fef565b9135825250919050565b60008082840360408112156129c5578283fd5b60208112156129d2578283fd5b506129dd6020612fef565b8351815260208401519092506129328161302b565b600080600060608486031215612a06578283fd5b8351612a1181613039565b6020850151909350612a2281613039565b6040850151909250612a338161304e565b809150509250925092565b600060208284031215612a4f578081fd5b5035919050565b600060208284031215612a67578081fd5b5051919050565b600060208284031215612a7f578081fd5b813561078b8161304e565b600080600060608486031215612a9e578081fd5b8335612aa98161304e565b92506020840135612ab98161304e565b91506040840135612a338161302b565b6001600160a01b0391909116815260200190565b6001600160a01b03929092168252602082015260400190565b901515815260200190565b6000602080835283518082850152825b81811015612b2d57858101830151858201604001528201612b11565b81811115612b3e5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b6020808252601a908201527f436f72655265663a2043616c6c6572206973206e6f7420464549000000000000604082015260600190565b6020808252602d908201527f436f72655265663a2043616c6c6572206973206e6f742061206775617264696160408201526c371037b91033b7bb32b93737b960991b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b60208082526022908201527f556e6973776170496e63656e746976653a2063616e6e6f742073656e64207365604082015261363360f11b606082015260800190565b60208082526021908201527f5369676e6564536166654d6174683a206164646974696f6e206f766572666c6f6040820152607760f81b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252818101527f53616665436173743a2076616c7565206d75737420626520706f736974697665604082015260600190565b60208082526021908201527f5369676e6564536166654d6174683a206469766973696f6e206f766572666c6f6040820152607760f81b606082015260800190565b60208082526019908201527f4f7261636c655265663a206f7261636c6520696e76616c696400000000000000604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b60208082526027908201527f5369676e6564536166654d6174683a206d756c7469706c69636174696f6e206f604082015266766572666c6f7760c81b606082015260800190565b60208082526029908201527f556e6973776170496e63656e746976653a204275726e20657863656564732074604082015268726164652073697a6560b81b606082015260800190565b60208082526026908201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360408201526532206269747360d01b606082015260800190565b60208082526028908201527f53616665436173743a2076616c756520646f65736e27742066697420696e2061604082015267371034b73a191a9b60c11b606082015260800190565b60208082526021908201527f436f72655265663a2043616c6c6572206973206e6f74206120676f7665726e6f6040820152603960f91b606082015260800190565b6020808252818101527f5369676e6564536166654d6174683a206469766973696f6e206279207a65726f604082015260600190565b9051815260200190565b90815260200190565b9283529051602083015251604082015260600190565b918252602082015260400190565b93845263ffffffff92909216602084015251604083015251606082015260800190565b63ffffffff91909116815260200190565b63ffffffff9290921682521515602082015260400190565b60405181810167ffffffffffffffff8111828210171561300e57600080fd5b604052919050565b6001600160a01b0381168114610ed357600080fd5b8015158114610ed357600080fd5b6001600160701b0381168114610ed357600080fd5b63ffffffff81168114610ed357600080fdfea2646970667358221220f1b8b33e167c4ee33e87e9bc9f956ecdeccc08e9a444cf0ffd4ef67f7739120e64736f6c63430006060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000008d5ed43dca8c2f7dfb20cf7b53cc7e593635d7b900000000000000000000000089714d3ac9149426219a3568543200d1964101c400000000000000000000000094b0a3d511b6ecdb17ebf877278ab030acb0a8780000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000000000000000000000000000000000000000004b
-----Decoded View---------------
Arg [0] : _core (address): 0x8d5ED43dCa8C2F7dFB20CF7b53CC7E593635d7b9
Arg [1] : _oracle (address): 0x89714d3AC9149426219a3568543200D1964101C4
Arg [2] : _pair (address): 0x94B0A3d511b6EcDb17eBF877278Ab030acb0A878
Arg [3] : _router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [4] : _growthRate (uint32): 75
-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000008d5ed43dca8c2f7dfb20cf7b53cc7e593635d7b9
Arg [1] : 00000000000000000000000089714d3ac9149426219a3568543200d1964101c4
Arg [2] : 00000000000000000000000094b0a3d511b6ecdb17ebf877278ab030acb0a878
Arg [3] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [4] : 000000000000000000000000000000000000000000000000000000000000004b
Deployed Bytecode Sourcemap
75181:14749:0:-:0;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;75181:14749:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;61182:441:0;;;:::i;:::-;;;;;;;;;;;;;;;;;80258:1444;;;;;;;;;:::i;:::-;;;;;;;;;;;78700:113;;;:::i;:::-;;;;;;;;47844:215;;;:::i;:::-;;;;;;;;83849:291;;;;;;;;;:::i;34772:87::-;;;:::i;:::-;;76858:221;;;;;;;;;:::i;77140:366::-;;;;;;;;;:::i;84365:300::-;;;;;;;;;:::i;61750:217::-;;;;;;;;;:::i;78882:161::-;;;;;;;;;:::i;30709:86::-;;;:::i;79110:641::-;;;:::i;62077:120::-;;;:::i;:::-;;;;;;;;35761:121;;;:::i;76208:451::-;;;;;;;;;:::i;47280:185::-;;;;;;;;;:::i;46988:105::-;;;;;;;;;:::i;46614:30::-;;;:::i;:::-;;;;;;;;34443:132;;;;;;;;;:::i;60547:165::-;;;;;;;;;:::i;34631:83::-;;;:::i;35171:88::-;;;:::i;75604:65::-;;;:::i;:::-;;;;;;;;59763:37;;;:::i;35558:117::-;;;:::i;82144:1478::-;;;;;;;;;:::i;:::-;;;;;;;;;;35380:96;;;:::i;47569:::-;;;:::i;78040:114::-;;;:::i;34970:84::-;;;:::i;77782:188::-;;;;;;;;;:::i;59657:43::-;;;:::i;60781:216::-;;;:::i;78291:315::-;;;:::i;61182:441::-;61271:19;61292:21;61331:14;61348:4;;;;;;;;;-1:-1:-1;;;;;61348:4:0;-1:-1:-1;;;;;61348:11:0;;:13;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;61348:13:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;61348:13:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;61348:13:0;;;;;;;;;61331:30;;61373:16;61391;61413:4;;;;;;;;;-1:-1:-1;;;;;61413:4:0;-1:-1:-1;;;;;61413:16:0;;:18;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;61413:18:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;61413:18:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;61413:18:0;;;;;;;;;61372:59;-1:-1:-1;;;;;61372:59:0;;;-1:-1:-1;;;;;61372:59:0;;;61491:6;-1:-1:-1;;;;;61473:24:0;61481:5;:3;:5::i;:::-;-1:-1:-1;;;;;61473:24:0;;:96;;61550:8;61560;61473:96;;;61514:8;61524;61473:96;61442:127;;-1:-1:-1;61442:127:0;-1:-1:-1;;;;61182:441:0;;:::o;80258:1444::-;80379:17;80411:13;80439:37;;:::i;:::-;80491:35;;:::i;:::-;80554:19;80576:17;:6;:15;:17::i;:::-;80554:39;;80685:36;;:::i;:::-;80736:34;;:::i;:::-;80785:23;;:::i;:::-;80823:18;80856:20;80890:62;80929:12;-1:-1:-1;;80924:17:0;80890:19;:62::i;:::-;80670:282;;;;;;;;;;80972:15;:13;:15::i;:::-;80963:24;;81038:39;81062:14;:12;:14::i;:::-;81038:16;;:39;:23;:39;:::i;:::-;81034:124;;;-1:-1:-1;81102:1:0;;-1:-1:-1;81113:16:0;;-1:-1:-1;81131:14:0;;-1:-1:-1;81094:52:0;;-1:-1:-1;;;81094:52:0;81034:124;81199:6;81286:37;81308:14;:12;:14::i;81286:37::-;81282:140;;;81361:49;81380:10;81392:12;81406:3;81361:18;:49::i;:::-;81340:70;;81282:140;81434:30;;:::i;:::-;81480:74;81513:16;81531:14;81547:6;81480:32;:74::i;:::-;81434:120;-1:-1:-1;81577:46:0;:34;81434:120;81592:18;81577:34;:14;:34;:::i;:::-;:44;:46::i;:::-;81565:58;-1:-1:-1;81661:16:0;;-1:-1:-1;81679:14:0;;-1:-1:-1;;;;;;;80258:1444:0;;;;;;:::o;78700:113::-;78784:14;:21;-1:-1:-1;;;78784:21:0;;;;78700:113;;:::o;47844:215::-;47889:19;;:::i;:::-;47922:24;;:::i;:::-;47962:6;;:13;;;-1:-1:-1;;;47962:13:0;;;;47948:10;;-1:-1:-1;;;;;47962:6:0;;:11;;:13;;;;;;;;;;;:6;:13;;;2:2:-1;;;;27:1;24;17:12;2:2;47962:13:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;47962:13:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;47962:13:0;;;;;;;;;47921:54;;;;47994:5;47986:43;;;;-1:-1:-1;;;47986:43:0;;;;;;;;;;;;;;;;;-1:-1:-1;48047:4:0;-1:-1:-1;47844:215:0;:::o;83849:291::-;84018:19;;:::i;:::-;84057:75;;;;;;;;84099:16;84057:75;;;;;;;;;;84117:14;84057:75;;;:41;:75::i;:::-;84050:82;;83849:291;;;;;:::o;34772:87::-;33555:5;;:28;;-1:-1:-1;;;33555:28:0;;:5;;;;-1:-1:-1;;;;;33555:5:0;;:16;;:28;;33572:10;;33555:28;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;33555:28:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33555:28:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;33555:28:0;;;;;;;;;:73;;;-1:-1:-1;33600:5:0;;:28;;-1:-1:-1;;;33600:28:0;;:5;;;;-1:-1:-1;;;;;33600:5:0;;:16;;:28;;33617:10;;33600:28;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;33600:28:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33600:28:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;33600:28:0;;;;;;;;;33533:168;;;;-1:-1:-1;;;33533:168:0;;;;;;;;;34841:10:::1;:8;:10::i;:::-;34772:87::o:0;76858:221::-;33371:5;;:28;;-1:-1:-1;;;33371:28:0;;:5;;;;-1:-1:-1;;;;;33371:5:0;;:16;;:28;;33388:10;;33371:28;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;33371:28:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33371:28:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;33371:28:0;;;;;;;;;33349:111;;;;-1:-1:-1;;;33349:111:0;;;;;;;;;-1:-1:-1;;;;;76990:16:0;::::1;;::::0;;;:7:::1;:16;::::0;;;;;;:27;;-1:-1:-1;;76990:27:0::1;::::0;::::1;;;::::0;;77033:38;::::1;::::0;::::1;::::0;76990:27;;77033:38:::1;;;;;;;;;;76858:221:::0;;:::o;77140:366::-;33371:5;;:28;;-1:-1:-1;;;33371:28:0;;:5;;;;-1:-1:-1;;;;;33371:5:0;;:16;;:28;;33388:10;;33371:28;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;33371:28:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33371:28:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;33371:28:0;;;;;;;;;33349:111;;;;-1:-1:-1;;;33349:111:0;;;;;;;;;77262:24:::1;;:::i;:::-;-1:-1:-1::0;77262:41:0::1;::::0;;::::1;::::0;;::::1;::::0;;77289:14:::1;77262:41:::0;;::::1;::::0;;::::1;::::0;;;;;::::1;::::0;::::1;;::::0;;::::1;::::0;;;-1:-1:-1;;;77262:41:0;;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;77262:41:0;;::::1;;;;;::::0;;;;;;;77331:123;;;;::::1;::::0;;77360:10;;77331:123;::::1;::::0;;;77385:9;;77331:123;::::1;::::0;;::::1;::::0;;;;;::::1;::::0;;;;;;77434:9;;77331:123:::1;;::::0;;;;;;;-1:-1:-1;;77314:140:0;;::::1;::::0;;::::1;-1:-1:-1::0;;77314:140:0::1;::::0;::::1;::::0;;;::::1;-1:-1:-1::0;;;;77314:140:0::1;::::0;::::1;;-1:-1:-1::0;;;;77314:140:0::1;::::0;::::1;::::0;;;::::1;::::0;;77470:28;;::::1;::::0;::::1;::::0;77331:123;;77470:28:::1;;;;;;;;;;33471:1;77140:366:::0;:::o;84365:300::-;84535:19;;:::i;:::-;84574:83;;;;;;;;84607:16;84574:83;;;;;;;;;;84625:14;84574:83;;;84641:15;:13;:15::i;:::-;84574:32;:83::i;61750:217::-;61890:19;;:::i;:::-;61929:30;;;;;;;;61948:5;61929:30;;;;;;;;;;61955:3;61929:30;;;:18;:30::i;78882:161::-;-1:-1:-1;;;;;79019:16:0;;78990:4;79019:16;;;:7;:16;;;;;;;;78882:161;;;;:::o;30709:86::-;30756:4;30780:7;;;30709:86;:::o;79110:641::-;79169:4;79186:13;79202:15;:13;:15::i;:::-;79186:31;-1:-1:-1;79232:11:0;;;79228:56;;79267:5;79260:12;;;;;79228:56;79297:25;;:::i;:::-;79330:18;:16;:18::i;:::-;79296:52;;;;79359:29;;:::i;:::-;79391:32;79410:5;79417;:3;:5::i;79391:32::-;79359:64;;79438:32;79455:14;:12;:14::i;:::-;79438:9;;:32;:16;:32;:::i;:::-;79434:77;;;79494:5;79487:12;;;;;;;79434:77;79523:29;;:::i;:::-;79555:62;79588:9;79599;79610:6;79555:32;:62::i;:::-;79523:94;;79628:27;;:::i;:::-;79658:42;79690:9;79658:31;:42::i;:::-;79628:72;-1:-1:-1;79718:25:0;:9;79628:72;79718:25;:16;:25;:::i;:::-;79711:32;;;;;;;79110:641;:::o;62077:120::-;62160:4;;:29;;-1:-1:-1;;;62160:29:0;;62133:7;;-1:-1:-1;;;;;62160:4:0;;:14;;:29;;62183:4;;62160:29;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;62160:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;62160:29:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;62160:29:0;;;;;;;;;62153:36;;62077:120;:::o;35761:121::-;35815:7;35842;:5;:7::i;:::-;-1:-1:-1;;;;;35842:17:0;;35868:4;35842:32;;;;;;;;;;;;;;;;76208:451;33789:5;:3;:5::i;:::-;-1:-1:-1;;;;;33767:28:0;:10;-1:-1:-1;;;;;33767:28:0;;33759:67;;;;-1:-1:-1;;;33759:67:0;;;;;;;;;76388:8:::1;-1:-1:-1::0;;;;;76378:18:0::1;:6;-1:-1:-1::0;;;;;76378:18:0::1;;;76370:65;;;;-1:-1:-1::0;;;76370:65:0::1;;;;;;;;;76446:14;:12;:14::i;:::-;;76477:15;76485:6;76477:7;:15::i;:::-;76473:83;;;76509:35;76525:8;76535;76509:15;:35::i;:::-;76572:17;76580:8;76572:7;:17::i;:::-;76568:84;;;76606:34;76623:6;76631:8;76606:16;:34::i;:::-;76208:451:::0;;;;:::o;47280:185::-;47389:19;;:::i;:::-;47433:24;47451:5;47433:13;:11;:13::i;:::-;:17;:24;:17;:24;:::i;46988:105::-;33371:5;;:28;;-1:-1:-1;;;33371:28:0;;:5;;;;-1:-1:-1;;;;;33371:5:0;;:16;;:28;;33388:10;;33371:28;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;33371:28:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33371:28:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;33371:28:0;;;;;;;;;33349:111;;;;-1:-1:-1;;;33349:111:0;;;;;;;;;47066:19:::1;47077:7;47066:10;:19::i;:::-;46988:105:::0;:::o;46614:30::-;;;-1:-1:-1;;;;;46614:30:0;;:::o;34443:132::-;33371:5;;:28;;-1:-1:-1;;;33371:28:0;;:5;;;;-1:-1:-1;;;;;33371:5:0;;:16;;:28;;33388:10;;33371:28;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;33371:28:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33371:28:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;33371:28:0;;;;;;;;;33349:111;;;;-1:-1:-1;;;33349:111:0;;;;;;;;;34516:5:::1;:19:::0;;-1:-1:-1;;;;;;34516:19:0::1;;-1:-1:-1::0;;;;;34516:19:0;::::1;::::0;;::::1;::::0;;;::::1;::::0;;34551:16:::1;::::0;34516:19;;34551:16:::1;::::0;::::1;34443:132:::0;:::o;60547:165::-;33371:5;;:28;;-1:-1:-1;;;33371:28:0;;:5;;;;-1:-1:-1;;;;;33371:5:0;;:16;;:28;;33388:10;;33371:28;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;33371:28:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33371:28:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;33371:28:0;;;;;;;;;33349:111;;;;-1:-1:-1;;;33349:111:0;;;;;;;;;60621:17:::1;60632:5;60621:10;:17::i;:::-;60651:22;60665:7;:5;:7::i;:::-;60651:13;:22::i;:::-;60684:20;60698:5;60684:13;:20::i;34631:83::-:0;33555:5;;:28;;-1:-1:-1;;;33555:28:0;;:5;;;;-1:-1:-1;;;;;33555:5:0;;:16;;:28;;33572:10;;33555:28;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;33555:28:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33555:28:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;33555:28:0;;;;;;;;;:73;;;-1:-1:-1;33600:5:0;;:28;;-1:-1:-1;;;33600:28:0;;:5;;;;-1:-1:-1;;;;;33600:5:0;;:16;;:28;;33617:10;;33600:28;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;33600:28:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33600:28:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;33600:28:0;;;;;;;;;33533:168;;;;-1:-1:-1;;;33533:168:0;;;;;;;;;34698:8:::1;:6;:8::i;35171:88::-:0;35216:4;35240:5;;;;;;;;;-1:-1:-1;;;;;35240:5:0;-1:-1:-1;;;;;35240:9:0;;:11;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;35240:11:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;35240:11:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;35240:11:0;;;;;;;;75604:65;75662:7;75604:65;:::o;59763:37::-;;;-1:-1:-1;;;;;59763:37:0;;:::o;35558:117::-;35610:7;35637:5;:3;:5::i;82144:1478::-;82264:15;82294:37;;:::i;:::-;82346:35;;:::i;:::-;82409:19;82431:17;:6;:15;:17::i;:::-;82409:39;;82476:36;;:::i;:::-;82527:34;;:::i;:::-;82576:23;;:::i;:::-;82614:18;82647:20;82681:33;82701:12;82681:19;:33::i;:::-;82461:253;;;;;;;;;;82814:37;82836:14;:12;:14::i;:::-;82814;;:37;:21;:37;:::i;:::-;82810:114;;;-1:-1:-1;82876:1:0;;-1:-1:-1;82879:16:0;;-1:-1:-1;82897:14:0;;-1:-1:-1;82868:44:0;;-1:-1:-1;;;82868:44:0;82810:114;82965:6;83075:39;83099:14;:12;:14::i;:::-;83075:16;;:39;:23;:39;:::i;:::-;83071:282;;;83131:19;83153:49;83172:10;83184:12;83198:3;83153:18;:49::i;:::-;83131:71;;83238:103;83267:11;83238:103;;;;;;;;;;;;;;;;;:6;:10;;:103;;;;;:::i;:::-;83217:124;;83071:282;;83365:30;;:::i;:::-;83411:75;83453:16;83471:14;83411:41;:75::i;:::-;83365:121;-1:-1:-1;83507:46:0;:34;83365:121;83522:18;83507:34;:14;:34;:::i;:46::-;83497:56;-1:-1:-1;83581:16:0;;-1:-1:-1;83599:14:0;;-1:-1:-1;;;;;;;82144:1478:0;;;;;;:::o;35380:96::-;35427:8;35455:5;;;;;;;;;-1:-1:-1;;;;;35455:5:0;-1:-1:-1;;;;;35455:11:0;;:13;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;47569:96:0;47642:6;;:15;;;-1:-1:-1;;;47642:15:0;;;;47618:4;;-1:-1:-1;;;;;47642:6:0;;:13;;:15;;;;;;;;;;;;;;47618:4;47642:6;:15;;;2:2:-1;;;;27:1;24;17:12;2:2;47642:15:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;47642:15:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;47642:15:0;;;;;;;;78040:114;78121:14;:25;-1:-1:-1;;;78121:25:0;;;;;78040:114::o;34970:84::-;35016:5;35041;;;;-1:-1:-1;;;;;35041:5:0;;34970:84::o;77782:188::-;33371:5;;:28;;-1:-1:-1;;;33371:28:0;;:5;;;;-1:-1:-1;;;;;33371:5:0;;:16;;:28;;33388:10;;33371:28;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;33371:28:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33371:28:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;33371:28:0;;;;;;;;;33349:111;;;;-1:-1:-1;;;33349:111:0;;;;;;;;;77924:38:::1;77939:6;77947;77955;77924:14;:38::i;:::-;77782:188:::0;;;:::o;59657:43::-;;;-1:-1:-1;;;;;59657:43:0;;:::o;60781:216::-;60828:7;60848:14;60865:4;;;;;;;;;-1:-1:-1;;;;;60865:4:0;-1:-1:-1;;;;;60865:11:0;;:13;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;60865:13:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;60865:13:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;60865:13:0;;;;;;;;;60848:30;;60911:6;-1:-1:-1;;;;;60893:24:0;60901:5;:3;:5::i;:::-;-1:-1:-1;;;;;60893:24:0;;60889:77;;;60941:4;;;;;;;;;-1:-1:-1;;;;;60941:4:0;-1:-1:-1;;;;;60941:11:0;;:13;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;60941:13:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;60941:13:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;60941:13:0;;;;;;;;;60934:20;;;;;78291:315;78346:6;78365:24;;:::i;:::-;-1:-1:-1;78365:41:0;;;;;;;;78392:14;78365:41;;;;;;;;;;;;;;;;-1:-1:-1;;;78365:41:0;;;;;;;;;;-1:-1:-1;;;78365:41:0;;;;;;;;;;;;;78417:51;;78455:1;78448:8;;;;;78417:51;78480:17;78500:39;78528:2;:10;;;78500:23;:12;:21;:23::i;:::-;:27;;;;:39;;;;:::i;:::-;78480:59;;78557:41;78584:2;:13;;;78571:10;:26;78557:2;:9;;;:13;;;;:41;;;;:::i;:::-;78550:48;;;;78291:315;:::o;57749:181::-;57805:6;-1:-1:-1;;;57832:5:0;:14;57824:67;;;;-1:-1:-1;;;57824:67:0;;;;;;;;;-1:-1:-1;57916:5:0;57749:181::o;66687:864::-;66797:36;;:::i;:::-;66848:34;;:::i;:::-;66897:24;;:::i;:::-;66936:19;66970:21;67026:5;:3;:5::i;:::-;67019:12;;67045:25;;:::i;:::-;67072:18;67092:20;67129:18;:16;:18::i;:::-;67044:103;;;;;;67177:31;67196:5;67203:4;67177:18;:31::i;:::-;67158:50;;67221:30;;:::i;:::-;67267:50;67282:8;67292:10;67304:12;67267:14;:50::i;:::-;67221:96;;67345:36;67364:10;67376:4;67345:18;:36::i;:::-;67328:53;-1:-1:-1;67495:10:0;;-1:-1:-1;67520:12:0;-1:-1:-1;;;66687:864:0;;;;;;;:::o;14270:116::-;14324:11;;:::i;:::-;-1:-1:-1;14360:18:0;;;;;;;;;-1:-1:-1;14360:18:0;;14270:116;:::o;17393:125::-;17503:7;17489:10;;:21;;17393:125::o;64146:237::-;64300:7;64327:48;64343:11;64356:13;64371:3;64327:15;:48::i;:::-;64320:55;;64146:237;;;;;;:::o;85944:693::-;86132:19;;:::i;:::-;86164:40;;:::i;:::-;86220:75;86262:14;86278:16;86220:41;:75::i;:::-;86164:131;;86324:33;;:::i;:::-;86373:107;75662:7;86373:37;:16;86433:32;86394:15;;;;86373:20;:37;:::i;:::-;:41;:107;:41;:107;:::i;:::-;86324:156;-1:-1:-1;86497:44:0;:20;86324:156;86497:44;:29;:44;:::i;:::-;86493:104;;;-1:-1:-1;86565:20:0;-1:-1:-1;86558:27:0;;86493:104;86616:13;85944:693;-1:-1:-1;;;;;85944:693:0:o;15563:183::-;15668:11;;:::i;:::-;15704:34;;;;;;;;;15718:10;;15704:34;;15718:17;;15733:1;15718:17;:14;:17;:::i;:::-;15704:34;;15697:41;15563:183;-1:-1:-1;;;15563:183:0:o;18208:115::-;18295:10;;18268:7;;18295:20;;14104:6;18295:20;:14;:20;:::i;86694:745::-;86869:19;;:::i;:::-;86910:39;:16;86934:14;86910:39;:23;:39;:::i;:::-;86906:128;;;86973:49;87005:16;86973:31;:49::i;:::-;86966:56;;;;86906:128;87044:29;;:::i;:::-;87076:74;87114:35;87132:16;87114:17;:35::i;:::-;87076:33;87094:14;87076:17;:33::i;:::-;:37;:74;:37;:74;:::i;:::-;87044:106;;87161:31;;:::i;:::-;87195:36;:14;87214:16;87195:36;:18;:36;:::i;:::-;87161:70;;87244:30;;:::i;:::-;87277:26;:9;87291:11;87277:26;:13;:26;:::i;:::-;87244:59;;87318:37;87341:13;:11;:13::i;:::-;87318:10;;:37;:22;:37;:::i;:::-;87314:90;;;87379:13;:11;:13::i;:::-;87372:20;;;;;;;31768:120;31312:8;:6;:8::i;:::-;31304:41;;;;-1:-1:-1;;;31304:41:0;;;;;;;;;31837:5:::1;31827:15:::0;;-1:-1:-1;;31827:15:0::1;::::0;;31858:22:::1;31867:12;:10;:12::i;:::-;31858:22;;;;;;;;;;;;;;;31768:120::o:0;68033:491::-;68161:19;;:::i;:::-;68330:28;:5;68354:3;68330:28;:23;:28;:::i;:::-;68326:82;;;68382:14;:12;:14::i;68326:82::-;68418:25;;:::i;:::-;68446:38;;;;;;;;;;;;-1:-1:-1;;;68446:38:0;;;;;;:5;;68456:3;;68446:38;:9;:38;:::i;:::-;68418:66;-1:-1:-1;68502:14:0;68418:66;68512:3;68502:14;:9;:14;:::i;:::-;68495:21;68033:491;-1:-1:-1;;;;68033:491:0:o;64914:392::-;65006:19;;:::i;:::-;65040:18;65073:20;65150:13;:11;:13::i;:::-;65121:42;;-1:-1:-1;65121:42:0;-1:-1:-1;65196:39:0;65121:42;;65196:13;:39::i;:::-;65174:124;-1:-1:-1;64914:392:0;;;:::o;87639:374::-;87761:19;;:::i;:::-;87798:30;;:::i;:::-;87831:33;87860:3;87831:24;87845:9;;87831:24;:13;:24;:::i;:::-;:28;:33;:28;:33;:::i;:::-;87798:66;;87892:37;87915:13;:11;:13::i;87892:37::-;87888:90;;;87953:13;:11;:13::i;:::-;87946:20;;;;;63186:113;63275:4;;-1:-1:-1;;;;;63267:24:0;;;63275:4;;63267:24;;63186:113::o;84673:554::-;32675:5;;:29;;-1:-1:-1;;;32675:29:0;;:5;;;;-1:-1:-1;;;;;32675:5:0;;:14;;:29;;32698:4;;32675:29;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;32675:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;32675:29:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;32675:29:0;;;;;;;;;32671:63;;;84792:23:::1;84808:6;84792:15;:23::i;:::-;84788:62;;;84832:7;;84788:62;84877:17;84909:13:::0;84937:36:::1;;:::i;:::-;84988:34;;:::i;:::-;85036:25;85052:8;85036:15;:25::i;:::-;84862:199;;;;;;;;85074:59;85092:16;85110:14;85126:6;85074:17;:59::i;:::-;85148:14:::0;;85144:76:::1;;85179:5;:3;:5::i;:::-;-1:-1:-1::0;;;;;85179:10:0::1;;85190:6;85198:9;85179:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24::::0;17:12:::1;2:2;85179:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39::::0;24:38:::1;77:16;74:1;67:27;5:2;85179:29:0;;;;85144:76;32721:1;;;;;84673:554:::0;;:::o;85235:701::-;32788:5;;:29;;-1:-1:-1;;;32788:29:0;;:5;;;;-1:-1:-1;;;;;32788:5:0;;:14;;:29;;32811:4;;32788:29;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;32788:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;32788:29:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;32788:29:0;;;;;;;;;32784:63;;;85353:23:::1;85369:6;85353:15;:23::i;:::-;85349:62;;;85393:7;;85349:62;85438:15;85468:36;;:::i;:::-;85519:34;;:::i;:::-;85567:22;85582:6;85567:14;:22::i;:::-;85423:166;;;;;;85602:13;85618:15;:13;:15::i;:::-;85602:31;;85644:59;85662:16;85680:14;85696:6;85644:17;:59::i;:::-;85720:12:::0;;85716:213:::1;;85767:6;85757:7;:16;85749:70;;;;-1:-1:-1::0;;;85749:70:0::1;;;;;;;;;85834:5;:3;:5::i;:::-;85857:4;::::0;85834:38:::1;::::0;-1:-1:-1;;;85834:38:0;;-1:-1:-1;;;;;85834:14:0;;::::1;::::0;::::1;::::0;:38:::1;::::0;85857:4;::::1;::::0;85864:7;;85834:38:::1;;;;14394:118:::0;14447:11;;:::i;:::-;-1:-1:-1;14483:21:0;;;;;;;;;14104:6;14483:21;;14394:118;:::o;17178:207::-;17287:11;;:::i;:::-;17323:54;;;;;;;;17337:37;17348:4;:10;;;14104:6;17366:1;:7;;;17337:10;:37::i;48067:127::-;48124:6;:25;;-1:-1:-1;;;;;;48124:25:0;-1:-1:-1;;;;;48124:25:0;;;;;;;;48165:21;;;;-1:-1:-1;;48165:21:0;48067:127;:::o;63052:126::-;63107:4;:30;;-1:-1:-1;;;;;;63107:30:0;-1:-1:-1;;;;;63107:30:0;;;;;;;;63153:17;;;;-1:-1:-1;;63153:17:0;63052:126;:::o;62883:161::-;63017:6;;62984:52;;-1:-1:-1;;;62984:52:0;;-1:-1:-1;;62970:2:0;-1:-1:-1;;;;;62984:24:0;;;;;;:52;;63017:6;;62970:2;;62984:52;;;;;;;;;;;;;;;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;62984:52:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;62984:52:0;;;;;;;101:4:-1;97:9;90:4;84;80:15;76:31;69:5;65:43;126:6;120:4;113:20;0:138;62984:52:0;;;;;;;;31509:118;31035:8;:6;:8::i;:::-;31034:9;31026:38;;;;-1:-1:-1;;;31026:38:0;;;;;;;;;31569:7:::1;:14:::0;;-1:-1:-1;;31569:14:0::1;31579:4;31569:14;::::0;;31599:20:::1;31606:12;:10;:12::i;9456:192::-:0;9542:7;9578:12;9570:6;;;;9562:29;;;;-1:-1:-1;;;9562:29:0;;;;;;;;;;-1:-1:-1;;;9614:5:0;;;9456:192::o;89469:458::-;89594:20;89617:15;:13;:15::i;:::-;89594:38;;89645:14;89662:23;:12;:21;:23::i;:::-;89715:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;89698:14;:68;;-1:-1:-1;;89698:68:0;;;;-1:-1:-1;;89698:68:0;;;;;;;;;-1:-1:-1;;;;89698:68:0;-1:-1:-1;;;89698:68:0;;;;;;;-1:-1:-1;;;;89698:68:0;-1:-1:-1;;;89698:68:0;;;;;;;;;89784:32;89715:51;;-1:-1:-1;89784:32:0;;;;89715:51;;;;89784:32;;;;;;;;;;89848:10;89831:27;;:13;:27;;;89827:93;;89880:28;89897:10;89880:28;;;;;;;;;;;;;;;89827:93;89469:458;;;;;:::o;53260:179::-;53316:6;53351:5;53343;:13;53335:65;;;;-1:-1:-1;;;53335:65:0;;;;;;;;73080:133;73136:6;73162:43;73166:1;73169;73162:43;;;;;;;;;;;;;;;;;:3;:43::i;72620:177::-;72676:6;72706:5;;;72730:6;;;;;;;;;72722:46;;;;-1:-1:-1;;;72722:46:0;;;;;;;;65565:703;65706:19;;:::i;:::-;65738:9;65750:28;:10;65765:12;65750:28;:14;:28;:::i;:::-;65738:40;;65789:24;65816:21;:10;:19;:21::i;:::-;65789:48;;65848:23;65886:1;65874:9;:13;:56;;65921:9;65874:56;;;65890:28;65913:4;65890:18;:9;65904:3;65890:18;:13;:18;:::i;:::-;:22;:28;:22;:28;:::i;:::-;65848:82;-1:-1:-1;66010:26:0;66039:51;:39;:17;65848:82;66039:39;:21;:39;:::i;:::-;:49;:51::i;:::-;66010:80;;66101:28;66136:18;66132:1;:22;;;;;;66101:53;;66172:55;66186:18;66206:20;66172:13;:55::i;:::-;66165:62;65565:703;-1:-1:-1;;;;;;;;;65565:703:0:o;63603:462::-;63755:7;;63794:52;:40;63821:12;63794:22;:3;63802:13;63794:22;:7;:22;:::i;:52::-;63775:71;;63857:12;63872:15;:8;:13;:15::i;:::-;63857:30;;63909:13;63902:4;:20;63898:101;;;63946:41;63983:3;63946:32;63947:20;;;63973:4;63946:32;:26;:32;:::i;:::-;:36;:41;:36;:41;:::i;:::-;63939:48;;;;;;63898:101;64016:41;64053:3;64016:32;64017:20;;;64043:4;64016:32;:26;:32;:::i;:41::-;64009:48;63603:462;-1:-1:-1;;;;;;63603:462:0:o;15754:183::-;15859:11;;:::i;:::-;15895:34;;;;;;;;;15909:10;;15895:34;;15909:17;;15924:1;15909:17;:14;:17;:::i;17666:129::-;17740:4;17764:18;17774:4;17780:1;17764:9;:18::i;:::-;:23;;17666:129;-1:-1:-1;;;17666:129:0:o;9907:471::-;9965:7;10210:6;10206:47;;-1:-1:-1;10240:1:0;10233:8;;10206:47;10277:5;;;10281:1;10277;:5;:1;10301:5;;;;;:10;10293:56;;;;-1:-1:-1;;;10293:56:0;;;;;;;;10854:132;10912:7;10939:39;10943:1;10946;10939:39;;;;;;;;;;;;;;;;;:3;:39::i;87447:184::-;87555:19;;:::i;:::-;87599:24;87620:2;87599:16;:9;87613:1;87599:16;:13;:16;:::i;16522:193::-;16631:11;;:::i;:::-;16667:40;;;;;;;;;16696:7;;16681:10;;16667:40;;16681:23;;:10;:23;:14;:23;:::i;17526:132::-;17603:4;17627:18;17637:4;17643:1;17627:9;:18::i;:::-;17649:1;17627:23;;17526:132;-1:-1:-1;;;17526:132:0:o;29150:106::-;29238:10;29150:106;:::o;17951:137::-;18034:4;18079:1;18058:18;18068:4;18074:1;18058:9;:18::i;:::-;:22;;17951:137;-1:-1:-1;;;17951:137:0:o;16723:232::-;16863:11;;:::i;:::-;16899:48;;;;;;;;;16928:7;;16913:10;;16899:48;;16913:31;;:10;16937:6;16913:31;:14;:31;:::i;:::-;16899:48;;16892:55;16723:232;-1:-1:-1;;;;16723:232:0:o;14679:183::-;14779:11;;:::i;:::-;14815:39;;;;;;;;14829:22;14840:1;14104:6;14849:1;14829:10;:22::i;16963:207::-;17072:11;;:::i;:::-;17108:54;;;;;;;;17122:37;17133:4;:10;;;17145:1;:7;;;14104:6;17122:10;:37::i;88021:1440::-;88246:37;88268:14;:12;:14::i;:::-;88246;;:37;:21;:37;:::i;:::-;88242:132;;;88300:41;88315:1;88318:15;:13;:15::i;:::-;88335:5;88300:14;:41::i;:::-;88356:7;;88242:132;88465:39;88489:14;:12;:14::i;:::-;88465:16;;:39;:23;:39;:::i;:::-;88461:133;;;88521:40;88536:1;88539:15;:13;:15::i;:::-;88556:4;88521:14;:40::i;88461:133::-;88702:22;;;;;88789:44;;:16;;88818:14;;88789:28;:44;:::i;:::-;88785:288;;;88850:34;;:::i;:::-;88904:36;:14;88923:16;88904:36;:18;:36;:::i;:::-;88850:90;-1:-1:-1;88971:90:0;:60;88850:90;89008:22;;;;;88971:36;:60;:::i;:90::-;88955:106;;88785:288;;89126:17;89159:127;:97;75662:7;89159:41;:14;89196:3;89159:36;:41::i;:127::-;89126:160;;89343:36;89354:13;89369:9;89343:10;:36::i;:::-;89327:52;;89390:63;89405:24;:13;:22;:24::i;:::-;89431:15;:13;:15::i;18380:225::-;18527:7;18559:38;18585:11;18559:21;:6;18570:9;18559:21;:10;:21;:::i;73516:188::-;73600:6;73632:1;73627:6;;:1;:6;;;;73635:12;73619:29;;;;;-1:-1:-1;;;73619:29:0;;;;;;;;;48825:568;48881:6;49125;49121:47;;-1:-1:-1;49155:1:0;49148:8;;49121:47;49190:1;-1:-1:-1;;49190:7:0;:27;;;;;-1:-1:-1;;;49201:1:0;:16;49190:27;49188:30;49180:82;;;;-1:-1:-1;;;49180:82:0;;;;;;;;;49286:5;;;49290:1;49286;:5;:1;49310:5;;;;;:10;49302:62;;;;-1:-1:-1;;;49302:62:0;;;;;;;;49867:271;49923:6;49950;49942:51;;;;-1:-1:-1;;;49942:51:0;;;;;;;;;50014:1;-1:-1:-1;;50014:7:0;:27;;;;;-1:-1:-1;;;50025:1:0;:16;50014:27;50012:30;50004:76;;;;-1:-1:-1;;;50004:76:0;;;;;;;;;50093:8;50108:1;50104;:5;;;;;;;49867:271;-1:-1:-1;;;;49867:271:0:o;50852:215::-;50908:6;50938:5;;;50963:6;;;;;;:16;;;50978:1;50973;:6;;50963:16;50962:38;;;;50989:1;50985;:5;:14;;;;;50998:1;50994;:5;50985:14;50954:84;;;;-1:-1:-1;;;50954:84:0;;;;;;;;54567:171;54623:7;54660:1;54651:5;:10;;54643:55;;;;-1:-1:-1;;;54643:55:0;;;;;;;;58291:326;58336:6;58363:1;58359;:5;58355:232;;;-1:-1:-1;58385:1:0;58418;58414;58410:5;;:9;58434:92;58445:1;58441;:5;58434:92;;;58471:1;58467:5;;58509:1;58504;58500;58496;:5;;;;;;:9;58495:15;;;;;;58491:19;;58434:92;;;58355:232;;;;58547:6;;58543:44;;-1:-1:-1;58574:1:0;58291:326;;;:::o;18613:245::-;18764:7;;18753;;18724;;18753:18;18749:59;;;-1:-1:-1;18795:1:0;18788:8;;18749:59;18835:7;;18825;;:17;:25;;18849:1;18825:25;;;18845:1;18825:25;18818:32;;;18613:245;-1:-1:-1;;;18613:245:0:o;11482:278::-;11568:7;11603:12;11596:5;11588:28;;;;-1:-1:-1;;;11588:28:0;;;;;;;;;;;11627:9;11643:1;11639;:5;;;;;;;11482:278;-1:-1:-1;;;;;11482:278:0:o;15945:368::-;16050:11;;:::i;:::-;16083:6;16079:53;;16113:7;16118:1;16113:4;:7::i;16079:53::-;16144:16;;:::i;:::-;-1:-1:-1;16163:27:0;;;;;;;;;16177:10;;16163:27;;16218:1;16201:81;16225:1;16221;:5;16201:81;;;16255:15;16259:4;16265;16255:3;:15::i;:::-;16248:22;-1:-1:-1;16228:3:0;;16201:81;;;-1:-1:-1;16301:4:0;15945:368;-1:-1:-1;;;15945:368:0:o;9017:136::-;9075:7;9102:43;9106:1;9109;9102:43;;;;;;;;;;;;;;;;;:3;:43::i;74230:106::-;74288:7;74319:1;74315;:5;:13;;74327:1;74315:13;;;-1:-1:-1;74323:1:0;;74230:106;-1:-1:-1;74230:106:0:o;14520:151::-;14599:11;;:::i;:::-;14635:28;;;;;;;;;;14649:11;:1;14104:6;14649:11;:5;:11;:::i;:::-;14635:28;;14628:35;14520:151;-1:-1:-1;;14520:151:0:o;75181:14749::-;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;-1:-1:-1;75181:14749:0;;;;;;;;;;;;;;;;;;;;;;;:::o;915:154:-1:-;;1022:2;1013:6;1008:3;1004:16;1000:25;997:2;;;-1:-1;;1028:12;997:2;-1:-1;1048:15;990:79;-1:-1;990:79;2497:241;;2601:2;2589:9;2580:7;2576:23;2572:32;2569:2;;;-1:-1;;2607:12;2569:2;85:6;72:20;97:33;124:5;97:33;;2745:263;;2860:2;2848:9;2839:7;2835:23;2831:32;2828:2;;;-1:-1;;2866:12;2828:2;226:6;220:13;238:33;265:5;238:33;;3015:617;;;;;3170:3;3158:9;3149:7;3145:23;3141:33;3138:2;;;-1:-1;;3177:12;3138:2;85:6;72:20;97:33;124:5;97:33;;;3229:63;-1:-1;3329:2;3368:22;;72:20;97:33;72:20;97:33;;;3337:63;-1:-1;3437:2;3476:22;;72:20;97:33;72:20;97:33;;;3132:500;;;;-1:-1;3445:63;;3545:2;3584:22;2012:20;;-1:-1;;3132:500;3639:360;;;3757:2;3745:9;3736:7;3732:23;3728:32;3725:2;;;-1:-1;;3763:12;3725:2;85:6;72:20;97:33;124:5;97:33;;;3815:63;-1:-1;3915:2;3951:22;;347:20;372:30;347:20;372:30;;;3923:60;;;;3719:280;;;;;;4006:257;;4118:2;4106:9;4097:7;4093:23;4089:32;4086:2;;;-1:-1;;4124:12;4086:2;495:6;489:13;507:30;531:5;507:30;;4866:458;;;5033:2;5021:9;5012:7;5008:23;5004:32;5001:2;;;-1:-1;;5039:12;5001:2;5101:76;5169:7;5145:22;5101:76;;;5091:86;;5232:76;5300:7;5214:2;5280:9;5276:22;5232:76;;;5222:86;;4995:329;;;;;;5331:283;;5456:2;5444:9;5435:7;5431:23;5427:32;5424:2;;;-1:-1;;5462:12;5424:2;1248:20;5456:2;1248:20;;;2012;;1326:75;;-1:-1;1333:16;5418:196;-1:-1;5418:196;5621:435;;;5759:9;5750:7;5746:23;5771:2;5746:23;5742:32;5739:2;;;-1:-1;;5777:12;5739:2;1576:4;1555:19;1551:30;1548:2;;;-1:-1;;1584:12;1548:2;;1612:20;1576:4;1612:20;;;2160:13;;1690:86;;1576:4;6008:22;;489:13;1697:16;;-1:-1;507:30;489:13;507:30;;6063:533;;;;6211:2;6199:9;6190:7;6186:23;6182:32;6179:2;;;-1:-1;;6217:12;6179:2;1888:6;1882:13;1900:33;1927:5;1900:33;;;6380:2;6430:22;;1882:13;6269:74;;-1:-1;1900:33;1882:13;1900:33;;;6499:2;6548:22;;2435:13;6388:74;;-1:-1;2453:32;2435:13;2453:32;;;6507:73;;;;6173:423;;;;;;6603:241;;6707:2;6695:9;6686:7;6682:23;6678:32;6675:2;;;-1:-1;;6713:12;6675:2;-1:-1;2012:20;;6669:175;-1:-1;6669:175;6851:263;;6966:2;6954:9;6945:7;6941:23;6937:32;6934:2;;;-1:-1;;6972:12;6934:2;-1:-1;2160:13;;6928:186;-1:-1;6928:186;7121:239;;7224:2;7212:9;7203:7;7199:23;7195:32;7192:2;;;-1:-1;;7230:12;7192:2;2302:6;2289:20;2314:32;2340:5;2314:32;;7367:481;;;;7500:2;7488:9;7479:7;7475:23;7471:32;7468:2;;;-1:-1;;7506:12;7468:2;2302:6;2289:20;2314:32;2340:5;2314:32;;;7558:62;-1:-1;7657:2;7695:22;;2289:20;2314:32;2289:20;2314:32;;;7665:62;-1:-1;7764:2;7800:22;;347:20;372:30;347:20;372:30;;16628:213;-1:-1;;;;;30601:54;;;;8075:37;;16746:2;16731:18;;16717:124;17084:324;-1:-1;;;;;30601:54;;;;8075:37;;17394:2;17379:18;;16211:37;17230:2;17215:18;;17201:207;17415:201;30173:13;;30166:21;8189:34;;17527:2;17512:18;;17498:118;19165:301;;19303:2;;19324:17;19317:47;9400:5;29796:12;29953:6;19303:2;19292:9;19288:18;29941:19;-1:-1;33197:101;33211:6;33208:1;33205:13;33197:101;;;33278:11;;;;;33272:18;33259:11;;;29981:14;33259:11;33252:39;33226:10;;33197:101;;;33313:6;33310:1;33307:13;33304:2;;;-1:-1;29981:14;33369:6;19292:9;33360:16;;33353:27;33304:2;-1:-1;33485:7;33469:14;-1:-1;;33465:28;9558:39;;;;29981:14;9558:39;;19274:192;-1:-1;;;19274:192;19473:407;19664:2;19678:47;;;9834:2;19649:18;;;29941:19;-1:-1;;;29981:14;;;9850:43;9912:12;;;19635:245;19887:407;20078:2;20092:47;;;10163:2;20063:18;;;29941:19;10199:28;29981:14;;;10179:49;10247:12;;;20049:245;20301:407;20492:2;20506:47;;;10498:2;20477:18;;;29941:19;10534:34;29981:14;;;10514:55;-1:-1;;;10589:12;;;10582:37;10638:12;;;20463:245;20715:407;20906:2;20920:47;;;10889:2;20891:18;;;29941:19;10925:29;29981:14;;;10905:50;10974:12;;;20877:245;21129:407;21320:2;21334:47;;;11225:2;21305:18;;;29941:19;11261:34;29981:14;;;11241:55;-1:-1;;;11316:12;;;11309:26;11354:12;;;21291:245;21543:407;21734:2;21748:47;;;11605:2;21719:18;;;29941:19;11641:34;29981:14;;;11621:55;-1:-1;;;11696:12;;;11689:25;11733:12;;;21705:245;21957:407;22148:2;22162:47;;;11984:2;22133:18;;;29941:19;-1:-1;;;29981:14;;;12000:39;12058:12;;;22119:245;22371:407;22562:2;22576:47;;;22547:18;;;29941:19;12345:34;29981:14;;;12325:55;12399:12;;;22533:245;22785:407;22976:2;22990:47;;;12650:2;22961:18;;;29941:19;12686:34;29981:14;;;12666:55;-1:-1;;;12741:12;;;12734:25;12778:12;;;22947:245;23199:407;23390:2;23404:47;;;13029:2;23375:18;;;29941:19;13065:27;29981:14;;;13045:48;13112:12;;;23361:245;23613:407;23804:2;23818:47;;;13363:2;23789:18;;;29941:19;13399:34;29981:14;;;13379:55;-1:-1;;;13454:12;;;13447:25;13491:12;;;23775:245;24027:407;24218:2;24232:47;;;13742:2;24203:18;;;29941:19;13778:34;29981:14;;;13758:55;-1:-1;;;13833:12;;;13826:31;13876:12;;;24189:245;24441:407;24632:2;24646:47;;;14127:2;24617:18;;;29941:19;14163:34;29981:14;;;14143:55;-1:-1;;;14218:12;;;14211:33;14263:12;;;24603:245;24855:407;25046:2;25060:47;;;14514:2;25031:18;;;29941:19;14550:34;29981:14;;;14530:55;-1:-1;;;14605:12;;;14598:30;14647:12;;;25017:245;25269:407;25460:2;25474:47;;;14898:2;25445:18;;;29941:19;14934:34;29981:14;;;14914:55;-1:-1;;;14989:12;;;14982:32;15033:12;;;25431:245;25683:407;25874:2;25888:47;;;15284:2;25859:18;;;29941:19;15320:34;29981:14;;;15300:55;-1:-1;;;15375:12;;;15368:25;15412:12;;;25845:245;26097:407;26288:2;26302:47;;;26273:18;;;29941:19;15699:34;29981:14;;;15679:55;15753:12;;;26259:245;26511:297;16030:23;;16211:37;;26671:2;26656:18;;26642:166;26815:213;16211:37;;;26933:2;26918:18;;26904:124;27035:603;16211:37;;;16030:23;;27499:2;27484:18;;16211:37;16030:23;27624:2;27609:18;;16211:37;27293:2;27278:18;;27264:374;27645:324;16211:37;;;27955:2;27940:18;;16211:37;27791:2;27776:18;;27762:207;27976:711;16211:37;;;30818:10;30807:22;;;;28423:2;28408:18;;16580:36;16030:23;28548:2;28533:18;;16211:37;16030:23;28673:2;28658:18;;16211:37;28260:3;28245:19;;28231:456;28694:211;30818:10;30807:22;;;;16450:49;;28811:2;28796:18;;28782:123;29128:310;30818:10;30807:22;;;;16450:49;;30173:13;30166:21;29424:2;29409:18;;8189:34;29267:2;29252:18;;29238:200;29445:256;29507:2;29501:9;29533:17;;;29608:18;29593:34;;29629:22;;;29590:62;29587:2;;;29665:1;;29655:12;29587:2;29507;29674:22;29485:216;;-1:-1;29485:216;33506:117;-1:-1;;;;;30601:54;;33565:35;;33555:2;;33614:1;;33604:12;33630:111;33711:5;30173:13;30166:21;33689:5;33686:32;33676:2;;33732:1;;33722:12;34052:117;-1:-1;;;;;34139:5;30485:42;34114:5;34111:35;34101:2;;34160:1;;34150:12;34300:115;30818:10;34385:5;30807:22;34361:5;34358:34;34348:2;;34406:1;;34396:12
Swarm Source
ipfs://f1b8b33e167c4ee33e87e9bc9f956ecdeccc08e9a444cf0ffd4ef67f7739120e
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 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.