ERC-20
Overview
Max Total Supply
108,437.5 NORI
Holders
186
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
1.723348637191239899 NORIValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
NORIDelegator
Compiler Version
v0.5.17+commit.d19bba13
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-10-01 */ pragma solidity 0.5.17; pragma experimental ABIEncoderV2; /** * @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; } } // Storage for a NORI token contract NORITokenStorage { using SafeMath for uint256; /** * @dev Guard variable for re-entrancy checks. Not currently used */ bool internal _notEntered; /** * @notice EIP-20 token name for this token */ string public name; /** * @notice EIP-20 token symbol for this token */ string public symbol; /** * @notice EIP-20 token decimals for this token */ uint8 public decimals; /** * @notice Governor for this contract */ address public gov; /** * @notice Pending governance for this contract */ address public pendingGov; /** * @notice Approved rebaser for this contract */ address public rebaser; /** * @notice Reserve address of NORI protocol */ address public incentivizer; /** * @notice Total supply of NORIs */ uint256 public totalSupply; /** * @notice Internal decimals used to handle scaling factor */ uint256 public constant internalDecimals = 10**24; /** * @notice Used for percentage maths */ uint256 public constant BASE = 10**18; /** * @notice Scaling factor that adjusts everyone's balances */ uint256 public norisScalingFactor; mapping (address => uint256) internal _noriBalances; mapping (address => mapping (address => uint256)) internal _allowedFragments; uint256 public initSupply; } contract NORIGovernanceStorage { /// @notice A record of each accounts delegate mapping (address => address) internal _delegates; /// @notice A checkpoint for marking number of votes from a given block struct Checkpoint { uint32 fromBlock; uint256 votes; } /// @notice A record of votes checkpoints for each account, by index mapping (address => mapping (uint32 => Checkpoint)) public checkpoints; /// @notice The number of checkpoints for each account mapping (address => uint32) public numCheckpoints; /// @notice The EIP-712 typehash for the contract's domain bytes32 public constant DOMAIN_TYPEHASH = keccak256("EIP712Domain(string name,uint256 chainId,address verifyingContract)"); /// @notice The EIP-712 typehash for the delegation struct used by the contract bytes32 public constant DELEGATION_TYPEHASH = keccak256("Delegation(address delegatee,uint256 nonce,uint256 expiry)"); /// @notice A record of states for signing / validating signatures mapping (address => uint) public nonces; } contract NORITokenInterface is NORITokenStorage, NORIGovernanceStorage { /// @notice An event thats emitted when an account changes its delegate event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate); /// @notice An event thats emitted when a delegate account's vote balance changes event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance); /** * @notice Event emitted when tokens are rebased */ event Rebase(uint256 epoch, uint256 prevNorisScalingFactor, uint256 newNorisScalingFactor); /*** Gov Events ***/ /** * @notice Event emitted when pendingGov is changed */ event NewPendingGov(address oldPendingGov, address newPendingGov); /** * @notice Event emitted when gov is changed */ event NewGov(address oldGov, address newGov); /** * @notice Sets the rebaser contract */ event NewRebaser(address oldRebaser, address newRebaser); /** * @notice Sets the incentivizer contract */ event NewIncentivizer(address oldIncentivizer, address newIncentivizer); /* - ERC20 Events - */ /** * @notice EIP20 Transfer event */ event Transfer(address indexed from, address indexed to, uint amount); /** * @notice EIP20 Approval event */ event Approval(address indexed owner, address indexed spender, uint amount); /* - Extra Events - */ /** * @notice Tokens minted event */ event Mint(address to, uint256 amount); // Public functions function transfer(address to, uint256 value) external returns(bool); function transferFrom(address from, address to, uint256 value) external returns(bool); function balanceOf(address who) external view returns(uint256); function balanceOfUnderlying(address who) external view returns(uint256); function allowance(address owner_, address spender) external view returns(uint256); function approve(address spender, uint256 value) external returns (bool); function increaseAllowance(address spender, uint256 addedValue) external returns (bool); function decreaseAllowance(address spender, uint256 subtractedValue) external returns (bool); function maxScalingFactor() external view returns (uint256); /* - Governance Functions - */ function getPriorVotes(address account, uint blockNumber) external view returns (uint256); function delegateBySig(address delegatee, uint nonce, uint expiry, uint8 v, bytes32 r, bytes32 s) external; function delegate(address delegatee) external; function delegates(address delegator) external view returns (address); function getCurrentVotes(address account) external view returns (uint256); /* - Permissioned/Governance functions - */ function mint(address to, uint256 amount) external returns (bool); function rebase(uint256 epoch, uint256 indexDelta, bool positive) external returns (uint256); function _setRebaser(address rebaser_) external; function _setIncentivizer(address incentivizer_) external; function _setPendingGov(address pendingGov_) external; function _acceptGov() external; } contract NORIGovernanceToken is NORITokenInterface { /// @notice An event thats emitted when an account changes its delegate event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate); /// @notice An event thats emitted when a delegate account's vote balance changes event DelegateVotesChanged(address indexed delegate, uint previousBalance, uint newBalance); /** * @notice Delegate votes from `msg.sender` to `delegatee` * @param delegator The address to get delegatee for */ function delegates(address delegator) external view returns (address) { return _delegates[delegator]; } /** * @notice Delegate votes from `msg.sender` to `delegatee` * @param delegatee The address to delegate votes to */ function delegate(address delegatee) external { return _delegate(msg.sender, delegatee); } /** * @notice Delegates votes from signatory to `delegatee` * @param delegatee The address to delegate votes to * @param nonce The contract state required to match the signature * @param expiry The time at which to expire the signature * @param v The recovery byte of the signature * @param r Half of the ECDSA signature pair * @param s Half of the ECDSA signature pair */ function delegateBySig( address delegatee, uint nonce, uint expiry, uint8 v, bytes32 r, bytes32 s ) external { bytes32 domainSeparator = keccak256( abi.encode( DOMAIN_TYPEHASH, keccak256(bytes(name)), getChainId(), address(this) ) ); bytes32 structHash = keccak256( abi.encode( DELEGATION_TYPEHASH, delegatee, nonce, expiry ) ); bytes32 digest = keccak256( abi.encodePacked( "\x19\x01", domainSeparator, structHash ) ); address signatory = ecrecover(digest, v, r, s); require(signatory != address(0), "NORI::delegateBySig: invalid signature"); require(nonce == nonces[signatory]++, "NORI::delegateBySig: invalid nonce"); require(now <= expiry, "NORI::delegateBySig: signature expired"); return _delegate(signatory, delegatee); } /** * @notice Gets the current votes balance for `account` * @param account The address to get votes balance * @return The number of current votes for `account` */ function getCurrentVotes(address account) external view returns (uint256) { uint32 nCheckpoints = numCheckpoints[account]; return nCheckpoints > 0 ? checkpoints[account][nCheckpoints - 1].votes : 0; } /** * @notice Determine the prior number of votes for an account as of a block number * @dev Block number must be a finalized block or else this function will revert to prevent misinformation. * @param account The address of the account to check * @param blockNumber The block number to get the vote balance at * @return The number of votes the account had as of the given block */ function getPriorVotes(address account, uint blockNumber) external view returns (uint256) { require(blockNumber < block.number, "NORI::getPriorVotes: not yet determined"); uint32 nCheckpoints = numCheckpoints[account]; if (nCheckpoints == 0) { return 0; } // First check most recent balance if (checkpoints[account][nCheckpoints - 1].fromBlock <= blockNumber) { return checkpoints[account][nCheckpoints - 1].votes; } // Next check implicit zero balance if (checkpoints[account][0].fromBlock > blockNumber) { return 0; } uint32 lower = 0; uint32 upper = nCheckpoints - 1; while (upper > lower) { uint32 center = upper - (upper - lower) / 2; // ceil, avoiding overflow Checkpoint memory cp = checkpoints[account][center]; if (cp.fromBlock == blockNumber) { return cp.votes; } else if (cp.fromBlock < blockNumber) { lower = center; } else { upper = center - 1; } } return checkpoints[account][lower].votes; } function _delegate(address delegator, address delegatee) internal { address currentDelegate = _delegates[delegator]; uint256 delegatorBalance = _noriBalances[delegator]; // balance of underlying NORIs (not scaled); _delegates[delegator] = delegatee; emit DelegateChanged(delegator, currentDelegate, delegatee); _moveDelegates(currentDelegate, delegatee, delegatorBalance); } function _moveDelegates(address srcRep, address dstRep, uint256 amount) internal { if (srcRep != dstRep && amount > 0) { if (srcRep != address(0)) { // decrease old representative uint32 srcRepNum = numCheckpoints[srcRep]; uint256 srcRepOld = srcRepNum > 0 ? checkpoints[srcRep][srcRepNum - 1].votes : 0; uint256 srcRepNew = srcRepOld.sub(amount); _writeCheckpoint(srcRep, srcRepNum, srcRepOld, srcRepNew); } if (dstRep != address(0)) { // increase new representative uint32 dstRepNum = numCheckpoints[dstRep]; uint256 dstRepOld = dstRepNum > 0 ? checkpoints[dstRep][dstRepNum - 1].votes : 0; uint256 dstRepNew = dstRepOld.add(amount); _writeCheckpoint(dstRep, dstRepNum, dstRepOld, dstRepNew); } } } function _writeCheckpoint( address delegatee, uint32 nCheckpoints, uint256 oldVotes, uint256 newVotes ) internal { uint32 blockNumber = safe32(block.number, "NORI::_writeCheckpoint: block number exceeds 32 bits"); if (nCheckpoints > 0 && checkpoints[delegatee][nCheckpoints - 1].fromBlock == blockNumber) { checkpoints[delegatee][nCheckpoints - 1].votes = newVotes; } else { checkpoints[delegatee][nCheckpoints] = Checkpoint(blockNumber, newVotes); numCheckpoints[delegatee] = nCheckpoints + 1; } emit DelegateVotesChanged(delegatee, oldVotes, newVotes); } function safe32(uint n, string memory errorMessage) internal pure returns (uint32) { require(n < 2**32, errorMessage); return uint32(n); } function getChainId() internal pure returns (uint) { uint256 chainId; assembly { chainId := chainid() } return chainId; } } contract NORIToken is NORIGovernanceToken { // Modifiers modifier onlyGov() { require(msg.sender == gov); _; } modifier onlyRebaser() { require(msg.sender == rebaser); _; } modifier onlyMinter() { require(msg.sender == rebaser || msg.sender == incentivizer || msg.sender == gov, "not minter"); _; } modifier validRecipient(address to) { require(to != address(0x0)); require(to != address(this)); _; } function initialize( string memory name_, string memory symbol_, uint8 decimals_ ) public { require(norisScalingFactor == 0, "already initialized"); name = name_; symbol = symbol_; decimals = decimals_; } /** * @notice Computes the current max scaling factor */ function maxScalingFactor() external view returns (uint256) { return _maxScalingFactor(); } function _maxScalingFactor() internal view returns (uint256) { // scaling factor can only go up to 2**256-1 = initSupply * norisScalingFactor // this is used to check if norisScalingFactor will be too high to compute balances when rebasing. return uint256(-1) / initSupply; } /** * @notice Mints new tokens, increasing totalSupply, initSupply, and a users balance. * @dev Limited to onlyMinter modifier */ function mint(address to, uint256 amount) external onlyMinter returns (bool) { _mint(to, amount); return true; } function _mint(address to, uint256 amount) internal { // increase totalSupply totalSupply = totalSupply.add(amount); // get underlying value uint256 noriValue = amount.mul(internalDecimals).div(norisScalingFactor); // increase initSupply initSupply = initSupply.add(noriValue); // make sure the mint didnt push maxScalingFactor too low require(norisScalingFactor <= _maxScalingFactor(), "max scaling factor too low"); // add balance _noriBalances[to] = _noriBalances[to].add(noriValue); // add delegates to the minter _moveDelegates(address(0), _delegates[to], noriValue); emit Mint(to, amount); } /* - ERC20 functionality - */ /** * @dev Transfer tokens to a specified address. * @param to The address to transfer to. * @param value The amount to be transferred. * @return True on success, false otherwise. */ function transfer(address to, uint256 value) external validRecipient(to) returns (bool) { // underlying balance is stored in noris, so divide by current scaling factor // note, this means as scaling factor grows, dust will be untransferrable. // minimum transfer value == norisScalingFactor / 1e24; // get amount in underlying uint256 noriValue = value.mul(internalDecimals).div(norisScalingFactor); // sub from balance of sender _noriBalances[msg.sender] = _noriBalances[msg.sender].sub(noriValue); // add to balance of receiver _noriBalances[to] = _noriBalances[to].add(noriValue); emit Transfer(msg.sender, to, value); _moveDelegates(_delegates[msg.sender], _delegates[to], noriValue); return true; } /** * @dev Transfer tokens from one address to another. * @param from The address you want to send tokens from. * @param to The address you want to transfer to. * @param value The amount of tokens to be transferred. */ function transferFrom(address from, address to, uint256 value) external validRecipient(to) returns (bool) { // decrease allowance _allowedFragments[from][msg.sender] = _allowedFragments[from][msg.sender].sub(value); // get value in noris uint256 noriValue = value.mul(internalDecimals).div(norisScalingFactor); // sub from from _noriBalances[from] = _noriBalances[from].sub(noriValue); _noriBalances[to] = _noriBalances[to].add(noriValue); emit Transfer(from, to, value); _moveDelegates(_delegates[from], _delegates[to], noriValue); return true; } /** * @param who The address to query. * @return The balance of the specified address. */ function balanceOf(address who) external view returns (uint256) { return _noriBalances[who].mul(norisScalingFactor).div(internalDecimals); } /** @notice Currently returns the internal storage amount * @param who The address to query. * @return The underlying balance of the specified address. */ function balanceOfUnderlying(address who) external view returns (uint256) { return _noriBalances[who]; } /** * @dev Function to check the amount of tokens that an owner has allowed to a spender. * @param owner_ The address which owns the funds. * @param spender The address which will spend the funds. * @return The number of tokens still available for the spender. */ function allowance(address owner_, address spender) external view returns (uint256) { return _allowedFragments[owner_][spender]; } /** * @dev Approve the passed address to spend the specified amount of tokens on behalf of * msg.sender. This method is included for ERC20 compatibility. * increaseAllowance and decreaseAllowance should be used instead. * Changing an allowance with this method brings the risk that someone may transfer both * the old and the new allowance - if they are both greater than zero - if a transfer * transaction is mined before the later approve() call is mined. * * @param spender The address which will spend the funds. * @param value The amount of tokens to be spent. */ function approve(address spender, uint256 value) external returns (bool) { _allowedFragments[msg.sender][spender] = value; emit Approval(msg.sender, spender, value); return true; } /** * @dev Increase the amount of tokens that an owner has allowed to a spender. * This method should be used instead of approve() to avoid the double approval vulnerability * described above. * @param spender The address which will spend the funds. * @param addedValue The amount of tokens to increase the allowance by. */ function increaseAllowance(address spender, uint256 addedValue) external returns (bool) { _allowedFragments[msg.sender][spender] = _allowedFragments[msg.sender][spender].add(addedValue); emit Approval(msg.sender, spender, _allowedFragments[msg.sender][spender]); return true; } /** * @dev Decrease the amount of tokens that an owner has allowed to a spender. * * @param spender The address which will spend the funds. * @param subtractedValue The amount of tokens to decrease the allowance by. */ function decreaseAllowance(address spender, uint256 subtractedValue) external returns (bool) { uint256 oldValue = _allowedFragments[msg.sender][spender]; if (subtractedValue >= oldValue) { _allowedFragments[msg.sender][spender] = 0; } else { _allowedFragments[msg.sender][spender] = oldValue.sub(subtractedValue); } emit Approval(msg.sender, spender, _allowedFragments[msg.sender][spender]); return true; } /* - Governance Functions - */ /** @notice sets the rebaser * @param rebaser_ The address of the rebaser contract to use for authentication. */ function _setRebaser(address rebaser_) external onlyGov { address oldRebaser = rebaser; rebaser = rebaser_; emit NewRebaser(oldRebaser, rebaser_); } /** @notice sets the incentivizer * @param incentivizer_ The address of the rebaser contract to use for authentication. */ function _setIncentivizer(address incentivizer_) external onlyGov { address oldIncentivizer = incentivizer; incentivizer = incentivizer_; emit NewIncentivizer(oldIncentivizer, incentivizer_); } /** @notice sets the pendingGov * @param pendingGov_ The address of the rebaser contract to use for authentication. */ function _setPendingGov(address pendingGov_) external onlyGov { address oldPendingGov = pendingGov; pendingGov = pendingGov_; emit NewPendingGov(oldPendingGov, pendingGov_); } /** @notice lets msg.sender accept governance * */ function _acceptGov() external { require(msg.sender == pendingGov, "!pending"); address oldGov = gov; gov = pendingGov; pendingGov = address(0); emit NewGov(oldGov, gov); } /* - Extras - */ /** * @notice Initiates a new rebase operation, provided the minimum time period has elapsed. * * @dev The supply adjustment equals (totalSupply * DeviationFromTargetRate) / rebaseLag * Where DeviationFromTargetRate is (MarketOracleRate - targetRate) / targetRate * and targetRate is CpiOracleRate / baseCpi */ function rebase( uint256 epoch, uint256 indexDelta, bool positive ) external onlyRebaser returns (uint256) { if (indexDelta == 0) { emit Rebase(epoch, norisScalingFactor, norisScalingFactor); return totalSupply; } uint256 prevNorisScalingFactor = norisScalingFactor; if (!positive) { norisScalingFactor = norisScalingFactor.mul(BASE.sub(indexDelta)).div(BASE); } else { uint256 newScalingFactor = norisScalingFactor.mul(BASE.add(indexDelta)).div(BASE); if (newScalingFactor < _maxScalingFactor()) { norisScalingFactor = newScalingFactor; } else { norisScalingFactor = _maxScalingFactor(); } } totalSupply = initSupply.mul(norisScalingFactor); emit Rebase(epoch, prevNorisScalingFactor, norisScalingFactor); return totalSupply; } } contract NORI is NORIToken { /** * @notice Initialize the new money market * @param name_ ERC-20 name of this token * @param symbol_ ERC-20 symbol of this token * @param decimals_ ERC-20 decimal precision of this token */ function initialize( string memory name_, string memory symbol_, uint8 decimals_, address initial_owner, uint256 initSupply_ ) public { require(initSupply_ > 0, "0 init supply"); super.initialize(name_, symbol_, decimals_); initSupply = initSupply_.mul(10**24/ (BASE)); totalSupply = initSupply_; norisScalingFactor = BASE; _noriBalances[initial_owner] = initSupply_.mul(10**24 / (BASE)); // owner renounces ownership after deployment as they need to set // rebaser and incentivizer // gov = gov_; } } contract NORIDelegationStorage { /** * @notice Implementation address for this contract */ address public implementation; } contract NORIDelegatorInterface is NORIDelegationStorage { /** * @notice Emitted when implementation is changed */ event NewImplementation(address oldImplementation, address newImplementation); /** * @notice Called by the gov to update the implementation of the delegator * @param implementation_ The address of the new implementation for delegation * @param allowResign Flag to indicate whether to call _resignImplementation on the old implementation * @param becomeImplementationData The encoded bytes data to be passed to _becomeImplementation */ function _setImplementation(address implementation_, bool allowResign, bytes memory becomeImplementationData) public; } contract NORIDelegateInterface is NORIDelegationStorage { /** * @notice Called by the delegator on a delegate to initialize it for duty * @dev Should revert if any issues arise which make it unfit for delegation * @param data The encoded bytes data for any initialization */ function _becomeImplementation(bytes memory data) public; /** * @notice Called by the delegator on a delegate to forfeit its responsibility */ function _resignImplementation() public; } contract NORIDelegate is NORI, NORIDelegateInterface { /** * @notice Construct an empty delegate */ constructor() public {} /** * @notice Called by the delegator on a delegate to initialize it for duty * @param data The encoded bytes data for any initialization */ function _becomeImplementation(bytes memory data) public { // Shh -- currently unused data; // Shh -- we don't ever want this hook to be marked pure if (false) { implementation = address(0); } require(msg.sender == gov, "only the gov may call _becomeImplementation"); } /** * @notice Called by the delegator on a delegate to forfeit its responsibility */ function _resignImplementation() public { // Shh -- we don't ever want this hook to be marked pure if (false) { implementation = address(0); } require(msg.sender == gov, "only the gov may call _resignImplementation"); } } contract NORIDelegator is NORITokenInterface, NORIDelegatorInterface { /** * @notice Construct a new NORI * @param name_ ERC-20 name of this token * @param symbol_ ERC-20 symbol of this token * @param decimals_ ERC-20 decimal precision of this token * @param initSupply_ Initial token amount * @param implementation_ The address of the implementation the contract delegates to * @param becomeImplementationData The encoded args for becomeImplementation */ constructor( string memory name_, string memory symbol_, uint8 decimals_, uint256 initSupply_, address implementation_, bytes memory becomeImplementationData ) public { // Creator of the contract is gov during initialization gov = msg.sender; // First delegate gets to initialize the delegator (i.e. storage contract) delegateTo( implementation_, abi.encodeWithSignature( "initialize(string,string,uint8,address,uint256)", name_, symbol_, decimals_, msg.sender, initSupply_ ) ); // New implementations always get set via the settor (post-initialize) _setImplementation(implementation_, false, becomeImplementationData); } /** * @notice Called by the gov to update the implementation of the delegator * @param implementation_ The address of the new implementation for delegation * @param allowResign Flag to indicate whether to call _resignImplementation on the old implementation * @param becomeImplementationData The encoded bytes data to be passed to _becomeImplementation */ function _setImplementation(address implementation_, bool allowResign, bytes memory becomeImplementationData) public { require(msg.sender == gov, "NORIDelegator::_setImplementation: Caller must be gov"); if (allowResign) { delegateToImplementation(abi.encodeWithSignature("_resignImplementation()")); } address oldImplementation = implementation; implementation = implementation_; delegateToImplementation(abi.encodeWithSignature("_becomeImplementation(bytes)", becomeImplementationData)); emit NewImplementation(oldImplementation, implementation); } /** * @notice Sender supplies assets into the market and receives cTokens in exchange * @dev Accrues interest whether or not the operation succeeds, unless reverted * @param mintAmount The amount of the underlying asset to supply * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details) */ function mint(address to, uint256 mintAmount) external returns (bool) { to; mintAmount; // Shh delegateAndReturn(); } /** * @notice Transfer `amount` tokens from `msg.sender` to `dst` * @param dst The address of the destination account * @param amount The number of tokens to transfer * @return Whether or not the transfer succeeded */ function transfer(address dst, uint256 amount) external returns (bool) { dst; amount; // Shh delegateAndReturn(); } /** * @notice Transfer `amount` tokens from `src` to `dst` * @param src The address of the source account * @param dst The address of the destination account * @param amount The number of tokens to transfer * @return Whether or not the transfer succeeded */ function transferFrom( address src, address dst, uint256 amount ) external returns (bool) { src; dst; amount; // Shh delegateAndReturn(); } /** * @notice Approve `spender` to transfer up to `amount` from `src` * @dev This will overwrite the approval amount for `spender` * and is subject to issues noted [here](https://eips.ethereum.org/EIPS/eip-20#approve) * @param spender The address of the account which may transfer tokens * @param amount The number of tokens that are approved (-1 means infinite) * @return Whether or not the approval succeeded */ function approve( address spender, uint256 amount ) external returns (bool) { spender; amount; // Shh delegateAndReturn(); } /** * @dev Increase the amount of tokens that an owner has allowed to a spender. * This method should be used instead of approve() to avoid the double approval vulnerability * described above. * @param spender The address which will spend the funds. * @param addedValue The amount of tokens to increase the allowance by. */ function increaseAllowance( address spender, uint256 addedValue ) external returns (bool) { spender; addedValue; // Shh delegateAndReturn(); } function maxScalingFactor() external view returns (uint256) { delegateToViewAndReturn(); } function rebase( uint256 epoch, uint256 indexDelta, bool positive ) external returns (uint256) { epoch; indexDelta; positive; delegateAndReturn(); } /** * @dev Decrease the amount of tokens that an owner has allowed to a spender. * * @param spender The address which will spend the funds. * @param subtractedValue The amount of tokens to decrease the allowance by. */ function decreaseAllowance( address spender, uint256 subtractedValue ) external returns (bool) { spender; subtractedValue; // Shh delegateAndReturn(); } /** * @notice Get the current allowance from `owner` for `spender` * @param owner The address of the account which owns the tokens to be spent * @param spender The address of the account which may transfer tokens * @return The number of tokens allowed to be spent (-1 means infinite) */ function allowance( address owner, address spender ) external view returns (uint256) { owner; spender; // Shh delegateToViewAndReturn(); } /** * @notice Get the current allowance from `owner` for `spender` * @param delegator The address of the account which has designated a delegate * @return Address of delegatee */ function delegates( address delegator ) external view returns (address) { delegator; // Shh delegateToViewAndReturn(); } /** * @notice Get the token balance of the `owner` * @param owner The address of the account to query * @return The number of tokens owned by `owner` */ function balanceOf(address owner) external view returns (uint256) { owner; // Shh delegateToViewAndReturn(); } /** * @notice Currently unused. For future compatability * @param owner The address of the account to query * @return The number of underlying tokens owned by `owner` */ function balanceOfUnderlying(address owner) external view returns (uint256) { owner; // Shh delegateToViewAndReturn(); } /*** Gov Functions ***/ /** * @notice Begins transfer of gov rights. The newPendingGov must call `_acceptGov` to finalize the transfer. * @dev Gov function to begin change of gov. The newPendingGov must call `_acceptGov` to finalize the transfer. * @param newPendingGov New pending gov. */ function _setPendingGov(address newPendingGov) external { newPendingGov; // Shh delegateAndReturn(); } function _setRebaser(address rebaser_) external { rebaser_; // Shh delegateAndReturn(); } function _setIncentivizer(address incentivizer_) external { incentivizer_; // Shh delegateAndReturn(); } /** * @notice Accepts transfer of gov rights. msg.sender must be pendingGov * @dev Gov function for pending gov to accept role and update gov * @return uint 0=success, otherwise a failure (see ErrorReporter.sol for details) */ function _acceptGov() external { delegateAndReturn(); } function getPriorVotes(address account, uint blockNumber) external view returns (uint256) { account; blockNumber; delegateToViewAndReturn(); } function delegateBySig( address delegatee, uint nonce, uint expiry, uint8 v, bytes32 r, bytes32 s ) external { delegatee; nonce; expiry; v; r; s; delegateAndReturn(); } function delegate(address delegatee) external { delegatee; delegateAndReturn(); } function getCurrentVotes(address account) external view returns (uint256) { account; delegateToViewAndReturn(); } /** * @notice Internal method to delegate execution to another contract * @dev It returns to the external caller whatever the implementation returns or forwards reverts * @param callee The contract to delegatecall * @param data The raw data to delegatecall * @return The returned bytes from the delegatecall */ function delegateTo(address callee, bytes memory data) internal returns (bytes memory) { (bool success, bytes memory returnData) = callee.delegatecall(data); assembly { if eq(success, 0) { revert(add(returnData, 0x20), returndatasize) } } return returnData; } /** * @notice Delegates execution to the implementation contract * @dev It returns to the external caller whatever the implementation returns or forwards reverts * @param data The raw data to delegatecall * @return The returned bytes from the delegatecall */ function delegateToImplementation(bytes memory data) public returns (bytes memory) { return delegateTo(implementation, data); } /** * @notice Delegates execution to an implementation contract * @dev It returns to the external caller whatever the implementation returns or forwards reverts * There are an additional 2 prefix uints from the wrapper returndata, which we ignore since we make an extra hop. * @param data The raw data to delegatecall * @return The returned bytes from the delegatecall */ function delegateToViewImplementation(bytes memory data) public view returns (bytes memory) { (bool success, bytes memory returnData) = address(this).staticcall(abi.encodeWithSignature("delegateToImplementation(bytes)", data)); assembly { if eq(success, 0) { revert(add(returnData, 0x20), returndatasize) } } return abi.decode(returnData, (bytes)); } function delegateToViewAndReturn() private view returns (bytes memory) { (bool success, ) = address(this).staticcall(abi.encodeWithSignature("delegateToImplementation(bytes)", msg.data)); assembly { let free_mem_ptr := mload(0x40) returndatacopy(free_mem_ptr, 0, returndatasize) switch success case 0 { revert(free_mem_ptr, returndatasize) } default { return(add(free_mem_ptr, 0x40), returndatasize) } } } function delegateAndReturn() private returns (bytes memory) { (bool success, ) = implementation.delegatecall(msg.data); assembly { let free_mem_ptr := mload(0x40) returndatacopy(free_mem_ptr, 0, returndatasize) switch success case 0 { revert(free_mem_ptr, returndatasize) } default { return(free_mem_ptr, returndatasize) } } } /** * @notice Delegates execution to an implementation contract * @dev It returns to the external caller whatever the implementation returns or forwards reverts */ function () external payable { require(msg.value == 0,"NORIDelegator:fallback: cannot send value to fallback"); // delegate all other functions to current implementation delegateAndReturn(); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint8","name":"decimals_","type":"uint8"},{"internalType":"uint256","name":"initSupply_","type":"uint256"},{"internalType":"address","name":"implementation_","type":"address"},{"internalType":"bytes","name":"becomeImplementationData","type":"bytes"}],"payable":false,"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":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldGov","type":"address"},{"indexed":false,"internalType":"address","name":"newGov","type":"address"}],"name":"NewGov","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldImplementation","type":"address"},{"indexed":false,"internalType":"address","name":"newImplementation","type":"address"}],"name":"NewImplementation","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldIncentivizer","type":"address"},{"indexed":false,"internalType":"address","name":"newIncentivizer","type":"address"}],"name":"NewIncentivizer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldPendingGov","type":"address"},{"indexed":false,"internalType":"address","name":"newPendingGov","type":"address"}],"name":"NewPendingGov","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldRebaser","type":"address"},{"indexed":false,"internalType":"address","name":"newRebaser","type":"address"}],"name":"NewRebaser","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"epoch","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"prevNorisScalingFactor","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newNorisScalingFactor","type":"uint256"}],"name":"Rebase","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":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"constant":true,"inputs":[],"name":"BASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"DELEGATION_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"DOMAIN_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"_acceptGov","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"implementation_","type":"address"},{"internalType":"bool","name":"allowResign","type":"bool"},{"internalType":"bytes","name":"becomeImplementationData","type":"bytes"}],"name":"_setImplementation","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"incentivizer_","type":"address"}],"name":"_setIncentivizer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newPendingGov","type":"address"}],"name":"_setPendingGov","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"rebaser_","type":"address"}],"name":"_setRebaser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOfUnderlying","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint32","name":"","type":"uint32"}],"name":"checkpoints","outputs":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint256","name":"votes","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"delegateToImplementation","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"delegateToViewImplementation","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"delegator","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getCurrentVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPriorVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"gov","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"incentivizer","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"initSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"internalDecimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"maxScalingFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"mintAmount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"norisScalingFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"pendingGov","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"epoch","type":"uint256"},{"internalType":"uint256","name":"indexDelta","type":"uint256"},{"internalType":"bool","name":"positive","type":"bool"}],"name":"rebase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"rebaser","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162001ac238038062001ac2833981016040819052620000349162000329565b60038054610100600160a81b03191633610100810291909117909155604051620000a491849162000070918a918a918a918a9060240162000548565b60408051601f198184030181529190526020810180516001600160e01b03908116636c94522160e01b17909152620000c816565b50620000bc826000836001600160e01b036200014a16565b505050505050620006a5565b606060006060846001600160a01b031684604051620000e8919062000501565b600060405180830381855af49150503d806000811462000125576040519150601f19603f3d011682016040523d82523d6000602084013e6200012a565b606091505b5091509150600082141562000140573d60208201fd5b9150505b92915050565b60035461010090046001600160a01b03163314620001855760405162461bcd60e51b81526004016200017c90620005aa565b60405180910390fd5b8115620001c7576040805160048152602481019091526020810180516001600160e01b0390811663153ab50560e01b17909152620001c591906200028216565b505b601080546001600160a01b038581166001600160a01b031983161790925560405191169062000234906200020090849060240162000535565b60408051601f198184030181529190526020810180516001600160e01b03908116630adccee560e31b179091526200028216565b506010546040517fd604de94d45953f9138079ec1b82d533cb2160c906d1076d1f7ed54befbca97a91620002749184916001600160a01b03169062000516565b60405180910390a150505050565b60105460609062000144906001600160a01b0316836001600160e01b03620000c816565b8051620001448162000675565b600082601f830112620002c557600080fd5b8151620002dc620002d682620005e3565b620005bc565b91508082526020830160208301858383011115620002f957600080fd5b6200030683828462000638565b50505092915050565b805162000144816200068f565b805162000144816200069a565b60008060008060008060c087890312156200034357600080fd5b86516001600160401b038111156200035a57600080fd5b6200036889828a01620002b3565b96505060208701516001600160401b038111156200038557600080fd5b6200039389828a01620002b3565b9550506040620003a689828a016200031c565b9450506060620003b989828a016200030f565b9350506080620003cc89828a01620002a6565b92505060a08701516001600160401b03811115620003e957600080fd5b620003f789828a01620002b3565b9150509295509295509295565b6200040f816200061d565b82525050565b600062000422826200060b565b6200042e81856200060f565b93506200044081856020860162000638565b6200044b816200066b565b9093019392505050565b600062000462826200060b565b6200046e818562000618565b93506200048081856020860162000638565b9290920192915050565b6000620004996035836200060f565b7f4e4f524944656c656761746f723a3a5f736574496d706c656d656e746174696f81527f6e3a2043616c6c6572206d75737420626520676f760000000000000000000000602082015260400192915050565b6200040f816200062f565b6200040f8162000632565b60006200050f828462000455565b9392505050565b6040810162000526828562000404565b6200050f602083018462000404565b602080825281016200050f818462000415565b60a080825281016200055b818862000415565b9050818103602083015262000571818762000415565b9050620005826040830186620004f6565b62000591606083018562000404565b620005a06080830184620004eb565b9695505050505050565b6020808252810162000144816200048a565b6040518181016001600160401b0381118282101715620005db57600080fd5b604052919050565b60006001600160401b03821115620005fa57600080fd5b506020601f91909101601f19160190565b5190565b90815260200190565b919050565b60006001600160a01b03821662000144565b90565b60ff1690565b60005b83811015620006555781810151838201526020016200063b565b8381111562000665576000848401525b50505050565b601f01601f191690565b62000680816200061d565b81146200068c57600080fd5b50565b62000680816200062f565b620006808162000632565b61140d80620006b56000396000f3fe6080604052600436106102465760003560e01c806364dd48f51161013957806398dca210116100b6578063c3cda5201161007a578063c3cda52014610582578063dd62ed3e146105a2578063e7a324dc146105bd578063ec342ad0146105d2578063f1127ed8146105e7578063fa8f34551461045c57610246565b806398dca2101461045c5780639d7785bf1461056d578063a457c2d7146102c3578063a9059cbb146102c3578063b4b5ea57146103ca57610246565b8063782d6fe1116100fd578063782d6fe1146104e85780637af548c1146105085780637ecebe001461052357806395d89b411461054357806397d63f931461055857610246565b806364dd48f5146104915780636fc6407c146104a65780636fcfff45146104bb57806370a08231146103ca57806373f03dff1461045c57610246565b8063313ce567116101c75780634bda2e201161018b5780634bda2e201461040a578063555bcc4014610421578063587cde1e146104415780635c19a95c1461045c5780635c60da1b1461047c57610246565b8063313ce567146103a857806339509351146102c35780633af9e669146103ca57806340c10f19146102c35780634487152f146103ea57610246565b806312d43a511161020e57806312d43a511461033457806318160ddd1461034957806320606b701461035e57806323b872dd14610373578063252408101461039357610246565b806306fdde03146102785780630933c1ed146102a3578063095ea7b3146102c357806311d3e6c4146102f057806311fd8a8314610312575b341561026d5760405162461bcd60e51b815260040161026490611276565b60405180910390fd5b610275610615565b50005b34801561028457600080fd5b5061028d610695565b60405161029a9190611255565b60405180910390f35b3480156102af57600080fd5b5061028d6102be366004610efd565b610722565b3480156102cf57600080fd5b506102e36102de366004610de1565b610741565b60405161029a9190611227565b3480156102fc57600080fd5b50610305610752565b60405161029a9190611235565b34801561031e57600080fd5b50610327610760565b60405161029a91906111fe565b34801561034057600080fd5b5061032761076f565b34801561035557600080fd5b50610305610783565b34801561036a57600080fd5b50610305610789565b34801561037f57600080fd5b506102e361038e366004610d39565b6107a0565b34801561039f57600080fd5b506103276107b2565b3480156103b457600080fd5b506103bd6107c1565b60405161029a91906112af565b3480156103d657600080fd5b506103056103e5366004610ce1565b6107ca565b3480156103f657600080fd5b5061028d610405366004610efd565b6107da565b34801561041657600080fd5b5061041f6108a1565b005b34801561042d57600080fd5b5061041f61043c366004610d86565b6108ac565b34801561044d57600080fd5b506103276103e5366004610ce1565b34801561046857600080fd5b5061041f610477366004610ce1565b6109c6565b34801561048857600080fd5b506103276109d2565b34801561049d57600080fd5b506103056109e1565b3480156104b257600080fd5b506103276109ef565b3480156104c757600080fd5b506104db6104d6366004610ce1565b6109fe565b60405161029a9190611286565b3480156104f457600080fd5b50610305610503366004610de1565b610a16565b34801561051457600080fd5b5061030561038e366004610f32565b34801561052f57600080fd5b5061030561053e366004610ce1565b610a20565b34801561054f57600080fd5b5061028d610a32565b34801561056457600080fd5b50610305610a8a565b34801561057957600080fd5b50610305610a90565b34801561058e57600080fd5b5061041f61059d366004610e11565b610a96565b3480156105ae57600080fd5b50610305610503366004610cff565b3480156105c957600080fd5b50610305610aa7565b3480156105de57600080fd5b50610305610ab3565b3480156105f357600080fd5b50610607610602366004610e98565b610abf565b60405161029a929190611294565b6010546040516060916000916001600160a01b039091169061063a90839036906111c8565b600060405180830381855af49150503d8060008114610675576040519150601f19603f3d011682016040523d82523d6000602084013e61067a565b606091505b505090506040513d6000823e818015610691573d82f35b3d82fd5b60018054604080516020600284861615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561071a5780601f106106ef5761010080835404028352916020019161071a565b820191906000526020600020905b8154815290600101906020018083116106fd57829003601f168201915b505050505081565b60105460609061073b906001600160a01b031683610aec565b92915050565b600061074b610615565b5092915050565b600061075c610b5f565b5090565b6005546001600160a01b031681565b60035461010090046001600160a01b031681565b60075481565b604051610795906111e8565b604051809103902081565b60006107aa610615565b509392505050565b6004546001600160a01b031681565b60035460ff1681565b60006107d4610b5f565b50919050565b606060006060306001600160a01b0316846040516024016107fb9190611255565b60408051601f198184030181529181526020820180516001600160e01b0316630933c1ed60e01b1790525161083091906111d5565b600060405180830381855afa9150503d806000811461086b576040519150601f19603f3d011682016040523d82523d6000602084013e610870565b606091505b50915091506000821415610885573d60208201fd5b808060200190516108999190810190610ec8565b949350505050565b6108a9610615565b50565b60035461010090046001600160a01b031633146108db5760405162461bcd60e51b815260040161026490611266565b8115610915576040805160048152602481019091526020810180516001600160e01b031663153ab50560e01b17905261091390610722565b505b601080546001600160a01b038581166001600160a01b031983161790925560405191169061097a9061094b908490602401611255565b60408051601f198184030181529190526020810180516001600160e01b0316630adccee560e31b179052610722565b506010546040517fd604de94d45953f9138079ec1b82d533cb2160c906d1076d1f7ed54befbca97a916109b89184916001600160a01b03169061120c565b60405180910390a150505050565b6109ce610615565b5050565b6010546001600160a01b031681565b69d3c21bcecceda100000081565b6006546001600160a01b031681565b600e6020526000908152604090205463ffffffff1681565b600061074b610b5f565b600f6020526000908152604090205481565b6002805460408051602060018416156101000260001901909316849004601f8101849004840282018401909252818152929183018282801561071a5780601f106106ef5761010080835404028352916020019161071a565b600b5481565b60085481565b610a9e610615565b50505050505050565b604051610795906111f3565b670de0b6b3a764000081565b600d6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b606060006060846001600160a01b031684604051610b0a91906111d5565b600060405180830381855af49150503d8060008114610b45576040519150601f19603f3d011682016040523d82523d6000602084013e610b4a565b606091505b50915091506000821415610899573d60208201fd5b60606000306001600160a01b0316600036604051602401610b81929190611243565b60408051601f198184030181529181526020820180516001600160e01b0316630933c1ed60e01b17905251610bb691906111d5565b600060405180830381855afa9150503d8060008114610bf1576040519150601f19603f3d011682016040523d82523d6000602084013e610bf6565b606091505b505090506040513d6000823e818015610691573d60408301f35b803561073b81611392565b803561073b816113a6565b803561073b816113af565b600082601f830112610c4257600080fd5b8151610c55610c50826112e4565b6112bd565b91508082526020830160208301858383011115610c7157600080fd5b610c7c838284611358565b50505092915050565b600082601f830112610c9657600080fd5b8135610ca4610c50826112e4565b91508082526020830160208301858383011115610cc057600080fd5b610c7c83828461134c565b803561073b816113b8565b803561073b816113c1565b600060208284031215610cf357600080fd5b60006108998484610c10565b60008060408385031215610d1257600080fd5b6000610d1e8585610c10565b9250506020610d2f85828601610c10565b9150509250929050565b600080600060608486031215610d4e57600080fd5b6000610d5a8686610c10565b9350506020610d6b86828701610c10565b9250506040610d7c86828701610c26565b9150509250925092565b600080600060608486031215610d9b57600080fd5b6000610da78686610c10565b9350506020610db886828701610c1b565b925050604084013567ffffffffffffffff811115610dd557600080fd5b610d7c86828701610c85565b60008060408385031215610df457600080fd5b6000610e008585610c10565b9250506020610d2f85828601610c26565b60008060008060008060c08789031215610e2a57600080fd5b6000610e368989610c10565b9650506020610e4789828a01610c26565b9550506040610e5889828a01610c26565b9450506060610e6989828a01610cd6565b9350506080610e7a89828a01610c26565b92505060a0610e8b89828a01610c26565b9150509295509295509295565b60008060408385031215610eab57600080fd5b6000610eb78585610c10565b9250506020610d2f85828601610ccb565b600060208284031215610eda57600080fd5b815167ffffffffffffffff811115610ef157600080fd5b61089984828501610c31565b600060208284031215610f0f57600080fd5b813567ffffffffffffffff811115610f2657600080fd5b61089984828501610c85565b600080600060608486031215610f4757600080fd5b6000610f538686610c26565b9350506020610f6486828701610c26565b9250506040610d7c86828701610c1b565b610f7e8161131e565b82525050565b610f7e81611329565b610f7e8161132e565b6000610fa28385611310565b9350610faf83858461134c565b610fb883611388565b9093019392505050565b6000610fce8385611319565b9350610fdb83858461134c565b50500190565b6000610fec8261130c565b610ff68185611310565b9350611006818560208601611358565b610fb881611388565b600061101a8261130c565b6110248185611319565b9350611034818560208601611358565b9290920192915050565b600061104b603583611310565b7f4e4f524944656c656761746f723a3a5f736574496d706c656d656e746174696f815274371d1021b0b63632b91036bab9ba1031329033b7bb60591b602082015260400192915050565b60006110a2604383611319565b7f454950373132446f6d61696e28737472696e67206e616d652c75696e7432353681527f20636861696e49642c6164647265737320766572696679696e67436f6e74726160208201526263742960e81b604082015260430192915050565b600061110d603583611310565b7f4e4f524944656c656761746f723a66616c6c6261636b3a2063616e6e6f742073815274656e642076616c756520746f2066616c6c6261636b60581b602082015260400192915050565b6000611164603a83611319565b7f44656c65676174696f6e28616464726573732064656c6567617465652c75696e81527f74323536206e6f6e63652c75696e7432353620657870697279290000000000006020820152603a0192915050565b610f7e8161133d565b610f7e81611346565b6000610899828486610fc2565b60006111e1828461100f565b9392505050565b600061073b82611095565b600061073b82611157565b6020810161073b8284610f75565b6040810161121a8285610f75565b6111e16020830184610f75565b6020810161073b8284610f84565b6020810161073b8284610f8d565b60208082528101610899818486610f96565b602080825281016111e18184610fe1565b6020808252810161073b8161103e565b6020808252810161073b81611100565b6020810161073b82846111b6565b604081016112a282856111b6565b6111e16020830184610f8d565b6020810161073b82846111bf565b60405181810167ffffffffffffffff811182821017156112dc57600080fd5b604052919050565b600067ffffffffffffffff8211156112fb57600080fd5b506020601f91909101601f19160190565b5190565b90815260200190565b919050565b600061073b82611331565b151590565b90565b6001600160a01b031690565b63ffffffff1690565b60ff1690565b82818337506000910152565b60005b8381101561137357818101518382015260200161135b565b83811115611382576000848401525b50505050565b601f01601f191690565b61139b8161131e565b81146108a957600080fd5b61139b81611329565b61139b8161132e565b61139b8161133d565b61139b8161134656fea365627a7a72315820647d288ebc159b1aab01d33f1781d5d159174b11149eddcac035c8f0359d6f086c6578706572696d656e74616cf564736f6c6343000511004000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000cb49b44ba602d800000000000000000000000000000ce22eca51eb0d0c2e4a1953b5796646a0f99c226000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000044e4f52490000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044e4f5249000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106102465760003560e01c806364dd48f51161013957806398dca210116100b6578063c3cda5201161007a578063c3cda52014610582578063dd62ed3e146105a2578063e7a324dc146105bd578063ec342ad0146105d2578063f1127ed8146105e7578063fa8f34551461045c57610246565b806398dca2101461045c5780639d7785bf1461056d578063a457c2d7146102c3578063a9059cbb146102c3578063b4b5ea57146103ca57610246565b8063782d6fe1116100fd578063782d6fe1146104e85780637af548c1146105085780637ecebe001461052357806395d89b411461054357806397d63f931461055857610246565b806364dd48f5146104915780636fc6407c146104a65780636fcfff45146104bb57806370a08231146103ca57806373f03dff1461045c57610246565b8063313ce567116101c75780634bda2e201161018b5780634bda2e201461040a578063555bcc4014610421578063587cde1e146104415780635c19a95c1461045c5780635c60da1b1461047c57610246565b8063313ce567146103a857806339509351146102c35780633af9e669146103ca57806340c10f19146102c35780634487152f146103ea57610246565b806312d43a511161020e57806312d43a511461033457806318160ddd1461034957806320606b701461035e57806323b872dd14610373578063252408101461039357610246565b806306fdde03146102785780630933c1ed146102a3578063095ea7b3146102c357806311d3e6c4146102f057806311fd8a8314610312575b341561026d5760405162461bcd60e51b815260040161026490611276565b60405180910390fd5b610275610615565b50005b34801561028457600080fd5b5061028d610695565b60405161029a9190611255565b60405180910390f35b3480156102af57600080fd5b5061028d6102be366004610efd565b610722565b3480156102cf57600080fd5b506102e36102de366004610de1565b610741565b60405161029a9190611227565b3480156102fc57600080fd5b50610305610752565b60405161029a9190611235565b34801561031e57600080fd5b50610327610760565b60405161029a91906111fe565b34801561034057600080fd5b5061032761076f565b34801561035557600080fd5b50610305610783565b34801561036a57600080fd5b50610305610789565b34801561037f57600080fd5b506102e361038e366004610d39565b6107a0565b34801561039f57600080fd5b506103276107b2565b3480156103b457600080fd5b506103bd6107c1565b60405161029a91906112af565b3480156103d657600080fd5b506103056103e5366004610ce1565b6107ca565b3480156103f657600080fd5b5061028d610405366004610efd565b6107da565b34801561041657600080fd5b5061041f6108a1565b005b34801561042d57600080fd5b5061041f61043c366004610d86565b6108ac565b34801561044d57600080fd5b506103276103e5366004610ce1565b34801561046857600080fd5b5061041f610477366004610ce1565b6109c6565b34801561048857600080fd5b506103276109d2565b34801561049d57600080fd5b506103056109e1565b3480156104b257600080fd5b506103276109ef565b3480156104c757600080fd5b506104db6104d6366004610ce1565b6109fe565b60405161029a9190611286565b3480156104f457600080fd5b50610305610503366004610de1565b610a16565b34801561051457600080fd5b5061030561038e366004610f32565b34801561052f57600080fd5b5061030561053e366004610ce1565b610a20565b34801561054f57600080fd5b5061028d610a32565b34801561056457600080fd5b50610305610a8a565b34801561057957600080fd5b50610305610a90565b34801561058e57600080fd5b5061041f61059d366004610e11565b610a96565b3480156105ae57600080fd5b50610305610503366004610cff565b3480156105c957600080fd5b50610305610aa7565b3480156105de57600080fd5b50610305610ab3565b3480156105f357600080fd5b50610607610602366004610e98565b610abf565b60405161029a929190611294565b6010546040516060916000916001600160a01b039091169061063a90839036906111c8565b600060405180830381855af49150503d8060008114610675576040519150601f19603f3d011682016040523d82523d6000602084013e61067a565b606091505b505090506040513d6000823e818015610691573d82f35b3d82fd5b60018054604080516020600284861615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561071a5780601f106106ef5761010080835404028352916020019161071a565b820191906000526020600020905b8154815290600101906020018083116106fd57829003601f168201915b505050505081565b60105460609061073b906001600160a01b031683610aec565b92915050565b600061074b610615565b5092915050565b600061075c610b5f565b5090565b6005546001600160a01b031681565b60035461010090046001600160a01b031681565b60075481565b604051610795906111e8565b604051809103902081565b60006107aa610615565b509392505050565b6004546001600160a01b031681565b60035460ff1681565b60006107d4610b5f565b50919050565b606060006060306001600160a01b0316846040516024016107fb9190611255565b60408051601f198184030181529181526020820180516001600160e01b0316630933c1ed60e01b1790525161083091906111d5565b600060405180830381855afa9150503d806000811461086b576040519150601f19603f3d011682016040523d82523d6000602084013e610870565b606091505b50915091506000821415610885573d60208201fd5b808060200190516108999190810190610ec8565b949350505050565b6108a9610615565b50565b60035461010090046001600160a01b031633146108db5760405162461bcd60e51b815260040161026490611266565b8115610915576040805160048152602481019091526020810180516001600160e01b031663153ab50560e01b17905261091390610722565b505b601080546001600160a01b038581166001600160a01b031983161790925560405191169061097a9061094b908490602401611255565b60408051601f198184030181529190526020810180516001600160e01b0316630adccee560e31b179052610722565b506010546040517fd604de94d45953f9138079ec1b82d533cb2160c906d1076d1f7ed54befbca97a916109b89184916001600160a01b03169061120c565b60405180910390a150505050565b6109ce610615565b5050565b6010546001600160a01b031681565b69d3c21bcecceda100000081565b6006546001600160a01b031681565b600e6020526000908152604090205463ffffffff1681565b600061074b610b5f565b600f6020526000908152604090205481565b6002805460408051602060018416156101000260001901909316849004601f8101849004840282018401909252818152929183018282801561071a5780601f106106ef5761010080835404028352916020019161071a565b600b5481565b60085481565b610a9e610615565b50505050505050565b604051610795906111f3565b670de0b6b3a764000081565b600d6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b606060006060846001600160a01b031684604051610b0a91906111d5565b600060405180830381855af49150503d8060008114610b45576040519150601f19603f3d011682016040523d82523d6000602084013e610b4a565b606091505b50915091506000821415610899573d60208201fd5b60606000306001600160a01b0316600036604051602401610b81929190611243565b60408051601f198184030181529181526020820180516001600160e01b0316630933c1ed60e01b17905251610bb691906111d5565b600060405180830381855afa9150503d8060008114610bf1576040519150601f19603f3d011682016040523d82523d6000602084013e610bf6565b606091505b505090506040513d6000823e818015610691573d60408301f35b803561073b81611392565b803561073b816113a6565b803561073b816113af565b600082601f830112610c4257600080fd5b8151610c55610c50826112e4565b6112bd565b91508082526020830160208301858383011115610c7157600080fd5b610c7c838284611358565b50505092915050565b600082601f830112610c9657600080fd5b8135610ca4610c50826112e4565b91508082526020830160208301858383011115610cc057600080fd5b610c7c83828461134c565b803561073b816113b8565b803561073b816113c1565b600060208284031215610cf357600080fd5b60006108998484610c10565b60008060408385031215610d1257600080fd5b6000610d1e8585610c10565b9250506020610d2f85828601610c10565b9150509250929050565b600080600060608486031215610d4e57600080fd5b6000610d5a8686610c10565b9350506020610d6b86828701610c10565b9250506040610d7c86828701610c26565b9150509250925092565b600080600060608486031215610d9b57600080fd5b6000610da78686610c10565b9350506020610db886828701610c1b565b925050604084013567ffffffffffffffff811115610dd557600080fd5b610d7c86828701610c85565b60008060408385031215610df457600080fd5b6000610e008585610c10565b9250506020610d2f85828601610c26565b60008060008060008060c08789031215610e2a57600080fd5b6000610e368989610c10565b9650506020610e4789828a01610c26565b9550506040610e5889828a01610c26565b9450506060610e6989828a01610cd6565b9350506080610e7a89828a01610c26565b92505060a0610e8b89828a01610c26565b9150509295509295509295565b60008060408385031215610eab57600080fd5b6000610eb78585610c10565b9250506020610d2f85828601610ccb565b600060208284031215610eda57600080fd5b815167ffffffffffffffff811115610ef157600080fd5b61089984828501610c31565b600060208284031215610f0f57600080fd5b813567ffffffffffffffff811115610f2657600080fd5b61089984828501610c85565b600080600060608486031215610f4757600080fd5b6000610f538686610c26565b9350506020610f6486828701610c26565b9250506040610d7c86828701610c1b565b610f7e8161131e565b82525050565b610f7e81611329565b610f7e8161132e565b6000610fa28385611310565b9350610faf83858461134c565b610fb883611388565b9093019392505050565b6000610fce8385611319565b9350610fdb83858461134c565b50500190565b6000610fec8261130c565b610ff68185611310565b9350611006818560208601611358565b610fb881611388565b600061101a8261130c565b6110248185611319565b9350611034818560208601611358565b9290920192915050565b600061104b603583611310565b7f4e4f524944656c656761746f723a3a5f736574496d706c656d656e746174696f815274371d1021b0b63632b91036bab9ba1031329033b7bb60591b602082015260400192915050565b60006110a2604383611319565b7f454950373132446f6d61696e28737472696e67206e616d652c75696e7432353681527f20636861696e49642c6164647265737320766572696679696e67436f6e74726160208201526263742960e81b604082015260430192915050565b600061110d603583611310565b7f4e4f524944656c656761746f723a66616c6c6261636b3a2063616e6e6f742073815274656e642076616c756520746f2066616c6c6261636b60581b602082015260400192915050565b6000611164603a83611319565b7f44656c65676174696f6e28616464726573732064656c6567617465652c75696e81527f74323536206e6f6e63652c75696e7432353620657870697279290000000000006020820152603a0192915050565b610f7e8161133d565b610f7e81611346565b6000610899828486610fc2565b60006111e1828461100f565b9392505050565b600061073b82611095565b600061073b82611157565b6020810161073b8284610f75565b6040810161121a8285610f75565b6111e16020830184610f75565b6020810161073b8284610f84565b6020810161073b8284610f8d565b60208082528101610899818486610f96565b602080825281016111e18184610fe1565b6020808252810161073b8161103e565b6020808252810161073b81611100565b6020810161073b82846111b6565b604081016112a282856111b6565b6111e16020830184610f8d565b6020810161073b82846111bf565b60405181810167ffffffffffffffff811182821017156112dc57600080fd5b604052919050565b600067ffffffffffffffff8211156112fb57600080fd5b506020601f91909101601f19160190565b5190565b90815260200190565b919050565b600061073b82611331565b151590565b90565b6001600160a01b031690565b63ffffffff1690565b60ff1690565b82818337506000910152565b60005b8381101561137357818101518382015260200161135b565b83811115611382576000848401525b50505050565b601f01601f191690565b61139b8161131e565b81146108a957600080fd5b61139b81611329565b61139b8161132e565b61139b8161133d565b61139b8161134656fea365627a7a72315820647d288ebc159b1aab01d33f1781d5d159174b11149eddcac035c8f0359d6f086c6578706572696d656e74616cf564736f6c63430005110040
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000cb49b44ba602d800000000000000000000000000000ce22eca51eb0d0c2e4a1953b5796646a0f99c226000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000044e4f52490000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044e4f5249000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name_ (string): NORI
Arg [1] : symbol_ (string): NORI
Arg [2] : decimals_ (uint8): 18
Arg [3] : initSupply_ (uint256): 60000000000000000000000
Arg [4] : implementation_ (address): 0xcE22eCa51eB0d0C2e4a1953B5796646A0f99c226
Arg [5] : becomeImplementationData (bytes): 0x
-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 000000000000000000000000000000000000000000000cb49b44ba602d800000
Arg [4] : 000000000000000000000000ce22eca51eb0d0c2e4a1953b5796646a0f99c226
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 4e4f524900000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [9] : 4e4f524900000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
32721:12995:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45535:9;:14;45527:79;;;;-1:-1:-1;;;45527:79:0;;;;;;;;;;;;;;;;;45686:19;:17;:19::i;:::-;;32721:12995;5655:18;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5655:18:0;;;:::i;:::-;;;;;;;;;;;;;;;;43346:141;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;43346:141:0;;;;;;;;:::i;37123:193::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;37123:193:0;;;;;;;;:::i;:::-;;;;;;;;37908:136;;8:9:-1;5:2;;;30:1;27;20:12;5:2;37908:136:0;;;:::i;:::-;;;;;;;;6143:22;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6143:22:0;;;:::i;:::-;;;;;;;;5942:18;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5942:18:0;;;:::i;6333:26::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6333:26:0;;;:::i;7562:122::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7562:122:0;;;:::i;36436:217::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;36436:217:0;;;;;;;;:::i;6040:25::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6040:25:0;;;:::i;5851:21::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5851:21:0;;;:::i;:::-;;;;;;;;40274:175;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;40274:175:0;;;;;;;;:::i;43909:434::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;43909:434:0;;;;;;;;:::i;41477:83::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;41477:83:0;;;:::i;:::-;;34547:639;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;34547:639:0;;;;;;;;:::i;39523:189::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;39523:189:0;;;;;;42047:118;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;42047:118:0;;;;;;;;:::i;30367:29::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30367:29:0;;;:::i;6450:49::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6450:49:0;;;:::i;6241:27::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6241:27:0;;;:::i;7440:49::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;7440:49:0;;;;;;;;:::i;:::-;;;;;;;;41570:197;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;41570:197:0;;;;;;;;:::i;38052:226::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;38052:226:0;;;;;;7976:39;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;7976:39:0;;;;;;;;:::i;5751:20::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5751:20:0;;;:::i;6883:25::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6883:25:0;;;:::i;6696:33::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6696:33:0;;;:::i;41775:264::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;41775:264:0;;;;;;;;:::i;39091:216::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;39091:216:0;;;;;;7778:117;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7778:117:0;;;:::i;6568:37::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6568:37:0;;;:::i;7301:70::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;7301:70:0;;;;;;;;:::i;:::-;;;;;;;;;44865:427;44955:14;;:37;;44911:12;;44937;;-1:-1:-1;;;;;44955:14:0;;;;:37;;44937:12;;44983:8;;44955:37;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;44936:56:0;;;45055:4;45049:11;45106:14;45103:1;45089:12;45074:47;45144:7;45165:47;;;;45257:14;45243:12;45236:36;45165:47;45195:14;45181:12;45174:36;5655:18;;;;;;;;;;;;;;;-1:-1:-1;;5655:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;43346:141::-;43458:14;;43415:12;;43447:32;;-1:-1:-1;;;;;43458:14:0;43474:4;43447:10;:32::i;:::-;43440:39;43346:141;-1:-1:-1;;43346:141:0:o;37123:193::-;37234:4;37289:19;:17;:19::i;:::-;;37123:193;;;;:::o;37908:136::-;37986:7;38011:25;:23;:25::i;:::-;;37908:136;:::o;6143:22::-;;;-1:-1:-1;;;;;6143:22:0;;:::o;5942:18::-;;;;;;-1:-1:-1;;;;;5942:18:0;;:::o;6333:26::-;;;;:::o;7562:122::-;7604:80;;;;;;;;;;;;;;7562:122;:::o;36436:217::-;36570:4;36626:19;:17;:19::i;:::-;;36436:217;;;;;:::o;6040:25::-;;;-1:-1:-1;;;;;6040:25:0;;:::o;5851:21::-;;;;;;:::o;40274:175::-;40368:7;40416:25;:23;:25::i;:::-;;40274:175;;;:::o;43909:434::-;43987:12;44013;44027:23;44062:4;-1:-1:-1;;;;;44054:24:0;44138:4;44079:64;;;;;;;;;;;;;-1:-1:-1;;26:21;;;22:32;6:49;;44079:64:0;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;44054:90:0;;;44079:64;44054:90;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;44012:132:0;;;;44194:1;44185:7;44182:14;44179:2;;;44246:14;44239:4;44227:10;44223:21;44216:45;44179:2;44315:10;44304:31;;;;;;;;;;;;;;44297:38;43909:434;-1:-1:-1;;;;43909:434:0:o;41477:83::-;41533:19;:17;:19::i;:::-;;41477:83::o;34547:639::-;34697:3;;;;;-1:-1:-1;;;;;34697:3:0;34683:10;:17;34675:83;;;;-1:-1:-1;;;34675:83:0;;;;;;;;;34775:11;34771:120;;;34828:50;;;22:32:-1;6:49;;34828:50:0;;;;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;34803:76:0;;:24;:76::i;:::-;;34771:120;34931:14;;;-1:-1:-1;;;;;34956:32:0;;;-1:-1:-1;;;;;;34956:32:0;;;;;;35026:81;;34931:14;;;35001:107;;35026:81;;35082:24;;35026:81;;;;;;;;-1:-1:-1;;26:21;;;22:32;6:49;;35026:81:0;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;35001:24:0;:107::i;:::-;-1:-1:-1;35163:14:0;;35126:52;;;;;;35144:17;;-1:-1:-1;;;;;35163:14:0;;35126:52;;;;;;;;;;34547:639;;;;:::o;42047:118::-;42138:19;:17;:19::i;:::-;;42047:118;:::o;30367:29::-;;;-1:-1:-1;;;;;30367:29:0;;:::o;6450:49::-;6493:6;6450:49;:::o;6241:27::-;;;-1:-1:-1;;;;;6241:27:0;;:::o;7440:49::-;;;;;;;;;;;;;;;:::o;41570:197::-;41678:7;41734:25;:23;:25::i;7976:39::-;;;;;;;;;;;;;:::o;5751:20::-;;;;;;;;;;;;;;-1:-1:-1;;5751:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6883:25;;;;:::o;6696:33::-;;;;:::o;41775:264::-;42012:19;:17;:19::i;:::-;;41775:264;;;;;;:::o;7778:117::-;7824:71;;;;;;6568:37;6599:6;6568:37;:::o;7301:70::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;42701:343::-;42774:12;42800;42814:23;42841:6;-1:-1:-1;;;;;42841:19:0;42861:4;42841:25;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;42799:67:0;;;;42916:1;42907:7;42904:14;42901:2;;;42968:14;42961:4;42949:10;42945:21;42938:45;44351:506;44408:12;44434;44460:4;-1:-1:-1;;;;;44452:24:0;44536:8;;44477:68;;;;;;;;;;;;;;-1:-1:-1;;26:21;;;22:32;6:49;;44477:68:0;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;44452:94:0;;;44477:68;44452:94;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;44433:113:0;;;44609:4;44603:11;44660:14;44657:1;44643:12;44628:47;44698:7;44719:47;;;;44822:14;44815:4;44801:12;44797:23;44790:47;5:130:-1;72:20;;97:33;72:20;97:33;;142:124;206:20;;231:30;206:20;231:30;;273:130;340:20;;365:33;340:20;365:33;;411:434;;519:3;512:4;504:6;500:17;496:27;486:2;;537:1;534;527:12;486:2;567:6;561:13;589:60;604:44;641:6;604:44;;;589:60;;;580:69;;669:6;662:5;655:21;705:4;697:6;693:17;738:4;731:5;727:16;773:3;764:6;759:3;755:16;752:25;749:2;;;790:1;787;780:12;749:2;800:39;832:6;827:3;822;800:39;;;479:366;;;;;;;;854:440;;955:3;948:4;940:6;936:17;932:27;922:2;;973:1;970;963:12;922:2;1010:6;997:20;1032:64;1047:48;1088:6;1047:48;;1032:64;1023:73;;1116:6;1109:5;1102:21;1152:4;1144:6;1140:17;1185:4;1178:5;1174:16;1220:3;1211:6;1206:3;1202:16;1199:25;1196:2;;;1237:1;1234;1227:12;1196:2;1247:41;1281:6;1276:3;1271;1247:41;;1439:128;1505:20;;1530:32;1505:20;1530:32;;1574:126;1639:20;;1664:31;1639:20;1664:31;;1707:241;;1811:2;1799:9;1790:7;1786:23;1782:32;1779:2;;;1827:1;1824;1817:12;1779:2;1862:1;1879:53;1924:7;1904:9;1879:53;;1955:366;;;2076:2;2064:9;2055:7;2051:23;2047:32;2044:2;;;2092:1;2089;2082:12;2044:2;2127:1;2144:53;2189:7;2169:9;2144:53;;;2134:63;;2106:97;2234:2;2252:53;2297:7;2288:6;2277:9;2273:22;2252:53;;;2242:63;;2213:98;2038:283;;;;;;2328:491;;;;2466:2;2454:9;2445:7;2441:23;2437:32;2434:2;;;2482:1;2479;2472:12;2434:2;2517:1;2534:53;2579:7;2559:9;2534:53;;;2524:63;;2496:97;2624:2;2642:53;2687:7;2678:6;2667:9;2663:22;2642:53;;;2632:63;;2603:98;2732:2;2750:53;2795:7;2786:6;2775:9;2771:22;2750:53;;;2740:63;;2711:98;2428:391;;;;;;2826:589;;;;2970:2;2958:9;2949:7;2945:23;2941:32;2938:2;;;2986:1;2983;2976:12;2938:2;3021:1;3038:53;3083:7;3063:9;3038:53;;;3028:63;;3000:97;3128:2;3146:50;3188:7;3179:6;3168:9;3164:22;3146:50;;;3136:60;;3107:95;3261:2;3250:9;3246:18;3233:32;3285:18;3277:6;3274:30;3271:2;;;3317:1;3314;3307:12;3271:2;3337:62;3391:7;3382:6;3371:9;3367:22;3337:62;;3422:366;;;3543:2;3531:9;3522:7;3518:23;3514:32;3511:2;;;3559:1;3556;3549:12;3511:2;3594:1;3611:53;3656:7;3636:9;3611:53;;;3601:63;;3573:97;3701:2;3719:53;3764:7;3755:6;3744:9;3740:22;3719:53;;3795:865;;;;;;;3982:3;3970:9;3961:7;3957:23;3953:33;3950:2;;;3999:1;3996;3989:12;3950:2;4034:1;4051:53;4096:7;4076:9;4051:53;;;4041:63;;4013:97;4141:2;4159:53;4204:7;4195:6;4184:9;4180:22;4159:53;;;4149:63;;4120:98;4249:2;4267:53;4312:7;4303:6;4292:9;4288:22;4267:53;;;4257:63;;4228:98;4357:2;4375:51;4418:7;4409:6;4398:9;4394:22;4375:51;;;4365:61;;4336:96;4463:3;4482:53;4527:7;4518:6;4507:9;4503:22;4482:53;;;4472:63;;4442:99;4572:3;4591:53;4636:7;4627:6;4616:9;4612:22;4591:53;;;4581:63;;4551:99;3944:716;;;;;;;;;4667:364;;;4787:2;4775:9;4766:7;4762:23;4758:32;4755:2;;;4803:1;4800;4793:12;4755:2;4838:1;4855:53;4900:7;4880:9;4855:53;;;4845:63;;4817:97;4945:2;4963:52;5007:7;4998:6;4987:9;4983:22;4963:52;;5038:352;;5158:2;5146:9;5137:7;5133:23;5129:32;5126:2;;;5174:1;5171;5164:12;5126:2;5209:24;;5253:18;5242:30;;5239:2;;;5285:1;5282;5275:12;5239:2;5305:69;5366:7;5357:6;5346:9;5342:22;5305:69;;5397:345;;5510:2;5498:9;5489:7;5485:23;5481:32;5478:2;;;5526:1;5523;5516:12;5478:2;5561:31;;5612:18;5601:30;;5598:2;;;5644:1;5641;5634:12;5598:2;5664:62;5718:7;5709:6;5698:9;5694:22;5664:62;;5749:485;;;;5884:2;5872:9;5863:7;5859:23;5855:32;5852:2;;;5900:1;5897;5890:12;5852:2;5935:1;5952:53;5997:7;5977:9;5952:53;;;5942:63;;5914:97;6042:2;6060:53;6105:7;6096:6;6085:9;6081:22;6060:53;;;6050:63;;6021:98;6150:2;6168:50;6210:7;6201:6;6190:9;6186:22;6168:50;;6241:113;6324:24;6342:5;6324:24;;;6319:3;6312:37;6306:48;;;6361:104;6438:21;6453:5;6438:21;;6472:113;6555:24;6573:5;6555:24;;6615:297;;6729:70;6792:6;6787:3;6729:70;;;6722:77;;6811:43;6847:6;6842:3;6835:5;6811:43;;;6876:29;6898:6;6876:29;;;6867:39;;;;6715:197;-1:-1;;;6715:197;6943:310;;7075:88;7156:6;7151:3;7075:88;;;7068:95;;7175:43;7211:6;7206:3;7199:5;7175:43;;;-1:-1;;7231:16;;7061:192;7261:343;;7371:38;7403:5;7371:38;;;7421:70;7484:6;7479:3;7421:70;;;7414:77;;7496:52;7541:6;7536:3;7529:4;7522:5;7518:16;7496:52;;;7569:29;7591:6;7569:29;;7611:356;;7739:38;7771:5;7739:38;;;7789:88;7870:6;7865:3;7789:88;;;7782:95;;7882:52;7927:6;7922:3;7915:4;7908:5;7904:16;7882:52;;;7946:16;;;;;7719:248;-1:-1;;7719:248;8321:390;;8481:67;8545:2;8540:3;8481:67;;;8581:34;8561:55;;-1:-1;;;8645:2;8636:12;;8629:45;8702:2;8693:12;;8467:244;-1:-1;;8467:244;8720:477;;8898:85;8980:2;8975:3;8898:85;;;9016:34;8996:55;;9085:34;9080:2;9071:12;;9064:56;-1:-1;;;9149:2;9140:12;;9133:27;9188:2;9179:12;;8884:313;-1:-1;;8884:313;9206:390;;9366:67;9430:2;9425:3;9366:67;;;9466:34;9446:55;;-1:-1;;;9530:2;9521:12;;9514:45;9587:2;9578:12;;9352:244;-1:-1;;9352:244;9605:431;;9783:85;9865:2;9860:3;9783:85;;;9901:34;9881:55;;9970:28;9965:2;9956:12;;9949:50;10027:2;10018:12;;9769:267;-1:-1;;9769:267;10164:110;10245:23;10262:5;10245:23;;10281:107;10360:22;10376:5;10360:22;;10395:282;;10549:103;10648:3;10639:6;10631;10549:103;;10684:262;;10828:93;10917:3;10908:6;10828:93;;;10821:100;10809:137;-1:-1;;;10809:137;10953:372;;11152:148;11296:3;11152:148;;11332:372;;11531:148;11675:3;11531:148;;11711:213;11829:2;11814:18;;11843:71;11818:9;11887:6;11843:71;;11931:324;12077:2;12062:18;;12091:71;12066:9;12135:6;12091:71;;;12173:72;12241:2;12230:9;12226:18;12217:6;12173:72;;12262:201;12374:2;12359:18;;12388:65;12363:9;12426:6;12388:65;;12470:213;12588:2;12573:18;;12602:71;12577:9;12646:6;12602:71;;12690:317;12836:2;12850:47;;;12821:18;;12911:86;12821:18;12983:6;12975;12911:86;;13014:297;13150:2;13164:47;;;13135:18;;13225:76;13135:18;13287:6;13225:76;;13618:407;13809:2;13823:47;;;13794:18;;13884:131;13794:18;13884:131;;14032:407;14223:2;14237:47;;;14208:18;;14298:131;14208:18;14298:131;;14666:209;14782:2;14767:18;;14796:69;14771:9;14838:6;14796:69;;14882:320;15026:2;15011:18;;15040:69;15015:9;15082:6;15040:69;;;15120:72;15188:2;15177:9;15173:18;15164:6;15120:72;;15209:205;15323:2;15308:18;;15337:67;15312:9;15377:6;15337:67;;15421:256;15483:2;15477:9;15509:17;;;15584:18;15569:34;;15605:22;;;15566:62;15563:2;;;15641:1;15638;15631:12;15563:2;15657;15650:22;15461:216;;-1:-1;15461:216;15684:317;;15823:18;15815:6;15812:30;15809:2;;;15855:1;15852;15845:12;15809:2;-1:-1;15986:4;15922;15899:17;;;;-1:-1;;15895:33;15976:15;;15746:255;16336:121;16423:12;;16394:63;16590:162;16692:19;;;16741:4;16732:14;;16685:67;16761:144;16896:3;16874:31;-1:-1;16874:31;17239:91;;17301:24;17319:5;17301:24;;17337:85;17403:13;17396:21;;17379:43;17429:72;17491:5;17474:27;17508:121;-1:-1;;;;;17570:54;;17553:76;17715:88;17787:10;17776:22;;17759:44;17810:81;17881:4;17870:16;;17853:38;17899:145;17980:6;17975:3;17970;17957:30;-1:-1;18036:1;18018:16;;18011:27;17950:94;18053:268;18118:1;18125:101;18139:6;18136:1;18133:13;18125:101;;;18206:11;;;18200:18;18187:11;;;18180:39;18161:2;18154:10;18125:101;;;18241:6;18238:1;18235:13;18232:2;;;18306:1;18297:6;18292:3;18288:16;18281:27;18232:2;18102:219;;;;;18329:97;18417:2;18397:14;-1:-1;;18393:28;;18377:49;18434:117;18503:24;18521:5;18503:24;;;18496:5;18493:35;18483:2;;18542:1;18539;18532:12;18558:111;18624:21;18639:5;18624:21;;18676:117;18745:24;18763:5;18745:24;;18924:115;18992:23;19009:5;18992:23;;19046:113;19113:22;19129:5;19113:22;
Swarm Source
bzzr://647d288ebc159b1aab01d33f1781d5d159174b11149eddcac035c8f0359d6f08
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.