ETH Price: $3,415.60 (+3.00%)

Contract

0x38c4102D11893351cED7eF187fCF43D33eb1aBE6
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve214515772024-12-21 14:47:472 days ago1734792467IN
Shrimp.Finance: SHRIMP Token
0 ETH0.0006237212.05663529
Approve213628762024-12-09 5:33:2314 days ago1733722403IN
Shrimp.Finance: SHRIMP Token
0 ETH0.000508869.83642997
Approve213484232024-12-07 5:06:4717 days ago1733548007IN
Shrimp.Finance: SHRIMP Token
0 ETH0.0007652614.79254935
Approve212077442024-11-17 13:32:1136 days ago1731850331IN
Shrimp.Finance: SHRIMP Token
0 ETH0.0005931711.47939548
Approve212039012024-11-17 0:39:3537 days ago1731803975IN
Shrimp.Finance: SHRIMP Token
0 ETH0.0006260712.11601092
Approve212034922024-11-16 23:17:1137 days ago1731799031IN
Shrimp.Finance: SHRIMP Token
0 ETH0.0006052711.7134754
Approve212034682024-11-16 23:12:2337 days ago1731798743IN
Shrimp.Finance: SHRIMP Token
0 ETH0.0007814315.10520876
Approve212033732024-11-16 22:53:2337 days ago1731797603IN
Shrimp.Finance: SHRIMP Token
0 ETH0.0006799613.14365172
Approve208425462024-09-27 14:25:5987 days ago1727447159IN
Shrimp.Finance: SHRIMP Token
0 ETH0.0007316424.84445292
Approve205831502024-08-22 9:08:11123 days ago1724317691IN
Shrimp.Finance: SHRIMP Token
0 ETH0.000034891.18496948
Approve205831482024-08-22 9:07:47123 days ago1724317667IN
Shrimp.Finance: SHRIMP Token
0 ETH0.000032111.09067125
Approve205831462024-08-22 9:07:23123 days ago1724317643IN
Shrimp.Finance: SHRIMP Token
0 ETH0.000035331.19974713
Approve205405462024-08-16 10:18:23129 days ago1723803503IN
Shrimp.Finance: SHRIMP Token
0 ETH0.000054811.8613376
Approve201485312024-06-22 16:47:47184 days ago1719074867IN
Shrimp.Finance: SHRIMP Token
0 ETH0.000133684.53940617
Approve201116852024-06-17 13:04:23189 days ago1718629463IN
Shrimp.Finance: SHRIMP Token
0 ETH0.00028555.54833736
Approve196374492024-04-12 5:30:35255 days ago1712899835IN
Shrimp.Finance: SHRIMP Token
0 ETH0.0003626512.31457286
Approve192109482024-02-12 9:07:23315 days ago1707728843IN
Shrimp.Finance: SHRIMP Token
0 ETH0.0006092920.68996076
Approve191795332024-02-07 23:16:59320 days ago1707347819IN
Shrimp.Finance: SHRIMP Token
0 ETH0.0017838734.48236662
Transfer186508812023-11-25 19:46:23394 days ago1700941583IN
Shrimp.Finance: SHRIMP Token
0 ETH0.0013159522.2541563
Approve182759422023-10-04 8:23:47446 days ago1696407827IN
Shrimp.Finance: SHRIMP Token
0 ETH0.00038597.50301799
Approve176750422023-07-12 4:13:35531 days ago1689135215IN
Shrimp.Finance: SHRIMP Token
0 ETH0.0004148414.08706108
Approve176397752023-07-07 5:12:47536 days ago1688706767IN
Shrimp.Finance: SHRIMP Token
0 ETH0.0007848426.65085328
Approve176397322023-07-07 5:03:59536 days ago1688706239IN
Shrimp.Finance: SHRIMP Token
0 ETH0.0007915826.87975345
Approve175024152023-06-17 22:09:59555 days ago1687039799IN
Shrimp.Finance: SHRIMP Token
0 ETH0.0004311214.63962783
Approve172777622023-05-17 7:04:35586 days ago1684307075IN
Shrimp.Finance: SHRIMP Token
0 ETH0.0011547839.21314358
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SHRIMPDelegator

Compiler Version
v0.5.17+commit.d19bba13

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-08-13
*/

/**
 *Submitted for verification at Etherscan.io on 2020-08-13
*/

/**
 *Submitted for verification at Etherscan.io on 2020-08-11
*/

pragma solidity 0.5.17;


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;
    }
}


contract YAMTokenStorage {

    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 YAM protocol
     */
    address public incentivizer;

    /**
     * @notice Total supply of YAMs
     */
    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 yamsScalingFactor;

    mapping (address => uint256) internal _yamBalances;

    mapping (address => mapping (address => uint256)) internal _allowedFragments;

    uint256 public initSupply;

}


contract YAMGovernanceStorage {
    /// @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 YAMTokenInterface is YAMTokenStorage, YAMGovernanceStorage {

    /// @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 prevYamsScalingFactor, uint256 newYamsScalingFactor);

    /*** 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 YAMDelegationStorage {
    /**
     * @notice Implementation address for this contract
     */
    address public implementation;
}

contract YAMDelegatorInterface is YAMDelegationStorage {
    /**
     * @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 SHRIMPDelegator is YAMTokenInterface, YAMDelegatorInterface {
    // /**
    //  * @notice Construct a new YAM
    //  * @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(
            0x9468dec2e19240d6E287f27e1d757Ae7b9f15F7d,
            abi.encodeWithSignature(
                "initialize(string,string,uint8,address,uint256)",
                // name_,
                // symbol_,
                // decimals_,
                // msg.sender,
                // initSupply_
                "SHRIMP.FINANCE",
                "SHRIMP",
                18,
                msg.sender,
                1e22
            )
        );

        // New implementations always get set via the settor (post-initialize)
        _setImplementation(0x9468dec2e19240d6E287f27e1d757Ae7b9f15F7d, false, "");

    }

    /**
     * @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, "YAMDelegator::_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,"YAMDelegator:fallback: cannot send value to fallback");

        // delegate all other functions to current implementation
        delegateAndReturn();
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"prevYamsScalingFactor","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newYamsScalingFactor","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":[{"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"},{"constant":true,"inputs":[],"name":"yamsScalingFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b5060038054610100600160a81b031916336101008102919091179091556040805160126064820152608481019290925269021e19e0c9bab240000060a483015260a06024830152600e60c48301526d534852494d502e46494e414e434560901b60e483015260e060448301526006610104830152650534852494d560d41b61012480840191909152815180840390910181526101449092019052602081018051636c94522160e01b6001600160e01b0391821617909152620000ea91739468dec2e19240d6e287f27e1d757ae7b9f15f7d916200012816565b5062000122739468dec2e19240d6e287f27e1d757ae7b9f15f7d600060405180602001604052806000815250620001ef60201b60201c565b620003d0565b606060006060846001600160a01b0316846040518082805190602001908083835b602083106200016a5780518252601f19909201916020918201910162000149565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114620001cc576040519150601f19603f3d011682016040523d82523d6000602084013e620001d1565b606091505b50915091506000821415620001e7573d60208201fd5b949350505050565b60035461010090046001600160a01b031633146200023f5760405162461bcd60e51b81526004018080602001828103825260348152602001806200177e6034913960400191505060405180910390fd5b811562000281576040805160048152602481019091526020810180516001600160e01b0390811663153ab50560e01b179091526200027f9190620003a616565b505b601080546001600160a01b038581166001600160a01b0319831617909255604051602060248201818152855160448401528551949093169362000357938693909283926064909201919085019080838360005b83811015620002ee578181015183820152602001620002d4565b50505050905090810190601f1680156200031c5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b03908116630adccee560e31b17909152909350620003a616915050565b50601054604080516001600160a01b038085168252909216602083015280517fd604de94d45953f9138079ec1b82d533cb2160c906d1076d1f7ed54befbca97a9281900390910190a150505050565b601054606090620003ca906001600160a01b0316836001600160e01b036200012816565b92915050565b61139e80620003e06000396000f3fe6080604052600436106102465760003560e01c806364dd48f51161013957806398dca210116100b6578063c3cda5201161007a578063c3cda520146108b7578063dd62ed3e1461090b578063e7a324dc14610946578063ec342ad01461095b578063f1127ed814610970578063fa8f34551461071657610246565b806398dca21014610716578063a457c2d7146103c9578063a9059cbb146103c9578063b4b5ea5714610530578063b6fa8576146108a257610246565b8063782d6fe1116100fd578063782d6fe1146107d45780637af548c11461080d5780637ecebe001461084557806395d89b411461087857806397d63f931461088d57610246565b806364dd48f51461075e5780636fc6407c146107735780636fcfff451461078857806370a082311461053057806373f03dff1461071657610246565b8063313ce567116101c75780634bda2e201161018b5780634bda2e2014610614578063555bcc401461062b578063587cde1e146106f35780635c19a95c146107165780635c60da1b1461074957610246565b8063313ce5671461050557806339509351146103c95780633af9e6691461053057806340c10f19146103c95780634487152f1461056357610246565b806312d43a511161020e57806312d43a511461046e57806318160ddd1461048357806320606b701461049857806323b872dd146104ad57806325240810146104f057610246565b806306fdde031461028e5780630933c1ed14610318578063095ea7b3146103c957806311d3e6c41461041657806311fd8a831461043d575b34156102835760405162461bcd60e51b81526004018080602001828103825260348152602001806112b96034913960400191505060405180910390fd5b61028b6109cf565b50005b34801561029a57600080fd5b506102a3610a57565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102dd5781810151838201526020016102c5565b50505050905090810190601f16801561030a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561032457600080fd5b506102a36004803603602081101561033b57600080fd5b810190602081018135600160201b81111561035557600080fd5b82018360208201111561036757600080fd5b803590602001918460018302840111600160201b8311171561038857600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610ae4945050505050565b3480156103d557600080fd5b50610402600480360360408110156103ec57600080fd5b506001600160a01b038135169060200135610b03565b604080519115158252519081900360200190f35b34801561042257600080fd5b5061042b610b14565b60408051918252519081900360200190f35b34801561044957600080fd5b50610452610b22565b604080516001600160a01b039092168252519081900360200190f35b34801561047a57600080fd5b50610452610b31565b34801561048f57600080fd5b5061042b610b45565b3480156104a457600080fd5b5061042b610b4b565b3480156104b957600080fd5b50610402600480360360608110156104d057600080fd5b506001600160a01b03813581169160208101359091169060400135610b66565b3480156104fc57600080fd5b50610452610b78565b34801561051157600080fd5b5061051a610b87565b6040805160ff9092168252519081900360200190f35b34801561053c57600080fd5b5061042b6004803603602081101561055357600080fd5b50356001600160a01b0316610b90565b34801561056f57600080fd5b506102a36004803603602081101561058657600080fd5b810190602081018135600160201b8111156105a057600080fd5b8201836020820111156105b257600080fd5b803590602001918460018302840111600160201b831117156105d357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610ba0945050505050565b34801561062057600080fd5b50610629610dbf565b005b34801561063757600080fd5b506106296004803603606081101561064e57600080fd5b6001600160a01b03823516916020810135151591810190606081016040820135600160201b81111561067f57600080fd5b82018360208201111561069157600080fd5b803590602001918460018302840111600160201b831117156106b257600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610dca945050505050565b3480156106ff57600080fd5b506104526004803603602081101561055357600080fd5b34801561072257600080fd5b506106296004803603602081101561073957600080fd5b50356001600160a01b0316610f6d565b34801561075557600080fd5b50610452610f79565b34801561076a57600080fd5b5061042b610f88565b34801561077f57600080fd5b50610452610f96565b34801561079457600080fd5b506107bb600480360360208110156107ab57600080fd5b50356001600160a01b0316610fa5565b6040805163ffffffff9092168252519081900360200190f35b3480156107e057600080fd5b5061042b600480360360408110156107f757600080fd5b506001600160a01b038135169060200135610fbd565b34801561081957600080fd5b5061042b6004803603606081101561083057600080fd5b50803590602081013590604001351515610b66565b34801561085157600080fd5b5061042b6004803603602081101561086857600080fd5b50356001600160a01b0316610fc7565b34801561088457600080fd5b506102a3610fd9565b34801561089957600080fd5b5061042b611031565b3480156108ae57600080fd5b5061042b611037565b3480156108c357600080fd5b50610629600480360360c08110156108da57600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a0013561103d565b34801561091757600080fd5b5061042b6004803603604081101561092e57600080fd5b506001600160a01b0381358116916020013516610fbd565b34801561095257600080fd5b5061042b61104e565b34801561096757600080fd5b5061042b611069565b34801561097c57600080fd5b506109af6004803603604081101561099357600080fd5b5080356001600160a01b0316906020013563ffffffff16611075565b6040805163ffffffff909316835260208301919091528051918290030190f35b6010546040516060916000916001600160a01b0390911690829036908083838082843760405192019450600093509091505080830381855af49150503d8060008114610a37576040519150601f19603f3d011682016040523d82523d6000602084013e610a3c565b606091505b505090506040513d6000823e818015610a53573d82f35b3d82fd5b60018054604080516020600284861615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610adc5780601f10610ab157610100808354040283529160200191610adc565b820191906000526020600020905b815481529060010190602001808311610abf57829003601f168201915b505050505081565b601054606090610afd906001600160a01b0316836110a2565b92915050565b6000610b0d6109cf565b5092915050565b6000610b1e611164565b5090565b6005546001600160a01b031681565b60035461010090046001600160a01b031681565b60075481565b6040518060436112ed82396043019050604051809103902081565b6000610b706109cf565b509392505050565b6004546001600160a01b031681565b60035460ff1681565b6000610b9a611164565b50919050565b606060006060306001600160a01b0316846040516024018080602001828103825283818151815260200191508051906020019080838360005b83811015610bf1578181015183820152602001610bd9565b50505050905090810190601f168015610c1e5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b0316630933c1ed60e01b178152905182519295509350839250908083835b60208310610c795780518252601f199092019160209182019101610c5a565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114610cd9576040519150601f19603f3d011682016040523d82523d6000602084013e610cde565b606091505b50915091506000821415610cf3573d60208201fd5b808060200190516020811015610d0857600080fd5b8101908080516040519392919084600160201b821115610d2757600080fd5b908301906020820185811115610d3c57600080fd5b8251600160201b811182820188101715610d5557600080fd5b82525081516020918201929091019080838360005b83811015610d82578181015183820152602001610d6a565b50505050905090810190601f168015610daf5780820380516001836020036101000a031916815260200191505b5060405250505092505050919050565b610dc76109cf565b50565b60035461010090046001600160a01b03163314610e185760405162461bcd60e51b81526004018080602001828103825260348152602001806112856034913960400191505060405180910390fd5b8115610e52576040805160048152602481019091526020810180516001600160e01b031663153ab50560e01b179052610e5090610ae4565b505b601080546001600160a01b038581166001600160a01b03198316179092556040516020602482018181528551604484015285519490931693610f1e938693909283926064909201919085019080838360005b83811015610ebc578181015183820152602001610ea4565b50505050905090810190601f168015610ee95780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b0316630adccee560e31b1790529250610ae4915050565b50601054604080516001600160a01b038085168252909216602083015280517fd604de94d45953f9138079ec1b82d533cb2160c906d1076d1f7ed54befbca97a9281900390910190a150505050565b610f756109cf565b5050565b6010546001600160a01b031681565b69d3c21bcecceda100000081565b6006546001600160a01b031681565b600e6020526000908152604090205463ffffffff1681565b6000610b0d611164565b600f6020526000908152604090205481565b6002805460408051602060018416156101000260001901909316849004601f81018490048402820184019092528181529291830182828015610adc5780601f10610ab157610100808354040283529160200191610adc565b600b5481565b60085481565b6110456109cf565b50505050505050565b60405180603a6113308239603a019050604051809103902081565b670de0b6b3a764000081565b600d6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b606060006060846001600160a01b0316846040518082805190602001908083835b602083106110e25780518252601f1990920191602091820191016110c3565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114611142576040519150601f19603f3d011682016040523d82523d6000602084013e611147565b606091505b5091509150600082141561115c573d60208201fd5b949350505050565b60606000306001600160a01b03166000366040516024018080602001828103825284848281815260200192508082843760008382015260408051601f909201601f1990811690940182810390940182529283526020810180516001600160e01b0316630933c1ed60e01b17815292518151919750955085945091925081905083835b602083106112055780518252601f1990920191602091820191016111e6565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114611265576040519150601f19603f3d011682016040523d82523d6000602084013e61126a565b606091505b505090506040513d6000823e818015610a53573d60408301f3fe59414d44656c656761746f723a3a5f736574496d706c656d656e746174696f6e3a2043616c6c6572206d75737420626520676f7659414d44656c656761746f723a66616c6c6261636b3a2063616e6e6f742073656e642076616c756520746f2066616c6c6261636b454950373132446f6d61696e28737472696e67206e616d652c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e74726163742944656c65676174696f6e28616464726573732064656c6567617465652c75696e74323536206e6f6e63652c75696e743235362065787069727929a265627a7a72315820ba208db35b2efb4a82aefb63e5081cdea89189c0c3d2ca473c1ff79682e1f70c64736f6c6343000511003259414d44656c656761746f723a3a5f736574496d706c656d656e746174696f6e3a2043616c6c6572206d75737420626520676f76

Deployed Bytecode

0x6080604052600436106102465760003560e01c806364dd48f51161013957806398dca210116100b6578063c3cda5201161007a578063c3cda520146108b7578063dd62ed3e1461090b578063e7a324dc14610946578063ec342ad01461095b578063f1127ed814610970578063fa8f34551461071657610246565b806398dca21014610716578063a457c2d7146103c9578063a9059cbb146103c9578063b4b5ea5714610530578063b6fa8576146108a257610246565b8063782d6fe1116100fd578063782d6fe1146107d45780637af548c11461080d5780637ecebe001461084557806395d89b411461087857806397d63f931461088d57610246565b806364dd48f51461075e5780636fc6407c146107735780636fcfff451461078857806370a082311461053057806373f03dff1461071657610246565b8063313ce567116101c75780634bda2e201161018b5780634bda2e2014610614578063555bcc401461062b578063587cde1e146106f35780635c19a95c146107165780635c60da1b1461074957610246565b8063313ce5671461050557806339509351146103c95780633af9e6691461053057806340c10f19146103c95780634487152f1461056357610246565b806312d43a511161020e57806312d43a511461046e57806318160ddd1461048357806320606b701461049857806323b872dd146104ad57806325240810146104f057610246565b806306fdde031461028e5780630933c1ed14610318578063095ea7b3146103c957806311d3e6c41461041657806311fd8a831461043d575b34156102835760405162461bcd60e51b81526004018080602001828103825260348152602001806112b96034913960400191505060405180910390fd5b61028b6109cf565b50005b34801561029a57600080fd5b506102a3610a57565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102dd5781810151838201526020016102c5565b50505050905090810190601f16801561030a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561032457600080fd5b506102a36004803603602081101561033b57600080fd5b810190602081018135600160201b81111561035557600080fd5b82018360208201111561036757600080fd5b803590602001918460018302840111600160201b8311171561038857600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610ae4945050505050565b3480156103d557600080fd5b50610402600480360360408110156103ec57600080fd5b506001600160a01b038135169060200135610b03565b604080519115158252519081900360200190f35b34801561042257600080fd5b5061042b610b14565b60408051918252519081900360200190f35b34801561044957600080fd5b50610452610b22565b604080516001600160a01b039092168252519081900360200190f35b34801561047a57600080fd5b50610452610b31565b34801561048f57600080fd5b5061042b610b45565b3480156104a457600080fd5b5061042b610b4b565b3480156104b957600080fd5b50610402600480360360608110156104d057600080fd5b506001600160a01b03813581169160208101359091169060400135610b66565b3480156104fc57600080fd5b50610452610b78565b34801561051157600080fd5b5061051a610b87565b6040805160ff9092168252519081900360200190f35b34801561053c57600080fd5b5061042b6004803603602081101561055357600080fd5b50356001600160a01b0316610b90565b34801561056f57600080fd5b506102a36004803603602081101561058657600080fd5b810190602081018135600160201b8111156105a057600080fd5b8201836020820111156105b257600080fd5b803590602001918460018302840111600160201b831117156105d357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610ba0945050505050565b34801561062057600080fd5b50610629610dbf565b005b34801561063757600080fd5b506106296004803603606081101561064e57600080fd5b6001600160a01b03823516916020810135151591810190606081016040820135600160201b81111561067f57600080fd5b82018360208201111561069157600080fd5b803590602001918460018302840111600160201b831117156106b257600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610dca945050505050565b3480156106ff57600080fd5b506104526004803603602081101561055357600080fd5b34801561072257600080fd5b506106296004803603602081101561073957600080fd5b50356001600160a01b0316610f6d565b34801561075557600080fd5b50610452610f79565b34801561076a57600080fd5b5061042b610f88565b34801561077f57600080fd5b50610452610f96565b34801561079457600080fd5b506107bb600480360360208110156107ab57600080fd5b50356001600160a01b0316610fa5565b6040805163ffffffff9092168252519081900360200190f35b3480156107e057600080fd5b5061042b600480360360408110156107f757600080fd5b506001600160a01b038135169060200135610fbd565b34801561081957600080fd5b5061042b6004803603606081101561083057600080fd5b50803590602081013590604001351515610b66565b34801561085157600080fd5b5061042b6004803603602081101561086857600080fd5b50356001600160a01b0316610fc7565b34801561088457600080fd5b506102a3610fd9565b34801561089957600080fd5b5061042b611031565b3480156108ae57600080fd5b5061042b611037565b3480156108c357600080fd5b50610629600480360360c08110156108da57600080fd5b506001600160a01b038135169060208101359060408101359060ff6060820135169060808101359060a0013561103d565b34801561091757600080fd5b5061042b6004803603604081101561092e57600080fd5b506001600160a01b0381358116916020013516610fbd565b34801561095257600080fd5b5061042b61104e565b34801561096757600080fd5b5061042b611069565b34801561097c57600080fd5b506109af6004803603604081101561099357600080fd5b5080356001600160a01b0316906020013563ffffffff16611075565b6040805163ffffffff909316835260208301919091528051918290030190f35b6010546040516060916000916001600160a01b0390911690829036908083838082843760405192019450600093509091505080830381855af49150503d8060008114610a37576040519150601f19603f3d011682016040523d82523d6000602084013e610a3c565b606091505b505090506040513d6000823e818015610a53573d82f35b3d82fd5b60018054604080516020600284861615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610adc5780601f10610ab157610100808354040283529160200191610adc565b820191906000526020600020905b815481529060010190602001808311610abf57829003601f168201915b505050505081565b601054606090610afd906001600160a01b0316836110a2565b92915050565b6000610b0d6109cf565b5092915050565b6000610b1e611164565b5090565b6005546001600160a01b031681565b60035461010090046001600160a01b031681565b60075481565b6040518060436112ed82396043019050604051809103902081565b6000610b706109cf565b509392505050565b6004546001600160a01b031681565b60035460ff1681565b6000610b9a611164565b50919050565b606060006060306001600160a01b0316846040516024018080602001828103825283818151815260200191508051906020019080838360005b83811015610bf1578181015183820152602001610bd9565b50505050905090810190601f168015610c1e5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b0316630933c1ed60e01b178152905182519295509350839250908083835b60208310610c795780518252601f199092019160209182019101610c5a565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114610cd9576040519150601f19603f3d011682016040523d82523d6000602084013e610cde565b606091505b50915091506000821415610cf3573d60208201fd5b808060200190516020811015610d0857600080fd5b8101908080516040519392919084600160201b821115610d2757600080fd5b908301906020820185811115610d3c57600080fd5b8251600160201b811182820188101715610d5557600080fd5b82525081516020918201929091019080838360005b83811015610d82578181015183820152602001610d6a565b50505050905090810190601f168015610daf5780820380516001836020036101000a031916815260200191505b5060405250505092505050919050565b610dc76109cf565b50565b60035461010090046001600160a01b03163314610e185760405162461bcd60e51b81526004018080602001828103825260348152602001806112856034913960400191505060405180910390fd5b8115610e52576040805160048152602481019091526020810180516001600160e01b031663153ab50560e01b179052610e5090610ae4565b505b601080546001600160a01b038581166001600160a01b03198316179092556040516020602482018181528551604484015285519490931693610f1e938693909283926064909201919085019080838360005b83811015610ebc578181015183820152602001610ea4565b50505050905090810190601f168015610ee95780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b0316630adccee560e31b1790529250610ae4915050565b50601054604080516001600160a01b038085168252909216602083015280517fd604de94d45953f9138079ec1b82d533cb2160c906d1076d1f7ed54befbca97a9281900390910190a150505050565b610f756109cf565b5050565b6010546001600160a01b031681565b69d3c21bcecceda100000081565b6006546001600160a01b031681565b600e6020526000908152604090205463ffffffff1681565b6000610b0d611164565b600f6020526000908152604090205481565b6002805460408051602060018416156101000260001901909316849004601f81018490048402820184019092528181529291830182828015610adc5780601f10610ab157610100808354040283529160200191610adc565b600b5481565b60085481565b6110456109cf565b50505050505050565b60405180603a6113308239603a019050604051809103902081565b670de0b6b3a764000081565b600d6020908152600092835260408084209091529082529020805460019091015463ffffffff9091169082565b606060006060846001600160a01b0316846040518082805190602001908083835b602083106110e25780518252601f1990920191602091820191016110c3565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114611142576040519150601f19603f3d011682016040523d82523d6000602084013e611147565b606091505b5091509150600082141561115c573d60208201fd5b949350505050565b60606000306001600160a01b03166000366040516024018080602001828103825284848281815260200192508082843760008382015260408051601f909201601f1990811690940182810390940182529283526020810180516001600160e01b0316630933c1ed60e01b17815292518151919750955085945091925081905083835b602083106112055780518252601f1990920191602091820191016111e6565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114611265576040519150601f19603f3d011682016040523d82523d6000602084013e61126a565b606091505b505090506040513d6000823e818015610a53573d60408301f3fe59414d44656c656761746f723a3a5f736574496d706c656d656e746174696f6e3a2043616c6c6572206d75737420626520676f7659414d44656c656761746f723a66616c6c6261636b3a2063616e6e6f742073656e642076616c756520746f2066616c6c6261636b454950373132446f6d61696e28737472696e67206e616d652c75696e7432353620636861696e49642c6164647265737320766572696679696e67436f6e74726163742944656c65676174696f6e28616464726573732064656c6567617465652c75696e74323536206e6f6e63652c75696e743235362065787069727929a265627a7a72315820ba208db35b2efb4a82aefb63e5081cdea89189c0c3d2ca473c1ff79682e1f70c64736f6c63430005110032

Deployed Bytecode Sourcemap

11692:13218:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24730:9;:14;24722:78;;;;-1:-1:-1;;;24722:78:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24880:19;:17;:19::i;:::-;;11692:13218;5155:18;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5155:18:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;5155:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22541:141;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22541:141:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;22541:141:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;22541:141:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;22541:141:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;22541:141:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;22541:141:0;;-1:-1:-1;22541:141:0;;-1:-1:-1;;;;;22541:141:0:i;16318:193::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;16318:193:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;16318:193:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;17103:136;;8:9:-1;5:2;;;30:1;27;20:12;5:2;17103:136:0;;;:::i;:::-;;;;;;;;;;;;;;;;5643:22;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5643:22:0;;;:::i;:::-;;;;-1:-1:-1;;;;;5643:22:0;;;;;;;;;;;;;;5442:18;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5442:18:0;;;:::i;5831:26::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5831:26:0;;;:::i;7059:122::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7059:122:0;;;:::i;15631:217::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;15631:217:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;15631:217:0;;;;;;;;;;;;;;;;;:::i;5540:25::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5540:25:0;;;:::i;5351:21::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5351:21:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;19469:175;;8:9:-1;5:2;;;30:1;27;20:12;5:2;19469:175:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;19469:175:0;-1:-1:-1;;;;;19469:175:0;;:::i;23104:434::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23104:434:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;23104:434:0;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;23104:434:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;23104:434:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;23104:434:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;23104:434:0;;-1:-1:-1;23104:434:0;;-1:-1:-1;;;;;23104:434:0:i;20672:83::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20672:83:0;;;:::i;:::-;;13743:638;;8:9:-1;5:2;;;30:1;27;20:12;5:2;13743:638:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;13743:638:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;13743:638:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;13743:638:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;13743:638:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;13743:638:0;;-1:-1:-1;13743:638:0;;-1:-1:-1;;;;;13743:638:0:i;18718:189::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;18718:189:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;21242:118:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21242:118:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21242:118:0;-1:-1:-1;;;;;21242:118:0;;:::i;10919:29::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;10919:29:0;;;:::i;5948:49::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5948:49:0;;;:::i;5740:27::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5740:27:0;;;:::i;6937:49::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6937:49:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6937:49:0;-1:-1:-1;;;;;6937:49:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;20765:197;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20765:197:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;20765:197:0;;;;;;;;:::i;17247:226::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;17247:226:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17247:226:0;;;;;;;;;;;;;;:::i;7473:39::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7473:39:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;7473:39:0;-1:-1:-1;;;;;7473:39:0;;:::i;5251:20::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5251:20:0;;;:::i;6379:25::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6379:25:0;;;:::i;6194:32::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6194:32:0;;;:::i;20970:264::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;20970:264:0;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;20970:264:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;18286:216::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;18286:216:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;18286:216:0;;;;;;;;;;:::i;7275:117::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7275:117:0;;;:::i;6066:37::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6066:37:0;;;:::i;6798:70::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6798:70:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6798:70:0;;-1:-1:-1;;;;;6798:70:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;24060:427;24150:14;;:37;;24106:12;;24132;;-1:-1:-1;;;;;24150:14:0;;;;24132:12;;24178:8;;24150:37;24132:12;24178:8;;24132:12;24150:37;1:33:-1;24150:37:0;;45:16:-1;;;-1:-1;24150:37:0;;-1:-1:-1;24150:37:0;;-1:-1:-1;;24150:37:0;;;;;;;;;;;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;;24131:56:0;;;24250:4;24244:11;24301:14;24298:1;24284:12;24269:47;24339:7;24360:47;;;;24452:14;24438:12;24431:36;24360:47;24390:14;24376:12;24369:36;5155:18;;;;;;;;;;;;;;;-1:-1:-1;;5155:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;22541:141::-;22653:14;;22610:12;;22642:32;;-1:-1:-1;;;;;22653:14:0;22669:4;22642:10;:32::i;:::-;22635:39;22541:141;-1:-1:-1;;22541:141:0:o;16318:193::-;16429:4;16484:19;:17;:19::i;:::-;;16318:193;;;;:::o;17103:136::-;17181:7;17206:25;:23;:25::i;:::-;;17103:136;:::o;5643:22::-;;;-1:-1:-1;;;;;5643:22:0;;:::o;5442:18::-;;;;;;-1:-1:-1;;;;;5442:18:0;;:::o;5831:26::-;;;;:::o;7059:122::-;7101:80;;;;;;;;;;;;;;;;;;7059:122;:::o;15631:217::-;15765:4;15821:19;:17;:19::i;:::-;;15631:217;;;;;:::o;5540:25::-;;;-1:-1:-1;;;;;5540:25:0;;:::o;5351:21::-;;;;;;:::o;19469:175::-;19563:7;19611:25;:23;:25::i;:::-;;19469:175;;;:::o;23104:434::-;23182:12;23208;23222:23;23257:4;-1:-1:-1;;;;;23249:24:0;23333:4;23274:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;23274:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;23274:64:0;;;-1:-1:-1;;26:21;;;22:32;6:49;;23274:64:0;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;23249:90:0;;;;23274:64;;-1:-1:-1;23249:90:0;-1:-1:-1;23249:90:0;;-1:-1:-1;25:18;23249:90:0;;25:18:-1;36:153;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;23249:90:0;;;;;;;;;;;;;;;;;;;;;;;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;;23207:132:0;;;;23389:1;23380:7;23377:14;23374:2;;;23441:14;23434:4;23422:10;23418:21;23411:45;23374:2;23510:10;23499:31;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;23499:31:0;;;;;;;;;;;;;-1:-1:-1;;;14:3;11:20;8:2;;;44:1;41;34:12;8:2;62:21;;;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;213:10;;-1:-1;;;244:29;;285:43;;;282:58;-1:-1;233:115;230:2;;;361:1;358;351:12;230:2;372:25;;-1:-1;23499:31:0;;420:4:-1;411:14;;;;23499:31:0;;;;;411:14:-1;23499:31:0;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;23499:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23492:38;;;;23104:434;;;:::o;20672:83::-;20728:19;:17;:19::i;:::-;;20672:83::o;13743:638::-;13893:3;;;;;-1:-1:-1;;;;;13893:3:0;13879:10;:17;13871:82;;;;-1:-1:-1;;;13871:82:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13970:11;13966:120;;;14023:50;;;22:32:-1;6:49;;14023:50:0;;;;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;13998:76:0;;:24;:76::i;:::-;;13966:120;14126:14;;;-1:-1:-1;;;;;14151:32:0;;;-1:-1:-1;;;;;;14151:32:0;;;;;;14221:81;;;;;;;;;;;;;;;;;14126:14;;;;;14196:107;;14277:24;;14221:81;;;;;;;;;;;;;;;;14098:25;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;14221:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;14221:81:0;;;-1:-1:-1;;26:21;;;22:32;6:49;;14221:81:0;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;14221:81:0;-1:-1:-1;14196:24:0;;-1:-1:-1;;14196:107:0:i;:::-;-1:-1:-1;14358:14:0;;14321:52;;;-1:-1:-1;;;;;14321:52:0;;;;;14358:14;;;14321:52;;;;;;;;;;;;;;;;13743:638;;;;:::o;21242:118::-;21333:19;:17;:19::i;:::-;;21242:118;:::o;10919:29::-;;;-1:-1:-1;;;;;10919:29:0;;:::o;5948:49::-;5991:6;5948:49;:::o;5740:27::-;;;-1:-1:-1;;;;;5740:27:0;;:::o;6937:49::-;;;;;;;;;;;;;;;:::o;20765:197::-;20873:7;20929:25;:23;:25::i;7473:39::-;;;;;;;;;;;;;:::o;5251:20::-;;;;;;;;;;;;;;-1:-1:-1;;5251:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6379:25;;;;:::o;6194:32::-;;;;:::o;20970:264::-;21207:19;:17;:19::i;:::-;;20970:264;;;;;;:::o;7275:117::-;7321:71;;;;;;;;;;;;;;;;;;7275:117;:::o;6066:37::-;6097:6;6066:37;:::o;6798:70::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;21896:343::-;21969:12;21995;22009:23;22036:6;-1:-1:-1;;;;;22036:19:0;22056:4;22036:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;22036:25:0;;;;;;;;;;;;;;;;;;;;;;;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;;21994:67:0;;;;22111:1;22102:7;22099:14;22096:2;;;22163:14;22156:4;22144:10;22140:21;22133:45;22096:2;22221:10;21896:343;-1:-1:-1;;;;21896:343:0:o;23546:506::-;23603:12;23629;23655:4;-1:-1:-1;;;;;23647:24:0;23731:8;;23672:68;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;23672:68:0;;;137:4:-1;117:14;;;-1:-1;;113:30;;;157:16;;;26:21;;;22:32;;;6:49;;23672:68:0;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;23647:94:0;;;;23672:68;;-1:-1:-1;23647:94:0;-1:-1:-1;23647:94:0;;-1:-1:-1;25:18;;-1:-1;23647:94:0;;-1:-1:-1;23647:94:0;25:18:-1;36:153;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;23647:94:0;;;;;;;;;;;;;;;;;;;;;;;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;;23628:113:0;;;23804:4;23798:11;23855:14;23852:1;23838:12;23823:47;23893:7;23914:47;;;;24017:14;24010:4;23996:12;23992:23;23985:47

Swarm Source

bzzr://ba208db35b2efb4a82aefb63e5081cdea89189c0c3d2ca473c1ff79682e1f70c

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

OVERVIEW

SHRIMP is an experimental protocol building upon the most exciting innovations in programmable money and governance. Built by a team of DeFi natives.

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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.