Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 632 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 19903500 | 109 days ago | IN | 0 ETH | 0.00007002 | ||||
Approve | 19885499 | 111 days ago | IN | 0 ETH | 0.00007786 | ||||
Approve | 19829548 | 119 days ago | IN | 0 ETH | 0.00009265 | ||||
Approve | 19826004 | 119 days ago | IN | 0 ETH | 0.00027549 | ||||
Approve | 19826001 | 119 days ago | IN | 0 ETH | 0.00028414 | ||||
Approve | 19658362 | 143 days ago | IN | 0 ETH | 0.00020231 | ||||
Approve | 18448470 | 313 days ago | IN | 0 ETH | 0.00038743 | ||||
Approve | 16353108 | 607 days ago | IN | 0 ETH | 0.0006392 | ||||
Approve | 16016779 | 654 days ago | IN | 0 ETH | 0.00024714 | ||||
Approve | 15260270 | 765 days ago | IN | 0 ETH | 0.00038716 | ||||
Approve | 14279649 | 922 days ago | IN | 0 ETH | 0.00053235 | ||||
Approve | 14242091 | 928 days ago | IN | 0 ETH | 0.00123409 | ||||
Approve | 14218162 | 931 days ago | IN | 0 ETH | 0.00139653 | ||||
Approve | 13347623 | 1067 days ago | IN | 0 ETH | 0.00321475 | ||||
Approve | 13342492 | 1068 days ago | IN | 0 ETH | 0.00303012 | ||||
Approve | 13342473 | 1068 days ago | IN | 0 ETH | 0.00370399 | ||||
Approve | 13340247 | 1068 days ago | IN | 0 ETH | 0.00148694 | ||||
Approve | 12695534 | 1169 days ago | IN | 0 ETH | 0.00018848 | ||||
Approve | 12695534 | 1169 days ago | IN | 0 ETH | 0.00018848 | ||||
Approve | 12614048 | 1181 days ago | IN | 0 ETH | 0.00134797 | ||||
Approve | 12535797 | 1193 days ago | IN | 0 ETH | 0.00028998 | ||||
Approve | 12535797 | 1193 days ago | IN | 0 ETH | 0.00028998 | ||||
Approve | 12418910 | 1212 days ago | IN | 0 ETH | 0.00189936 | ||||
Approve | 12241035 | 1239 days ago | IN | 0 ETH | 0.00130491 | ||||
Approve | 12041058 | 1270 days ago | IN | 0 ETH | 0.0066351 |
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 | ||||
---|---|---|---|---|---|---|---|
16387815 | 602 days ago | 0 ETH | |||||
16387815 | 602 days ago | 0 ETH | |||||
16387815 | 602 days ago | 0 ETH | |||||
16387795 | 602 days ago | 0 ETH | |||||
16387795 | 602 days ago | 0 ETH | |||||
16387795 | 602 days ago | 0 ETH | |||||
16387161 | 602 days ago | 0 ETH | |||||
16387161 | 602 days ago | 0 ETH | |||||
16387161 | 602 days ago | 0 ETH | |||||
16353118 | 607 days ago | 0 ETH | |||||
16353105 | 607 days ago | 0 ETH | |||||
16353105 | 607 days ago | 0 ETH | |||||
16353105 | 607 days ago | 0 ETH | |||||
16353105 | 607 days ago | 0 ETH | |||||
13432340 | 1054 days ago | 0 ETH | |||||
13432340 | 1054 days ago | 0 ETH | |||||
13432264 | 1054 days ago | 0 ETH | |||||
13432264 | 1054 days ago | 0 ETH | |||||
13432264 | 1054 days ago | 0 ETH | |||||
13432264 | 1054 days ago | 0 ETH | |||||
13432246 | 1054 days ago | 0 ETH | |||||
13432246 | 1054 days ago | 0 ETH | |||||
13432246 | 1054 days ago | 0 ETH | |||||
13432246 | 1054 days ago | 0 ETH | |||||
13432234 | 1054 days ago | 0 ETH |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x9D5a091D...ab646aB47 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
TaxToken
Compiler Version
v0.7.1+commit.f4a555be
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-12-02 */ // SPDX-License-Identifier: UNLICENSED pragma solidity 0.7.1; // File: @openzeppelin/contracts/GSN/Context.sol /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/contracts/math/SafeMath.sol /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/utils/Address.sol /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @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"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC20/ERC20.sol /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; using Address for address; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } } // File: @openzeppelin/contracts/utils/SafeCast.sol /** * @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 { /** * @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); } } // File: contracts/util/AddressList.sol library AddressList { /** * @dev Inserts token address in addressList except for zero address. */ function insert(address[] storage addressList, address token) internal { if (token == address(0)) { return; } for (uint256 i = 0; i < addressList.length; i++) { if (addressList[i] == address(0)) { addressList[i] = token; return; } } addressList.push(token); } /** * @dev Removes token address from addressList except for zero address. */ function remove(address[] storage addressList, address token) internal returns (bool success) { if (token == address(0)) { return true; } for (uint256 i = 0; i < addressList.length; i++) { if (addressList[i] == token) { delete addressList[i]; return true; } } } /** * @dev Returns the addresses included in addressList except for zero address. */ function get(address[] storage addressList) internal view returns (address[] memory denseAddressList) { uint256 numOfElements = 0; for (uint256 i = 0; i < addressList.length; i++) { if (addressList[i] != address(0)) { numOfElements++; } } denseAddressList = new address[](numOfElements); uint256 j = 0; for (uint256 i = 0; i < addressList.length; i++) { if (addressList[i] != address(0)) { denseAddressList[j] = addressList[i]; j++; } } } } // File: contracts/token/Whitelist.sol contract Whitelist { using AddressList for address[]; /* ========== STATE VARIABLES ========== */ /** * @dev mapping from user address to whitelist token addresses */ address[] internal _whitelist; /* ========== INTERNAL FUNCTIONS ========== */ /** * @dev Inserts token address in _whitelist except for ETH (= address(0)). */ function _addWhitelist(address token) internal { return _whitelist.insert(token); } /** * @dev Removes token address from _whitelist except for ETH (= address(0)). */ function _removeWhitelist(address token) internal returns (bool success) { return _whitelist.remove(token); } /** * @dev Returns the addresses included in _whitelist except for zero address. */ function _getWhitelist() internal view returns (address[] memory) { return _whitelist.get(); } } // File: contracts/oracle/OracleInterface.sol /** * @dev Oracle referenced by OracleProxy must implement this interface. */ interface OracleInterface { function latestAnswer() external view returns (int256); function decimals() external view returns (uint8); } // File: contracts/token/TaxToken.sol contract TaxToken is ERC20("TAX", "TAX"), Whitelist { using SafeMath for uint256; using SafeMath for uint128; using SafeCast for uint256; /* ========== CONSTANT VARIABLES ========== */ address internal immutable _deployer; uint256 internal immutable _halvingStartLendValue; uint256 internal immutable _maxTotalSupply; uint256 internal immutable _initialMintUnit; uint256 internal immutable _developerFundRateE8; uint256 internal immutable _incentiveFundRateE8; /* ========== STATE VARIABLES ========== */ address[] internal _incentiveFundAddresses; uint256[] internal _incentiveFundAllocationE8; uint128 internal _developerFund; uint128 internal _incentiveFund; uint128 internal _totalLendValue; address internal _governanceAddress; address internal _developer; address internal _lendingAddress; mapping(address => address) internal _tokenPriceOracle; /* ========== EVENTS ========== */ event LogUpdateGovernanceAddress(address newAddress); event LogUpdateLendingAddress(address newAddress); event LogRegisterWhitelist(address tokenAddress, address oracleAddress); event LogUnregisterWhitelist(address tokenAddress); event LogUpdateIncentiveAddresses( address[] newIncentiveAddresses, uint256[] newIncentiveAllocationE8 ); /* ========== CONSTRUCTOR ========== */ constructor( address governanceAddress, address developer, address[] memory incentiveFundAddresses, uint256[] memory incentiveFundAllocationE8, uint256 developerFundRateE8, uint256 incentiveFundRateE8, address lendingAddress, uint256 halvingStartLendValue, uint256 maxTotalSupply, uint256 initialMintUnit ) { _deployer = msg.sender; _governanceAddress = governanceAddress; // governance address can update or delete whitelist _developer = developer; // developer fund address _incentiveFundAddresses = incentiveFundAddresses; // incentive fund addresses. ex) uniswap share token staking contract address _incentiveFundAllocationE8 = incentiveFundAllocationE8; //[0.3 * 10**8, 0.7 * 10**8]. sum should be 10**8 _developerFundRateE8 = developerFundRateE8; // developer fund rate. when 5%, should be set as 0.05 * 10**8 _incentiveFundRateE8 = incentiveFundRateE8; // incentive fund rate. when 10%, should be set as 0.1 * 10**8 _lendingAddress = lendingAddress; // lending contract address _halvingStartLendValue = halvingStartLendValue; // the amount of totalLendValue that initial halving occurs. set at 2 * 10**8 = 200M dollar _maxTotalSupply = maxTotalSupply; // total supply of tax token, set at 1 * 10**9 * 10**18 = 1B tax _initialMintUnit = initialMintUnit; // amount to mint per unit, set at 1 * 10**18 require( _incentiveFundAddresses.length == _incentiveFundAllocationE8.length, "the length of the addresses and their allocation should be the same" ); uint256 sumcheck = 0; for (uint256 i = 0; i < _incentiveFundAllocationE8.length; i++) { sumcheck = sumcheck.add(_incentiveFundAllocationE8[i]); } require(sumcheck == 10**8, "the sum of the allocation should be 10**8"); } /* ========== MODIFIERS ========== */ modifier onlyGovernance() { require(msg.sender == _governanceAddress, "only governance address can call"); _; } modifier onlyLending() { require(msg.sender == _lendingAddress, "only lending contract address can call"); _; } /* ========== MUTATIVE FUNCTIONS ========== */ /** * @notice mint token only when the lended ERC20 is whitelisted. * @dev this contract will not function when the total lend value of whitelisted tokens exceeds 2**128 dollar. * this contract will lose value when the oracle of the whitelisted tokens collapses and returns an extraordinary large number. */ function mintToken( address tokenAddress, uint256 lendAmount, address recipient ) external onlyLending { if (_maxTotalSupply == totalSupply()) { return; } uint8 decimalsOfLendingToken = 18; // decimals of ETH if (tokenAddress != address(0)) { decimalsOfLendingToken = ERC20(tokenAddress).decimals(); } address oracle = _tokenPriceOracle[tokenAddress]; uint256 mintAmount = 0; if (oracle != address(0)) { OracleInterface oracleContract = OracleInterface(oracle); uint256 price = uint256(oracleContract.latestAnswer()); uint8 decimalsOfOraclePrice = oracleContract.decimals(); uint256 asOfMintUnit = _getMintUnit(); uint256 lendValue = lendAmount.mul(price).div( 10**uint256(decimalsOfOraclePrice + decimalsOfLendingToken) ); _totalLendValue = _totalLendValue.add(lendValue).toUint128(); mintAmount = lendValue.mul(asOfMintUnit); uint256 remainingMintableAmount = _maxTotalSupply.sub( totalSupply().add(_developerFund).add(_incentiveFund) ); mintAmount = remainingMintableAmount >= mintAmount ? mintAmount : remainingMintableAmount; } if (mintAmount != 0) { uint256 devFund = mintAmount.mul(_developerFundRateE8) / 10**8; uint256 incFund = mintAmount.mul(_incentiveFundRateE8) / 10**8; _developerFund = _developerFund.add(devFund).toUint128(); _incentiveFund = _incentiveFund.add(incFund).toUint128(); _mint(recipient, mintAmount.sub(devFund).sub(incFund)); } } /** * @notice governanceAddress can add/override ERC20 token to the whitelist with the oracle address. * any ERC20 token can use the lending contract, but only the whitelisted addresses can earn tax token. */ function registerWhitelist(address tokenAddress, address oracleAddress) external onlyGovernance { OracleInterface oracleContract = OracleInterface(oracleAddress); oracleContract.decimals(); oracleContract.latestAnswer(); _tokenPriceOracle[tokenAddress] = oracleAddress; _addWhitelist(tokenAddress); emit LogRegisterWhitelist(tokenAddress, oracleAddress); } /** * @notice governanceAddress can delist from the whitelist. */ function unregisterWhitelist(address tokenAddress) external onlyGovernance { delete _tokenPriceOracle[tokenAddress]; _removeWhitelist(tokenAddress); emit LogUnregisterWhitelist(tokenAddress); } /** * @notice lendingAddress can be updated by the deployer. * @dev can be used only before the deployer transfers the rights of governance */ function updateLendingAddress(address newLendingAddress) external onlyGovernance { _lendingAddress = newLendingAddress; emit LogUpdateLendingAddress(newLendingAddress); } /** * @notice only governance contract can update incentive addresses and their allocation. */ function updateIncentiveAddresses( address[] memory newIncentiveAddresses, uint256[] memory newIncentiveAllocation ) external onlyGovernance { require( newIncentiveAddresses.length == newIncentiveAllocation.length, "the length of the addresses and the allocation should be the same" ); uint256 sumcheck = 0; for (uint256 i = 0; i < newIncentiveAllocation.length; i++) { sumcheck = sumcheck.add(newIncentiveAllocation[i]); } require(sumcheck == 10**8, "the sum of the allocation should be 10**8"); _incentiveFundAddresses = newIncentiveAddresses; _incentiveFundAllocationE8 = newIncentiveAllocation; emit LogUpdateIncentiveAddresses(newIncentiveAddresses, newIncentiveAllocation); } /** * @notice governanceAddress can be updated by the deployer. * @dev can be used only before the deployer transfers the rights of governance */ function updateGovernanceAddress(address newGovernanceAddress) external onlyGovernance { _governanceAddress = newGovernanceAddress; emit LogUpdateGovernanceAddress(newGovernanceAddress); } /** * @notice mint tax token to the developer address up to the available amount. */ function mintDeveloperFund() external { uint256 amount = _developerFund; _developerFund = 0; require(amount != 0, "no mintable amount"); _mint(_developer, amount); } /** * @notice mint tax token to the incentive fund addresses up to the available amount. */ function mintIncentiveFund() external { uint256 amount = _incentiveFund; _incentiveFund = 0; require(amount != 0, "no mintable amount"); require(_incentiveFundAddresses.length != 0, "incentive fund addresses have not been set"); for (uint256 i = 0; i < _incentiveFundAddresses.length; i++) { _mint(_incentiveFundAddresses[i], amount.mul(_incentiveFundAllocationE8[i]).div(10**8)); } } /* ========== INTERNAL FUNCTIONS ========== */ function _getMintUnit() internal view returns (uint256 asOfMintUnit) { uint256 totalLendValue = _totalLendValue; asOfMintUnit = _initialMintUnit; while (totalLendValue >= _halvingStartLendValue) { asOfMintUnit = asOfMintUnit / 2; totalLendValue = totalLendValue / 2; } asOfMintUnit = totalSupply() == _maxTotalSupply ? 0 : asOfMintUnit; } /* ========== CALL FUNCTIONS ========== */ /** * @return governance contract address */ function getGovernanceAddress() external view returns (address) { return _governanceAddress; } /** * @return developer fund address */ function getDeveloperAddress() external view returns (address) { return _developer; } /** * @return lending contract address. */ function getLendingAddress() external view returns (address) { return _lendingAddress; } /** * @notice get the immutable initial config values. */ function getConfigs() external view returns ( uint256 maxTotalSupply, uint256 halvingStartLendValue, uint256 initialMintUnit, uint256 developerFundRateE8, uint256 incentiveFundRateE8 ) { maxTotalSupply = _maxTotalSupply; halvingStartLendValue = _halvingStartLendValue; initialMintUnit = _initialMintUnit; developerFundRateE8 = _developerFundRateE8; incentiveFundRateE8 = _incentiveFundRateE8; } function getWhitelist() external view returns (address[] memory) { return _getWhitelist(); } /** * @notice Get the incentive addresses and their allocation. */ function getIncentiveFundAddresses() external view returns ( address[] memory incentiveFundAddresses, uint256[] memory incentiveFundAllocationE8 ) { incentiveFundAddresses = _incentiveFundAddresses; incentiveFundAllocationE8 = _incentiveFundAllocationE8; } /** * @notice Get the current mintable amount for developer fund and incentive fund. */ function getFunds() external view returns (uint256 developerFund, uint256 incentiveFund) { developerFund = _developerFund; incentiveFund = _incentiveFund; } /** * @notice Get the current amount to be minted per a dollar of lending. * @dev the amount to mint per a dollar of lending decays exponentially. */ function getMintUnit() external view returns (uint256) { return _getMintUnit(); } /** * @return oracle address of the erc20. * @dev returns zero address when the erc20 is not whitelisted. */ function getOracleAddress(address tokenAddress) external view returns (address) { return _tokenPriceOracle[tokenAddress]; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"governanceAddress","type":"address"},{"internalType":"address","name":"developer","type":"address"},{"internalType":"address[]","name":"incentiveFundAddresses","type":"address[]"},{"internalType":"uint256[]","name":"incentiveFundAllocationE8","type":"uint256[]"},{"internalType":"uint256","name":"developerFundRateE8","type":"uint256"},{"internalType":"uint256","name":"incentiveFundRateE8","type":"uint256"},{"internalType":"address","name":"lendingAddress","type":"address"},{"internalType":"uint256","name":"halvingStartLendValue","type":"uint256"},{"internalType":"uint256","name":"maxTotalSupply","type":"uint256"},{"internalType":"uint256","name":"initialMintUnit","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":false,"internalType":"address","name":"oracleAddress","type":"address"}],"name":"LogRegisterWhitelist","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tokenAddress","type":"address"}],"name":"LogUnregisterWhitelist","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newAddress","type":"address"}],"name":"LogUpdateGovernanceAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"newIncentiveAddresses","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"newIncentiveAllocationE8","type":"uint256[]"}],"name":"LogUpdateIncentiveAddresses","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newAddress","type":"address"}],"name":"LogUpdateLendingAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getConfigs","outputs":[{"internalType":"uint256","name":"maxTotalSupply","type":"uint256"},{"internalType":"uint256","name":"halvingStartLendValue","type":"uint256"},{"internalType":"uint256","name":"initialMintUnit","type":"uint256"},{"internalType":"uint256","name":"developerFundRateE8","type":"uint256"},{"internalType":"uint256","name":"incentiveFundRateE8","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDeveloperAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getFunds","outputs":[{"internalType":"uint256","name":"developerFund","type":"uint256"},{"internalType":"uint256","name":"incentiveFund","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getGovernanceAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getIncentiveFundAddresses","outputs":[{"internalType":"address[]","name":"incentiveFundAddresses","type":"address[]"},{"internalType":"uint256[]","name":"incentiveFundAllocationE8","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLendingAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintUnit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"getOracleAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWhitelist","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintDeveloperFund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintIncentiveFund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"lendAmount","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"mintToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"address","name":"oracleAddress","type":"address"}],"name":"registerWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"unregisterWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newGovernanceAddress","type":"address"}],"name":"updateGovernanceAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"newIncentiveAddresses","type":"address[]"},{"internalType":"uint256[]","name":"newIncentiveAllocation","type":"uint256[]"}],"name":"updateIncentiveAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newLendingAddress","type":"address"}],"name":"updateLendingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101c45760003560e01c806373252494116100f9578063b90d893011610097578063d01f63f511610071578063d01f63f514610772578063dd62ed3e146107ca578063f1d0458a14610805578063f7e07eb814610840576101c4565b8063b90d89301461066b578063c4dd1e5e1461069e578063c5ea3355146106d1576101c4565b8063a457c2d7116100d3578063a457c2d714610593578063a784d899146105cc578063a9059cbb146105ff578063abdc303314610638576101c4565b8063732524941461057b57806395d89b411461058357806399935dd71461058b576101c4565b8063313ce567116101665780634ffc0951116101405780634ffc0951146103ab57806354482173146104d25780636dfada861461050557806370a0823114610548576101c4565b8063313ce5671461033357806339509351146103515780634d9b37351461038a576101c4565b8063179d342f116101a2578063179d342f1461029d57806318160ddd146102ce57806322a27f3b146102e857806323b872dd146102f0576101c4565b806306fdde03146101c9578063095ea7b3146102465780630ff445cc14610293575b600080fd5b6101d1610848565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561020b5781810151838201526020016101f3565b50505050905090810190601f1680156102385780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61027f6004803603604081101561025c57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81351690602001356108fc565b604080519115158252519081900360200190f35b61029b61091a565b005b6102a5610a9f565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6102d6610abb565b60408051918252519081900360200190f35b6102a5610ac1565b61027f6004803603606081101561030657600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359091169060400135610add565b61033b610b7e565b6040805160ff9092168252519081900360200190f35b61027f6004803603604081101561036757600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610b87565b610392610be2565b6040805192835260208301919091528051918290030190f35b61029b600480360360408110156103c157600080fd5b8101906020810181356401000000008111156103dc57600080fd5b8201836020820111156103ee57600080fd5b8035906020019184602083028401116401000000008311171561041057600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929594936020810193503591505064010000000081111561046057600080fd5b82018360208201111561047257600080fd5b8035906020019184602083028401116401000000008311171561049457600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929550610c13945050505050565b6102a5600480360360208110156104e857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610e75565b61029b6004803603606081101561051b57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160208101359160409091013516610ea0565b6102d66004803603602081101561055e57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661139b565b6102a56113c3565b6101d16113df565b6102d661145e565b61027f600480360360408110156105a957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813516906020013561146d565b61029b600480360360208110156105e257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166114e2565b61027f6004803603604081101561061557600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611609565b61064061161d565b6040805195865260208601949094528484019290925260608401526080830152519081900360a00190f35b61029b6004803603602081101561068157600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166116c9565b61029b600480360360208110156106b457600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166117c8565b6106d96118c7565b604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561071d578181015183820152602001610705565b50505050905001838103825284818151815260200191508051906020019060200280838360005b8381101561075c578181015183820152602001610744565b5050505090500194505050505060405180910390f35b61077a61198b565b60408051602080825283518183015283519192839290830191858101910280838360005b838110156107b657818101518382015260200161079e565b505050509050019250505060405180910390f35b6102d6600480360360408110156107e057600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020013516611995565b61029b6004803603604081101561081b57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff813581169160200135166119cd565b61029b611c0f565b60038054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108f25780601f106108c7576101008083540402835291602001916108f2565b820191906000526020600020905b8154815290600101906020018083116108d557829003601f168201915b5050505050905090565b6000610910610909611d58565b8484611d5c565b5060015b92915050565b600980546fffffffffffffffffffffffffffffffff808216909255700100000000000000000000000000000000900416806109b657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f6e6f206d696e7461626c6520616d6f756e740000000000000000000000000000604482015290519081900360640190fd5b600754610a0e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806129ce602a913960400191505060405180910390fd5b60005b600754811015610a9b57610a9360078281548110610a2b57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610a8e6305f5e100610a8860088681548110610a6e57fe5b906000526020600020015487611ea390919063ffffffff16565b90611f16565b611f58565b600101610a11565b5050565b600d5473ffffffffffffffffffffffffffffffffffffffff1690565b60025490565b600c5473ffffffffffffffffffffffffffffffffffffffff1690565b6000610aea848484612089565b610b7484610af6611d58565b610b6f85604051806060016040528060288152602001612ac96028913973ffffffffffffffffffffffffffffffffffffffff8a16600090815260016020526040812090610b41611d58565b73ffffffffffffffffffffffffffffffffffffffff1681526020810191909152604001600020549190612259565b611d5c565b5060019392505050565b60055460ff1690565b6000610910610b94611d58565b84610b6f8560016000610ba5611d58565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918c168152925290205490611cdd565b6009546fffffffffffffffffffffffffffffffff808216927001000000000000000000000000000000009092041690565b600b5473ffffffffffffffffffffffffffffffffffffffff163314610c9957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f6f6e6c7920676f7665726e616e636520616464726573732063616e2063616c6c604482015290519081900360640190fd5b8051825114610cf3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526041815260200180612a676041913960600191505060405180910390fd5b6000805b8251811015610d3057610d26838281518110610d0f57fe5b602002602001015183611cdd90919063ffffffff16565b9150600101610cf7565b50806305f5e10014610d8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180612b606029913960400191505060405180910390fd5b8251610da0906007906020860190612891565b508151610db4906008906020850190612917565b507f05aed6d3fa0deb37b9b97e99e025a2781a03c97ec890eef172e8470e4259139d8383604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b83811015610e1c578181015183820152602001610e04565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015610e5b578181015183820152602001610e43565b5050505090500194505050505060405180910390a1505050565b73ffffffffffffffffffffffffffffffffffffffff9081166000908152600e60205260409020541690565b600d5473ffffffffffffffffffffffffffffffffffffffff163314610f10576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612b166026913960400191505060405180910390fd5b610f18610abb565b7f0000000000000000000000000000000000000000033b2e3c9fd0803ce80000001415610f4457611396565b601273ffffffffffffffffffffffffffffffffffffffff841615610fd7578373ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015610fa857600080fd5b505afa158015610fbc573d6000803e3d6000fd5b505050506040513d6020811015610fd257600080fd5b505190505b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600e602052604081205490911690811561124157600082905060008173ffffffffffffffffffffffffffffffffffffffff166350d25bcd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561105557600080fd5b505afa158015611069573d6000803e3d6000fd5b505050506040513d602081101561107f57600080fd5b5051604080517f313ce567000000000000000000000000000000000000000000000000000000008152905191925060009173ffffffffffffffffffffffffffffffffffffffff85169163313ce567916004808301926020929190829003018186803b1580156110ed57600080fd5b505afa158015611101573d6000803e3d6000fd5b505050506040513d602081101561111757600080fd5b50519050600061112561230a565b9050600061113f60ff848a0116600a0a610a888c87611ea3565b600a5490915061116a90611165906fffffffffffffffffffffffffffffffff1683611cdd565b6123b4565b600a80547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff929092169190911790556111b58183611ea3565b600954909650600090611226906111ff906fffffffffffffffffffffffffffffffff70010000000000000000000000000000000082048116916111f9911681610abb565b90611cdd565b7f0000000000000000000000000000000000000000033b2e3c9fd0803ce800000090612423565b9050868110156112365780611238565b865b96505050505050505b80156113925760006305f5e100611278837f00000000000000000000000000000000000000000000000000000000004c4b40611ea3565b8161127f57fe5b04905060006305f5e1006112b3847f0000000000000000000000000000000000000000000000000000000000989680611ea3565b816112ba57fe5b60095491900491506112e290611165906fffffffffffffffffffffffffffffffff1684611cdd565b600980547fffffffffffffffffffffffffffffffff00000000000000000000000000000000166fffffffffffffffffffffffffffffffff9283161790819055611344916111659170010000000000000000000000000000000090041683611cdd565b600980546fffffffffffffffffffffffffffffffff92831670010000000000000000000000000000000002921691909117905561138f86610a8e836113898787612423565b90612423565b50505b5050505b505050565b73ffffffffffffffffffffffffffffffffffffffff1660009081526020819052604090205490565b600b5473ffffffffffffffffffffffffffffffffffffffff1690565b60048054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108f25780601f106108c7576101008083540402835291602001916108f2565b600061146861230a565b905090565b600061091061147a611d58565b84610b6f85604051806060016040528060258152602001612b8960259139600160006114a4611d58565b73ffffffffffffffffffffffffffffffffffffffff908116825260208083019390935260409182016000908120918d16815292529020549190612259565b600b5473ffffffffffffffffffffffffffffffffffffffff16331461156857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f6f6e6c7920676f7665726e616e636520616464726573732063616e2063616c6c604482015290519081900360640190fd5b73ffffffffffffffffffffffffffffffffffffffff81166000908152600e6020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001690556115bc81612465565b506040805173ffffffffffffffffffffffffffffffffffffffff8316815290517f1a1ea1641f41994684682711ad2ee9dbccaf295b46628868625018194e50815a9181900360200190a150565b6000610910611616611d58565b8484612089565b7f0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000907f000000000000000000000000000000000000000000000000000000000bebc200907f0000000000000000000000000000000000000000000000000de0b6b3a7640000907f00000000000000000000000000000000000000000000000000000000004c4b40907f000000000000000000000000000000000000000000000000000000000098968090565b600b5473ffffffffffffffffffffffffffffffffffffffff16331461174f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f6f6e6c7920676f7665726e616e636520616464726573732063616e2063616c6c604482015290519081900360640190fd5b600b805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116811790915560408051918252517fffdebd7edaf6b4c7e00c6c944d9995f08ba8372a39db0695da3990924d29f2049181900360200190a150565b600b5473ffffffffffffffffffffffffffffffffffffffff16331461184e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f6f6e6c7920676f7665726e616e636520616464726573732063616e2063616c6c604482015290519081900360640190fd5b600d805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116811790915560408051918252517fad5fe6e7715783c5f308fb2e253e8d4079eb53e64f455c98a55313988e7659ec9181900360200190a150565b606080600780548060200260200160405190810160405280929190818152602001828054801561192d57602002820191906000526020600020905b815473ffffffffffffffffffffffffffffffffffffffff168152600190910190602001808311611902575b50505050509150600880548060200260200160405190810160405280929190818152602001828054801561198057602002820191906000526020600020905b81548152602001906001019080831161196c575b505050505090509091565b6060611468612472565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205490565b600b5473ffffffffffffffffffffffffffffffffffffffff163314611a5357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f6f6e6c7920676f7665726e616e636520616464726573732063616e2063616c6c604482015290519081900360640190fd5b60008190508073ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015611a9e57600080fd5b505afa158015611ab2573d6000803e3d6000fd5b505050506040513d6020811015611ac857600080fd5b5050604080517f50d25bcd000000000000000000000000000000000000000000000000000000008152905173ffffffffffffffffffffffffffffffffffffffff8316916350d25bcd916004808301926020929190829003018186803b158015611b3057600080fd5b505afa158015611b44573d6000803e3d6000fd5b505050506040513d6020811015611b5a57600080fd5b505073ffffffffffffffffffffffffffffffffffffffff8381166000908152600e6020526040902080547fffffffffffffffffffffffff000000000000000000000000000000000000000016918416919091179055611bb88361247e565b6040805173ffffffffffffffffffffffffffffffffffffffff80861682528416602082015281517fb4bfea49259c176a9ab6e0331acb5f36e8fc702a45775371c40094a239364898929181900390910190a1505050565b600980547fffffffffffffffffffffffffffffffff0000000000000000000000000000000081169091556fffffffffffffffffffffffffffffffff1680611cb757604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f6e6f206d696e7461626c6520616d6f756e740000000000000000000000000000604482015290519081900360640190fd5b600c54611cda9073ffffffffffffffffffffffffffffffffffffffff1682611f58565b50565b600082820183811015611d5157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b73ffffffffffffffffffffffffffffffffffffffff8316611dc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180612b3c6024913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216611e34576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806129f86022913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600082611eb257506000610914565b82820282848281611ebf57fe5b0414611d51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612aa86021913960400191505060405180910390fd5b6000611d5183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612489565b73ffffffffffffffffffffffffffffffffffffffff8216611fda57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b611fe660008383611396565b600254611ff39082611cdd565b60025573ffffffffffffffffffffffffffffffffffffffff82166000908152602081905260409020546120269082611cdd565b73ffffffffffffffffffffffffffffffffffffffff83166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b73ffffffffffffffffffffffffffffffffffffffff83166120f5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180612af16025913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff8216612161576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806129ab6023913960400191505060405180910390fd5b61216c838383611396565b6121b681604051806060016040528060268152602001612a1a6026913973ffffffffffffffffffffffffffffffffffffffff86166000908152602081905260409020549190612259565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526020819052604080822093909355908416815220546121f29082611cdd565b73ffffffffffffffffffffffffffffffffffffffff8084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115612302576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156122c75781810151838201526020016122af565b50505050905090810190601f1680156122f45780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600a547f0000000000000000000000000000000000000000000000000de0b6b3a7640000906fffffffffffffffffffffffffffffffff165b7f000000000000000000000000000000000000000000000000000000000bebc200811061237757600291829004919004612342565b7f0000000000000000000000000000000000000000033b2e3c9fd0803ce80000006123a0610abb565b146123ab57816123ae565b60005b91505090565b6000700100000000000000000000000000000000821061241f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526027815260200180612a406027913960400191505060405180910390fd5b5090565b6000611d5183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612259565b6000610914600683612508565b606061146860066125da565b611cda60068261275f565b600081836124f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526020600482018181528351602484015283519092839260449091019190850190808383600083156122c75781810151838201526020016122af565b5060008385816124fe57fe5b0495945050505050565b600073ffffffffffffffffffffffffffffffffffffffff821661252d57506001610914565b60005b83548110156125d3578273ffffffffffffffffffffffffffffffffffffffff1684828154811061255c57fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff1614156125cb5783818154811061259057fe5b600091825260209091200180547fffffffffffffffffffffffff00000000000000000000000000000000000000001690555060019050610914565b600101612530565b5092915050565b60606000805b835481101561264357600073ffffffffffffffffffffffffffffffffffffffff1684828154811061260d57fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff161461263b576001909101905b6001016125e0565b508067ffffffffffffffff8111801561265b57600080fd5b50604051908082528060200260200182016040528015612685578160200160208202803683370190505b5091506000805b845481101561275757600073ffffffffffffffffffffffffffffffffffffffff168582815481106126b957fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff161461274f578481815481106126ec57fe5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684838151811061272357fe5b73ffffffffffffffffffffffffffffffffffffffff909216602092830291909101909101526001909101905b60010161268c565b505050919050565b73ffffffffffffffffffffffffffffffffffffffff811661277f57610a9b565b60005b825481101561283a57600073ffffffffffffffffffffffffffffffffffffffff168382815481106127af57fe5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16141561283257818382815481106127e457fe5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050610a9b565b600101612782565b50815460018101835560008381526020902001805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff00000000000000000000000000000000000000009091161790555050565b82805482825590600052602060002090810192821561290b579160200282015b8281111561290b57825182547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9091161782556020909201916001909101906128b1565b5061241f92915061295e565b828054828255906000526020600020908101928215612952579160200282015b82811115612952578251825591602001919060010190612937565b5061241f929150612995565b5b8082111561241f5780547fffffffffffffffffffffffff000000000000000000000000000000000000000016815560010161295f565b5b8082111561241f576000815560010161299656fe45524332303a207472616e7366657220746f20746865207a65726f2061646472657373696e63656e746976652066756e64206164647265737365732068617665206e6f74206265656e2073657445524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636553616665436173743a2076616c756520646f65736e27742066697420696e203132382062697473746865206c656e677468206f66207468652061646472657373657320616e642074686520616c6c6f636174696f6e2073686f756c64206265207468652073616d65536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a207472616e736665722066726f6d20746865207a65726f20616464726573736f6e6c79206c656e64696e6720636f6e747261637420616464726573732063616e2063616c6c45524332303a20617070726f76652066726f6d20746865207a65726f20616464726573737468652073756d206f662074686520616c6c6f636174696f6e2073686f756c642062652031302a2a3845524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122028e30e02860f672fcedede5209c613ae82e62553379e3ff0628c2191a4fba80d64736f6c63430007010033
Deployed Bytecode Sourcemap
36180:12619:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17510:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19616:169;;;;;;;;;;;;;;;;-1:-1:-1;19616:169:0;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;45272:456;;;:::i;:::-;;46664:102;;;:::i;:::-;;;;;;;;;;;;;;;;;;;18585:100;;;:::i;:::-;;;;;;;;;;;;;;;;46497:99;;;:::i;20259:321::-;;;;;;;;;;;;;;;;-1:-1:-1;20259:321:0;;;;;;;;;;;;;;;;;;:::i;18437:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;20989:218;;;;;;;;;;;;;;;;-1:-1:-1;20989:218:0;;;;;;;;;:::i;48064:179::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;43616:833;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43616:833:0;;;;;;;;-1:-1:-1;43616:833:0;;-1:-1:-1;;43616:833:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43616:833:0;;-1:-1:-1;43616:833:0;;-1:-1:-1;;;;;43616:833:0:i;48659:137::-;;;;;;;;;;;;;;;;-1:-1:-1;48659:137:0;;;;:::i;40328:1799::-;;;;;;;;;;;;;;;;-1:-1:-1;40328:1799:0;;;;;;;;;;;;;;;;;;:::i;18748:119::-;;;;;;;;;;;;;;;;-1:-1:-1;18748:119:0;;;;:::i;46324:108::-;;;:::i;17712:87::-;;;:::i;48424:95::-;;;:::i;21710:269::-;;;;;;;;;;;;;;;;-1:-1:-1;21710:269:0;;;;;;;;;:::i;42900:227::-;;;;;;;;;;;;;;;;-1:-1:-1;42900:227:0;;;;:::i;19080:175::-;;;;;;;;;;;;;;;;-1:-1:-1;19080:175:0;;;;;;;;;:::i;46849:550::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44626:213;;;;;;;;;;;;;;;;-1:-1:-1;44626:213:0;;;;:::i;43301:195::-;;;;;;;;;;;;;;;;-1:-1:-1;43301:195:0;;;;:::i;47605:346::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47407:106;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19318:151;;;;;;;;;;;;;;;;-1:-1:-1;19318:151:0;;;;;;;;;;;:::i;42367:442::-;;;;;;;;;;;;;;;;-1:-1:-1;42367:442:0;;;;;;;;;;;:::i;44949:206::-;;;:::i;17510:83::-;17580:5;17573:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17547:13;;17573:12;;17580:5;;17573:12;;17580:5;17573:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17510:83;:::o;19616:169::-;19699:4;19716:39;19725:12;:10;:12::i;:::-;19739:7;19748:6;19716:8;:39::i;:::-;-1:-1:-1;19773:4:0;19616:169;;;;;:::o;45272:456::-;45338:14;;;;45363:18;;;;;;45338:14;;;;45400:11;45392:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45453:23;:30;45445:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45551:9;45546:175;45570:23;:30;45566:34;;45546:175;;;45622:87;45628:23;45652:1;45628:26;;;;;;;;;;;;;;;;;;;;;;;;;45656:52;45702:5;45656:41;45667:26;45694:1;45667:29;;;;;;;;;;;;;;;;45656:6;:10;;:41;;;;:::i;:::-;:45;;:52::i;:::-;45622:5;:87::i;:::-;45602:3;;45546:175;;;;45272:456;:::o;46664:102::-;46743:15;;;;46664:102;:::o;18585:100::-;18665:12;;18585:100;:::o;46497:99::-;46578:10;;;;46497:99;:::o;20259:321::-;20365:4;20382:36;20392:6;20400:9;20411:6;20382:9;:36::i;:::-;20429:121;20438:6;20446:12;:10;:12::i;:::-;20460:89;20498:6;20460:89;;;;;;;;;;;;;;;;;:19;;;;;;;:11;:19;;;;;;20480:12;:10;:12::i;:::-;20460:33;;;;;;;;;;;;;-1:-1:-1;20460:33:0;;;:89;:37;:89::i;:::-;20429:8;:121::i;:::-;-1:-1:-1;20568:4:0;20259:321;;;;;:::o;18437:83::-;18503:9;;;;18437:83;:::o;20989:218::-;21077:4;21094:83;21103:12;:10;:12::i;:::-;21117:7;21126:50;21165:10;21126:11;:25;21138:12;:10;:12::i;:::-;21126:25;;;;;;;;;;;;;;;;;;-1:-1:-1;21126:25:0;;;:34;;;;;;;;;;;:38;:50::i;48064:179::-;48180:14;;;;;;;48221;;;;;;48064:179::o;43616:833::-;39712:18;;;;39698:10;:32;39690:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43845:22:::1;:29;43813:21;:28;:61;43791:176;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43978:16;44014:9:::0;44009:137:::1;44033:22;:29;44029:1;:33;44009:137;;;44095:39;44108:22;44131:1;44108:25;;;;;;;;;;;;;;44095:8;:12;;:39;;;;:::i;:::-;44084:50:::0;-1:-1:-1;44064:3:0::1;;44009:137;;;;44164:8;44176:5;44164:17;44156:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44240:47:::0;;::::1;::::0;:23:::1;::::0;:47:::1;::::0;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;44298:51:0;;::::1;::::0;:26:::1;::::0;:51:::1;::::0;::::1;::::0;::::1;:::i;:::-;;44367:74;44395:21;44418:22;44367:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;39778:1;43616:833:::0;;:::o;48659:137::-;48757:31;;;;48730:7;48757:31;;;:17;:31;;;;;;;;48659:137::o;40328:1799::-;39851:15;;;;39837:10;:29;39829:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40497:13:::1;:11;:13::i;:::-;40478:15;:32;40474:71;;;40527:7;;40474:71;40586:2;40622:26;::::0;::::1;::::0;40618:114:::1;;40696:12;40690:28;;;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;40690:30:0;;-1:-1:-1;40618:114:0::1;40761:31;::::0;;::::1;40744:14;40761:31:::0;;;:17:::1;:31;::::0;;;;;;;::::1;::::0;40840:20;;40836:876:::1;;40877:30;40926:6;40877:56;;40948:13;40972:14;:27;;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;40972:29:0;41047:25:::1;::::0;;;;;;;40972:29;;-1:-1:-1;41017:27:0::1;::::0;41047:23:::1;::::0;::::1;::::0;::::1;::::0;:25:::1;::::0;;::::1;::::0;40972:29:::1;::::0;41047:25;;;;;;;:23;:25;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;41047:25:0;;-1:-1:-1;41087:20:0::1;41110:14;:12;:14::i;:::-;41087:37:::0;-1:-1:-1;41139:17:0::1;41159:118;41207:55;41215:46:::0;;::::1;41207:55;41203:2;:59;41159:21;:10:::0;41174:5;41159:14:::1;:21::i;:118::-;41310:15;::::0;41139:138;;-1:-1:-1;41310:42:0::1;::::0;:30:::1;::::0;:15:::1;;41139:138:::0;41310:19:::1;:30::i;:::-;:40;:42::i;:::-;41292:15;:60:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;41380:27:::1;:9:::0;41394:12;41380:13:::1;:27::i;:::-;41532:14;::::0;41367:40;;-1:-1:-1;41422:31:0::1;::::0;41456:106:::1;::::0;41494:53:::1;::::0;41532:14:::1;::::0;;::::1;::::0;::::1;::::0;41494:33:::1;::::0;41512:14:::1;41494:33:::0;:11:::1;:13::i;:::-;:17:::0;::::1;:33::i;:53::-;41456:15;::::0;:19:::1;:106::i;:::-;41422:140;;41617:10;41590:23;:37;;:110;;41677:23;41590:110;;;41647:10;41590:110;41577:123;;40836:876;;;;;;;41726:15:::0;;41722:398:::1;;41758:15;41815:5;41776:36;:10:::0;41791:20:::1;41776:14;:36::i;:::-;:44;;;;;;::::0;-1:-1:-1;41835:15:0::1;41892:5;41853:36;:10:::0;41868:20:::1;41853:14;:36::i;:::-;:44;;;;;41929:14;::::0;41853:44;;::::1;::::0;-1:-1:-1;41929:39:0::1;::::0;:27:::1;::::0;:14:::1;;41948:7:::0;41929:18:::1;:27::i;:39::-;41912:14;:56:::0;;;::::1;;::::0;;::::1;;::::0;;;;42000:39:::1;::::0;:27:::1;::::0;:14;;::::1;;42019:7:::0;42000:18:::1;:27::i;:39::-;41983:14;:56:::0;;::::1;::::0;;::::1;::::0;::::1;::::0;::::1;::::0;;;::::1;::::0;;42054:54:::1;42060:9:::0;42071:36:::1;42099:7:::0;42071:23:::1;:10:::0;42086:7;42071:14:::1;:23::i;:::-;:27:::0;::::1;:36::i;42054:54::-;41722:398;;;39920:1;;;;40328:1799:::0;;;:::o;18748:119::-;18841:18;;18814:7;18841:18;;;;;;;;;;;;18748:119::o;46324:108::-;46406:18;;;;46324:108;:::o;17712:87::-;17784:7;17777:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17751:13;;17777:14;;17784:7;;17777:14;;17784:7;17777:14;;;;;;;;;;;;;;;;;;;;;;;;48424:95;48470:7;48497:14;:12;:14::i;:::-;48490:21;;48424:95;:::o;21710:269::-;21803:4;21820:129;21829:12;:10;:12::i;:::-;21843:7;21852:96;21891:15;21852:96;;;;;;;;;;;;;;;;;:11;:25;21864:12;:10;:12::i;:::-;21852:25;;;;;;;;;;;;;;;;;;-1:-1:-1;21852:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;42900:227::-;39712:18;;;;39698:10;:32;39690:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42993:31:::1;::::0;::::1;;::::0;;;:17:::1;:31;::::0;;;;42986:38;;;::::1;::::0;;43035:30:::1;43011:12:::0;43035:16:::1;:30::i;:::-;-1:-1:-1::0;43083:36:0::1;::::0;;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;::::1;::::0;;::::1;42900:227:::0;:::o;19080:175::-;19166:4;19183:42;19193:12;:10;:12::i;:::-;19207:9;19218:6;19183:9;:42::i;46849:550::-;47168:15;;47218:22;;47269:16;;47318:20;;47371;;46849:550::o;44626:213::-;39712:18;;;;39698:10;:32;39690:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44724:18:::1;:41:::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;44783:48:::1;::::0;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;44626:213:::0;:::o;43301:195::-;39712:18;;;;39698:10;:32;39690:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43393:15:::1;:35:::0;;::::1;::::0;::::1;::::0;;;::::1;::::0;::::1;::::0;;;43446:42:::1;::::0;;;;;;::::1;::::0;;;;::::1;::::0;;::::1;43301:195:::0;:::o;47605:346::-;47706:39;47760:42;47855:23;47830:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47917:26;47889:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47605:346;;:::o;47407:106::-;47454:16;47490:15;:13;:15::i;19318:151::-;19434:18;;;;19407:7;19434:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;19318:151::o;42367:442::-;39712:18;;;;39698:10;:32;39690:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42497:30:::1;42546:13;42497:63;;42571:14;:23;;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;42607:29:0::1;::::0;;;;;;;:27:::1;::::0;::::1;::::0;::::1;::::0;:29:::1;::::0;;::::1;::::0;42571:25:::1;::::0;42607:29;;;;;;;:27;:29;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;42649:31:0::1;::::0;;::::1;;::::0;;;:17:::1;42607:29;42649:31:::0;;;;:47;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;;42707:27:::1;42649:31:::0;42707:13:::1;:27::i;:::-;42752:49;::::0;;::::1;::::0;;::::1;::::0;;;::::1;;::::0;::::1;::::0;;;::::1;::::0;;;;;;;;;::::1;39778:1;42367:442:::0;;:::o;44949:206::-;45015:14;;;45040:18;;;;;;45015:14;;45077:11;45069:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45128:10;;45122:25;;45128:10;;45140:6;45122:5;:25::i;:::-;44949:206;:::o;4681:181::-;4739:7;4771:5;;;4795:6;;;;4787:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4853:1;4681:181;-1:-1:-1;;;4681:181:0:o;661:106::-;749:10;661:106;:::o;24855:346::-;24957:19;;;24949:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25036:21;;;25028:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25109:18;;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;25161:32;;;;;;;;;;;;;;;;;24855:346;;;:::o;6035:471::-;6093:7;6338:6;6334:47;;-1:-1:-1;6368:1:0;6361:8;;6334:47;6405:5;;;6409:1;6405;:5;:1;6429:5;;;;;:10;6421:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6982:132;7040:7;7067:39;7071:1;7074;7067:39;;;;;;;;;;;;;;;;;:3;:39::i;23289:378::-;23373:21;;;23365:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23443:49;23472:1;23476:7;23485:6;23443:20;:49::i;:::-;23520:12;;:24;;23537:6;23520:16;:24::i;:::-;23505:12;:39;23576:18;;;:9;:18;;;;;;;;;;;:30;;23599:6;23576:22;:30::i;:::-;23555:18;;;:9;:18;;;;;;;;;;;:51;;;;23622:37;;;;;;;23555:18;;:9;;23622:37;;;;;;;;;;23289:378;;:::o;22469:539::-;22575:20;;;22567:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22656:23;;;22648:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22732:47;22753:6;22761:9;22772:6;22732:20;:47::i;:::-;22812:71;22834:6;22812:71;;;;;;;;;;;;;;;;;:17;;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;22792:17;;;;:9;:17;;;;;;;;;;;:91;;;;22917:20;;;;;;;:32;;22942:6;22917:24;:32::i;:::-;22894:20;;;;:9;:20;;;;;;;;;;;;:55;;;;22965:35;;;;;;;22894:20;;22965:35;;;;;;;;;;;;;22469:539;;;:::o;5584:192::-;5670:7;5706:12;5698:6;;;;5690:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5742:5:0;;;5584:192::o;45790:414::-;45895:15;;45936:16;;45895:15;;45963:157;45988:22;45970:14;:40;45963:157;;46057:1;46042:16;;;;;46090:18;;45963:157;;;46162:15;46145:13;:11;:13::i;:::-;:32;:51;;46184:12;46145:51;;;46180:1;46145:51;46130:66;;45790:414;;:::o;27428:184::-;27485:7;27521:6;27513:5;:14;27505:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27598:5:0;27428:184::o;5145:136::-;5203:7;5230:43;5234:1;5237;5230:43;;;;;;;;;;;;;;;;;:3;:43::i;35497:123::-;35556:12;35588:24;:10;35606:5;35588:17;:24::i;35729:108::-;35777:16;35813;:10;:14;:16::i;35292:97::-;35357:24;:10;35375:5;35357:17;:24::i;7610:278::-;7696:7;7731:12;7724:5;7716:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7755:9;7771:1;7767;:5;;;;;;;7610:278;-1:-1:-1;;;;;7610:278:0:o;33718:377::-;33798:12;33827:19;;;33823:63;;-1:-1:-1;33870:4:0;33863:11;;33823:63;33903:9;33898:190;33922:18;;33918:22;;33898:190;;;33984:5;33966:23;;:11;33978:1;33966:14;;;;;;;;;;;;;;;;;;;;:23;33962:115;;;34017:11;34029:1;34017:14;;;;;;;;;;;;;;;;;34010:21;;;;;;-1:-1:-1;34010:21:0;;-1:-1:-1;34050:11:0;;33962:115;33942:3;;33898:190;;;;33718:377;;;;:::o;34205:643::-;34299:33;34350:21;34391:9;34386:159;34410:18;;34406:22;;34386:159;;;34480:1;34454:28;;:11;34466:1;34454:14;;;;;;;;;;;;;;;;;;;;:28;34450:84;;34503:15;;;;;34450:84;34430:3;;34386:159;;;;34590:13;34576:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34576:28:0;;34557:47;;34615:9;34644;34639:202;34663:18;;34659:22;;34639:202;;;34733:1;34707:28;;:11;34719:1;34707:14;;;;;;;;;;;;;;;;;;;;:28;34703:127;;34778:11;34790:1;34778:14;;;;;;;;;;;;;;;;;;;;;;;;;34756:16;34773:1;34756:19;;;;;;;;:36;;;;:19;;;;;;;;;;;:36;34811:3;;;;;34703:127;34683:3;;34639:202;;;;34205:643;;;;;:::o;33229:386::-;33315:19;;;33311:58;;33351:7;;33311:58;33386:9;33381:191;33405:18;;33401:22;;33381:191;;;33475:1;33449:28;;:11;33461:1;33449:14;;;;;;;;;;;;;;;;;;;;:28;33445:116;;;33515:5;33498:11;33510:1;33498:14;;;;;;;;;;;;;;;;:22;;;;;;;;;;;;;;;;;;33539:7;;;33445:116;33425:3;;33381:191;;;-1:-1:-1;33584:23:0;;;;;;;-1:-1:-1;33584:23:0;;;;;;;;;;;;;;;;;;;33229:386;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
ipfs://28e30e02860f672fcedede5209c613ae82e62553379e3ff0628c2191a4fba80d
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 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.