Contract 0xF1CfE1C1A7EBA507D96eEE880f49391B8BB6Fb2B

 

Contract Overview

Balance:
0 MATIC

MATIC Value:
$0.00

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xca2f670d412f289b949f5ef2b6cffbfb672ad6ad206c683cfd0b55557c47d091Redeem236096742022-01-11 22:24:20264 days 3 hrs ago0xea7966c776fd8c28c240ac9a15bfdc34ea4c7dde IN  0xf1cfe1c1a7eba507d96eee880f49391b8bb6fb2b0 MATIC0.0012350130.000000003
0x3fd309340bab788f34b7f3faef213927a1d533de4e804a0851280d007b409907Redeem235727802022-01-10 23:01:02265 days 2 hrs ago0x6fddf227990c789760e031f4dec5b1736a9438cd IN  0xf1cfe1c1a7eba507d96eee880f49391b8bb6fb2b0 MATIC0.00097854261730.001
0x1c6b21f1aa5f715561b4f32f0b16e0aad1f043a56e2f27d9ee13dd7caa2f5e4bRedeem235723702022-01-10 22:44:50265 days 2 hrs ago0x6eb4d3e608c528d1bd5f833cde97af6ec4baf780 IN  0xf1cfe1c1a7eba507d96eee880f49391b8bb6fb2b0 MATIC0.004255601133.000000001
0x432c0f95e359a7203e25882918e5bd8843d8f5d7fd4166ee31245e0ced1ae17cRedeem235723702022-01-10 22:44:50265 days 2 hrs ago0x6eb4d3e608c528d1bd5f833cde97af6ec4baf780 IN  0xf1cfe1c1a7eba507d96eee880f49391b8bb6fb2b0 MATIC0.004338061133
0xc28288ceb8007ab75ea3bf63e94f3969054a95a95e78d9da4f7a2810c2593127Redeem235672192022-01-10 19:30:05265 days 5 hrs agoMAMA DAO: Deployer IN  0xf1cfe1c1a7eba507d96eee880f49391b8bb6fb2b0 MATIC0.0009785130
0x9f2afe18d30a6d73943fdb6792cd295cf3d839175cfa766b5569aa784ce9ba19Redeem235527722022-01-10 9:58:47265 days 15 hrs ago0x825058d7660ee88baeaea4603046152f272f734c IN  0xf1cfe1c1a7eba507d96eee880f49391b8bb6fb2b0 MATIC0.00104374432.000000001
0xe833c72e8d9d85cddebc1fe2470864b785dce46e21c3e550d088a5d916b39a74Redeem235506102022-01-10 8:35:55265 days 16 hrs ago0x3fbd7a1b4fcc8053571ee636c48f84b7711b0df5 IN  0xf1cfe1c1a7eba507d96eee880f49391b8bb6fb2b0 MATIC0.0009785130
0x9ffde906b522c51b3cf5b3d586d6496e8dd3a4739989c04b04e656f0194fc6f4Redeem235421772022-01-10 3:19:39265 days 22 hrs ago0x49de916c6dd940c7dd4f482cfb4579b59acfd8fa IN  0xf1cfe1c1a7eba507d96eee880f49391b8bb6fb2b0 MATIC0.0012350130
0x9137c2b181fe3b04b8697921fbe93a1006b2707a73b3893f83303d296cc5568bRedeem235325372022-01-09 21:35:09266 days 3 hrs ago0x1de799c360024c7f79d933e0f8dddc0841487d53 IN  0xf1cfe1c1a7eba507d96eee880f49391b8bb6fb2b0 MATIC0.0009788361730.01
0xf81d44f32fdfd94efcf996abcfea3ff8286a403e0e88ffd1767b0924b42a46e6Redeem235285582022-01-09 19:07:00266 days 6 hrs ago0xb70f3738c7e855801494608a4e5ba49fd6a90b1a IN  0xf1cfe1c1a7eba507d96eee880f49391b8bb6fb2b0 MATIC0.0009785130
0x4d68fde3c3ff5cedfdf9a261a9f2fb12024195f63a053ff6f51947ad676ceb02Redeem235284182022-01-09 19:02:12266 days 6 hrs ago0xb74fdc31589415f0686374358916285590738d74 IN  0xf1cfe1c1a7eba507d96eee880f49391b8bb6fb2b0 MATIC0.0009785130
0x870081bf8e38ea61aea8c9b12049eacf47a58a55a50e4a55293799929e4ddf9eRedeem234769992022-01-08 11:02:02267 days 14 hrs ago0x1f2fc531e48e9fc3706f8497f787045f91784d93 IN  0xf1cfe1c1a7eba507d96eee880f49391b8bb6fb2b0 MATIC0.0009785130
0x46291e1409ac5f2b7f844da89326748cb38afcbd88c58215ba1faa6e80b81aaaDeposit234548112022-01-07 21:27:53268 days 3 hrs ago0x6eb4d3e608c528d1bd5f833cde97af6ec4baf780 IN  0xf1cfe1c1a7eba507d96eee880f49391b8bb6fb2b0 MATIC0.01065936333
0xf0f1b71bac487cb6cae086b70675f9e8f87190c4cb6f9511dde43ca2034bddf5Deposit234508562022-01-07 19:05:11268 days 6 hrs agoMAMA DAO: Deployer IN  0xf1cfe1c1a7eba507d96eee880f49391b8bb6fb2b0 MATIC0.082427147253
0xa730c71906048cbdba9dd40ec8f9ff3af09d60db5234ba44f21ced735bed7d05Deposit234314312022-01-07 6:29:52268 days 18 hrs ago0x825058d7660ee88baeaea4603046152f272f734c IN  0xf1cfe1c1a7eba507d96eee880f49391b8bb6fb2b0 MATIC0.10012597310
0x9c6fe8e8a6f78e4ad24ea4d635f38434d4d0448e8bcde2bacab98de018409ff7Deposit234260202022-01-07 3:10:08268 days 22 hrs ago0x49de916c6dd940c7dd4f482cfb4579b59acfd8fa IN  0xf1cfe1c1a7eba507d96eee880f49391b8bb6fb2b0 MATIC0.1303244400
0x806b4e4f9075c478ebe082994ef7f5e7e96d5da8f5a3eb9ff7730f460f3e2665Deposit234189372022-01-06 22:52:56269 days 2 hrs ago0x3fbd7a1b4fcc8053571ee636c48f84b7711b0df5 IN  0xf1cfe1c1a7eba507d96eee880f49391b8bb6fb2b0 MATIC0.09044644280
0x9eedb7f03285331d5a9701cb497c7644500e20c3f43a7aab4b04e85d424d4d9eDeposit234158132022-01-06 20:59:57269 days 4 hrs ago0xea7966c776fd8c28c240ac9a15bfdc34ea4c7dde IN  0xf1cfe1c1a7eba507d96eee880f49391b8bb6fb2b0 MATIC0.208995881647
0x88c684dd0393fb13fb3e621b6a27e9c05183a8d9702d7fe87d1d4af61517e0b5Deposit234157402022-01-06 20:57:23269 days 4 hrs ago0xea7966c776fd8c28c240ac9a15bfdc34ea4c7dde IN  0xf1cfe1c1a7eba507d96eee880f49391b8bb6fb2b0 MATIC0.269779311657
0x164d739bad14ba6463f4f507407f65b0dc22987fb97c2370c8eeeb2d4ce4b601Deposit234156622022-01-06 20:54:34269 days 4 hrs ago0x1de799c360024c7f79d933e0f8dddc0841487d53 IN  0xf1cfe1c1a7eba507d96eee880f49391b8bb6fb2b0 MATIC0.114815295163355.440000134
0x3a6df9acaa226e2e7bbd69dd377167dab311849074a48a7a1a167645d082b8b8Deposit234128142022-01-06 19:05:49269 days 6 hrs ago0xb70f3738c7e855801494608a4e5ba49fd6a90b1a IN  0xf1cfe1c1a7eba507d96eee880f49391b8bb6fb2b0 MATIC0.1615115500
0x761d141535bc864ac9cb20aa290c4235bfbc6178158e611b624ea1fafd098c06Deposit234105472022-01-06 17:39:49269 days 7 hrs ago0xb74fdc31589415f0686374358916285590738d74 IN  0xf1cfe1c1a7eba507d96eee880f49391b8bb6fb2b0 MATIC0.324519708996
0x84f47d0114c0b0c15ce541f634f5b20eff8c87e75b0b31e1c3b9f777024c5e61Set Bond Terms234088342022-01-06 16:29:00269 days 8 hrs agoMAMA DAO: Deployer IN  0xf1cfe1c1a7eba507d96eee880f49391b8bb6fb2b0 MATIC0.0290541,000
0x058f6fac65b0e9b750dd1bab1aa9680bcf40aa5e06464f805ac72fae817f6c7dSet Bond Terms233775282022-01-05 17:12:59270 days 8 hrs agoMAMA DAO: Deployer IN  0xf1cfe1c1a7eba507d96eee880f49391b8bb6fb2b0 MATIC0.013127500
0x82761b0924cef31319d406bceb7e6299cf07cd19114ac7b3f55001c3c712dbacSet Bond Terms233770232022-01-05 16:51:15270 days 8 hrs agoMAMA DAO: Deployer IN  0xf1cfe1c1a7eba507d96eee880f49391b8bb6fb2b0 MATIC0.0159797550
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MamaBondStakeDepository

Compiler Version
v0.7.5+commit.eb77ed08

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2021-12-31
*/

// SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity 0.7.5;

interface IOwnable {
  function policy() external view returns (address);

  function renounceManagement() external;
  
  function pushManagement( address newOwner_ ) external;
  
  function pullManagement() external;
}

contract Ownable is IOwnable {

    address internal _owner;
    address internal _newOwner;

    event OwnershipPushed(address indexed previousOwner, address indexed newOwner);
    event OwnershipPulled(address indexed previousOwner, address indexed newOwner);

    constructor () {
        _owner = msg.sender;
        emit OwnershipPushed( address(0), _owner );
    }

    function policy() public view override returns (address) {
        return _owner;
    }

    modifier onlyPolicy() {
        require( _owner == msg.sender, "Ownable: caller is not the owner" );
        _;
    }

    function renounceManagement() public virtual override onlyPolicy() {
        emit OwnershipPushed( _owner, address(0) );
        _owner = address(0);
    }

    function pushManagement( address newOwner_ ) public virtual override onlyPolicy() {
        require( newOwner_ != address(0), "Ownable: new owner is the zero address");
        emit OwnershipPushed( _owner, newOwner_ );
        _newOwner = newOwner_;
    }
    
    function pullManagement() public virtual override {
        require( msg.sender == _newOwner, "Ownable: must be new owner to pull");
        emit OwnershipPulled( _owner, _newOwner );
        _owner = _newOwner;
    }
}

library SafeMath {

     function sub32(uint32 a, uint32 b) internal pure returns (uint32) {
        return sub32(a, b, "SafeMath: subtraction overflow");
    }

    function sub32(uint32 a, uint32 b, string memory errorMessage) internal pure returns (uint32) {
        require(b <= a, errorMessage);
        uint32 c = a - b;

        return c;
    }


    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        return c;
    }

    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }

    function sqrrt(uint256 a) internal pure returns (uint c) {
        if (a > 3) {
            c = a;
            uint b = add( div( a, 2), 1 );
            while (b < c) {
                c = b;
                b = div( add( div( a, b ), b), 2 );
            }
        } else if (a != 0) {
            c = 1;
        }
    }
}

library Address {

    function isContract(address account) internal view returns (bool) {

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return _functionCallWithValue(target, data, 0, errorMessage);
    }

    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }

    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            if (returndata.length > 0) {

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }

    function addressToString(address _address) internal pure returns(string memory) {
        bytes32 _bytes = bytes32(uint256(_address));
        bytes memory HEX = "0123456789abcdef";
        bytes memory _addr = new bytes(42);

        _addr[0] = '0';
        _addr[1] = 'x';

        for(uint256 i = 0; i < 20; i++) {
            _addr[2+i*2] = HEX[uint8(_bytes[i + 12] >> 4)];
            _addr[3+i*2] = HEX[uint8(_bytes[i + 12] & 0x0f)];
        }

        return string(_addr);

    }
}

interface IERC20 {
    function decimals() external view returns (uint8);

    function totalSupply() external view returns (uint256);

    function balanceOf(address account) external view returns (uint256);

    function transfer(address recipient, uint256 amount) external returns (bool);

    function allowance(address owner, address spender) external view returns (uint256);

    function approve(address spender, uint256 amount) external returns (bool);

    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    event Transfer(address indexed from, address indexed to, uint256 value);

    event Approval(address indexed owner, address indexed spender, uint256 value);
}

abstract contract ERC20 is IERC20 {

    using SafeMath for uint256;

    // TODO comment actual hash value.
    bytes32 constant private ERC20TOKEN_ERC1820_INTERFACE_ID = keccak256( "ERC20Token" );
    
    mapping (address => uint256) internal _balances;

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

    uint256 internal _totalSupply;

    string internal _name;
    
    string internal _symbol;
    
    uint8 internal _decimals;

    constructor (string memory name_, string memory symbol_, uint8 decimals_) {
        _name = name_;
        _symbol = symbol_;
        _decimals = decimals_;
    }

    function name() public view returns (string memory) {
        return _name;
    }

    function symbol() public view returns (string memory) {
        return _symbol;
    }

    function decimals() public view override returns (uint8) {
        return _decimals;
    }

    function totalSupply() public view override returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(msg.sender, recipient, amount);
        return true;
    }

    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(msg.sender, spender, amount);
        return true;
    }

    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, msg.sender, _allowances[sender][msg.sender].sub(amount, "ERC20: transfer amount exceeds allowance"));
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(msg.sender, spender, _allowances[msg.sender][spender].add(addedValue));
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(msg.sender, spender, _allowances[msg.sender][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        return true;
    }

    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    function _mint(address account_, uint256 ammount_) internal virtual {
        require(account_ != address(0), "ERC20: mint to the zero address");
        _beforeTokenTransfer(address( this ), account_, ammount_);
        _totalSupply = _totalSupply.add(ammount_);
        _balances[account_] = _balances[account_].add(ammount_);
        emit Transfer(address( this ), account_, ammount_);
    }

    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

  function _beforeTokenTransfer( address from_, address to_, uint256 amount_ ) internal virtual { }
}

interface IERC2612Permit {

    function permit(
        address owner,
        address spender,
        uint256 amount,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    function nonces(address owner) external view returns (uint256);
}

library Counters {
    using SafeMath for uint256;

    struct Counter {

        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        counter._value += 1;
    }

    function decrement(Counter storage counter) internal {
        counter._value = counter._value.sub(1);
    }
}

abstract contract ERC20Permit is ERC20, IERC2612Permit {
    using Counters for Counters.Counter;

    mapping(address => Counters.Counter) private _nonces;

    // keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");
    bytes32 public constant PERMIT_TYPEHASH = 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9;

    bytes32 public DOMAIN_SEPARATOR;

    constructor() {
        uint256 chainID;
        assembly {
            chainID := chainid()
        }

        DOMAIN_SEPARATOR = keccak256(
            abi.encode(
                keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"),
                keccak256(bytes(name())),
                keccak256(bytes("1")), // Version
                chainID,
                address(this)
            )
        );
    }

    function permit(
        address owner,
        address spender,
        uint256 amount,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) public virtual override {
        require(block.timestamp <= deadline, "Permit: expired deadline");

        bytes32 hashStruct =
            keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, amount, _nonces[owner].current(), deadline));

        bytes32 _hash = keccak256(abi.encodePacked(uint16(0x1901), DOMAIN_SEPARATOR, hashStruct));

        address signer = ecrecover(_hash, v, r, s);
        require(signer != address(0) && signer == owner, "ZeroSwapPermit: Invalid signature");

        _nonces[owner].increment();
        _approve(owner, spender, amount);
    }

    function nonces(address owner) public view override returns (uint256) {
        return _nonces[owner].current();
    }
}

library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    function safeApprove(IERC20 token, address spender, uint256 value) internal {

        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function _callOptionalReturn(IERC20 token, bytes memory data) private {

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

library FullMath {
    function fullMul(uint256 x, uint256 y) private pure returns (uint256 l, uint256 h) {
        uint256 mm = mulmod(x, y, uint256(-1));
        l = x * y;
        h = mm - l;
        if (mm < l) h -= 1;
    }

    function fullDiv(
        uint256 l,
        uint256 h,
        uint256 d
    ) private pure returns (uint256) {
        uint256 pow2 = d & -d;
        d /= pow2;
        l /= pow2;
        l += h * ((-pow2) / pow2 + 1);
        uint256 r = 1;
        r *= 2 - d * r;
        r *= 2 - d * r;
        r *= 2 - d * r;
        r *= 2 - d * r;
        r *= 2 - d * r;
        r *= 2 - d * r;
        r *= 2 - d * r;
        r *= 2 - d * r;
        return l * r;
    }

    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 d
    ) internal pure returns (uint256) {
        (uint256 l, uint256 h) = fullMul(x, y);
        uint256 mm = mulmod(x, y, d);
        if (mm > l) h -= 1;
        l -= mm;
        require(h < d, 'FullMath::mulDiv: overflow');
        return fullDiv(l, h, d);
    }
}

library FixedPoint {

    struct uq112x112 {
        uint224 _x;
    }

    struct uq144x112 {
        uint256 _x;
    }

    uint8 private constant RESOLUTION = 112;
    uint256 private constant Q112 = 0x10000000000000000000000000000;
    uint256 private constant Q224 = 0x100000000000000000000000000000000000000000000000000000000;
    uint256 private constant LOWER_MASK = 0xffffffffffffffffffffffffffff; // decimal of UQ*x112 (lower 112 bits)

    function decode(uq112x112 memory self) internal pure returns (uint112) {
        return uint112(self._x >> RESOLUTION);
    }

    function decode112with18(uq112x112 memory self) internal pure returns (uint) {

        return uint(self._x) / 5192296858534827;
    }

    function fraction(uint256 numerator, uint256 denominator) internal pure returns (uq112x112 memory) {
        require(denominator > 0, 'FixedPoint::fraction: division by zero');
        if (numerator == 0) return FixedPoint.uq112x112(0);

        if (numerator <= uint144(-1)) {
            uint256 result = (numerator << RESOLUTION) / denominator;
            require(result <= uint224(-1), 'FixedPoint::fraction: overflow');
            return uq112x112(uint224(result));
        } else {
            uint256 result = FullMath.mulDiv(numerator, Q112, denominator);
            require(result <= uint224(-1), 'FixedPoint::fraction: overflow');
            return uq112x112(uint224(result));
        }
    }
}

interface ITreasury {
    function deposit( uint _amount, address _token, uint _profit ) external returns ( uint send_ );
    function valueOf( address _token, uint _amount ) external view returns ( uint value_ );
}

interface IBondCalculator {
    function valuation( address _LP, uint _amount ) external view returns ( uint );
    function markdown( address _LP ) external view returns ( uint );
}

interface IStaking {
    function stake( uint _amount, address _recipient ) external returns ( bool );
    function claim( address _recipient ) external;
}

interface ISMAMA {
    function gonsForBalance( uint amount ) external view returns ( uint );
    function balanceForGons( uint gons ) external view returns ( uint );
}

contract MamaBondStakeDepository is Ownable {

    using FixedPoint for *;
    using SafeERC20 for IERC20;
    using SafeMath for uint;
    using SafeMath for uint32;



    /* ======== EVENTS ======== */

    event BondCreated( uint deposit, uint indexed payout, uint indexed expires, uint indexed priceInUSD );
    event BondRedeemed( address indexed recipient, uint payout, uint remaining );
    event BondPriceChanged( uint indexed priceInUSD, uint indexed internalPrice, uint indexed debtRatio );
    event ControlVariableAdjustment( uint initialBCV, uint newBCV, uint adjustment, bool addition );




    /* ======== STATE VARIABLES ======== */

    address public immutable MAMA; // intermediate reward token from treasury
    address public immutable sMAMA; // token given as payment for bond
    address public immutable principle; // token used to create bond
    address public immutable treasury; // mints MAMA when receives principle
    address public immutable DAO; // receives profit share from bond

    bool public immutable isLiquidityBond; // LP and Reserve bonds are treated slightly different
    address public immutable bondCalculator; // calculates value of LP tokens

    address public staking; // to stake and claim if no staking warmup

    Terms public terms; // stores terms for new bonds
    Adjust public adjustment; // stores adjustment to BCV data

    mapping( address => Bond ) public _bondInfo; // stores bond information for depositors

    uint public totalDebt; // total value of outstanding bonds; used for pricing
    uint32 public lastDecay; // reference block for debt decay
    
    uint public totalPrinciple; // total principle bonded through this depository

    string internal name_; //name of this bond


    /* ======== STRUCTS ======== */

    // Info for creating new bonds
    struct Terms {
        uint controlVariable; // scaling variable for price
        uint minimumPrice; // vs principle value
        uint maxPayout; // in thousandths of a %. i.e. 500 = 0.5%
        uint fee; // as % of bond payout, in hundreths. ( 500 = 5% = 0.05 for every 1 paid)
        uint maxDebt; // 9 decimal debt ratio, max % total supply created as debt
        uint32 vestingTerm; // in seconds
    }

    // Info for bond holder with gons
    struct Bond {
        uint gonsPayout; // sMAMA gons remaining to be paid
        uint mamaPayout; // mama amount at the moment of bond
        uint32 vesting; // Blocks left to vest
        uint32 lastTime; // Last interaction
        uint pricePaid; // In DAI, for front end viewing
    }

    // Info for incremental adjustments to control variable 
    struct Adjust {
        bool add; // addition or subtraction
        uint rate; // increment
        uint target; // BCV when adjustment finished
        uint32 buffer; // minimum length (in blocks) between adjustments
        uint32 lastTime; // block when last adjustment made
    }




    /* ======== INITIALIZATION ======== */

    constructor ( 
        string memory _name,
        address _MAMA,
        address _sMAMA,
        address _principle,
        address _treasury, 
        address _DAO, 
        address _bondCalculator
    ) {
        require( _MAMA != address(0) );
        MAMA = _MAMA;
        require( _sMAMA != address(0) );
        sMAMA = _sMAMA;
        require( _principle != address(0) );
        principle = _principle;
        require( _treasury != address(0) );
        treasury = _treasury;
        require( _DAO != address(0) );
        DAO = _DAO;
        // bondCalculator should be address(0) if not LP bond
        bondCalculator = _bondCalculator;
        isLiquidityBond = ( _bondCalculator != address(0) );
        name_ = _name;
    }

    /**
     *  @notice initializes bond parameters
     *  @param _controlVariable uint
     *  @param _vestingTerm uint
     *  @param _minimumPrice uint
     *  @param _maxPayout uint
     *  @param _fee uint
     *  @param _maxDebt uint
     *  @param _initialDebt uint
     */
    function initializeBondTerms( 
        uint _controlVariable, 
        uint _minimumPrice,
        uint _maxPayout,
        uint _fee,
        uint _maxDebt,
        uint _initialDebt,
        uint32 _vestingTerm
    ) external onlyPolicy() {
        terms = Terms ({
            controlVariable: _controlVariable,
            minimumPrice: _minimumPrice,
            maxPayout: _maxPayout,
            fee: _fee,
            maxDebt: _maxDebt,
            vestingTerm: _vestingTerm
        });
        totalDebt = _initialDebt;
        lastDecay = uint32(block.timestamp);
    }


    
    /* ======== POLICY FUNCTIONS ======== */

    enum PARAMETER { VESTING, PAYOUT, FEE, DEBT, MINPRICE }
    /**
     *  @notice set parameters for new bonds
     *  @param _parameter PARAMETER
     *  @param _input uint
     */
    function setBondTerms ( PARAMETER _parameter, uint _input ) external onlyPolicy() {
        if ( _parameter == PARAMETER.VESTING ) { // 0
            require( _input >= 10000, "Vesting must be longer than 3 hours" );
            terms.vestingTerm = uint32(_input);
        } else if ( _parameter == PARAMETER.PAYOUT ) { // 1
            require( _input <= 1000, "Payout cannot be above 1 percent" );
            terms.maxPayout = _input;
        } else if ( _parameter == PARAMETER.FEE ) { // 2
            require( _input <= 10000, "DAO fee cannot exceed payout" );
            terms.fee = _input;
        } else if ( _parameter == PARAMETER.DEBT ) { // 3
            terms.maxDebt = _input;
        } else if ( _parameter == PARAMETER.MINPRICE ) { // 4
            terms.minimumPrice = _input;
        }
    }

    /**
     *  @notice set control variable adjustment
     *  @param _addition bool
     *  @param _increment uint
     *  @param _target uint
     *  @param _buffer uint
     */
    function setAdjustment (
        bool _addition,
        uint _increment, 
        uint _target,
        uint32 _buffer 
    ) external onlyPolicy() {
        adjustment = Adjust({
            add: _addition,
            rate: _increment,
            target: _target,
            buffer: _buffer,
            lastTime: uint32(block.timestamp)
        });
    }

    /**
     *  @notice set contract for auto stake
     *  @param _staking address
     */
    function setStaking( address _staking) external onlyPolicy() {
        require( _staking != address(0) );
        staking = _staking;
    }


    

    /* ======== USER FUNCTIONS ======== */

    /**
     *  @notice deposit bond
     *  @param _amount uint
     *  @param _maxPrice uint
     *  @param _depositor address
     *  @return uint
     */
    function deposit( 
        uint _amount, 
        uint _maxPrice,
        address _depositor
    ) external returns ( uint ) {
        require( _depositor != address(0), "Invalid address" );

        decayDebt();
        require( totalDebt <= terms.maxDebt, "Max capacity reached" );
        
        uint priceInUSD = bondPriceInUSD(); // Stored in bond info
        //uint nativePrice = _bondPrice();

        require( _maxPrice >= _bondPrice(), "Slippage limit: more than max price" ); // slippage protection

        uint value = ITreasury( treasury ).valueOf( principle, _amount );
        uint payout = payoutFor( value ); // payout to bonder is computed

        require( payout >= 10000000, "Bond too small" ); // must be > 0.01 MAMA ( underflow protection )
        require( payout <= maxPayout(), "Bond too large"); // size protection because there is no slippage

        // profits are calculated
        uint fee = payout.mul( terms.fee ).div( 10000 );
        uint profit = value.sub( payout ).sub( fee );

        /**
            principle is transferred in
            approved and
            deposited into the treasury, returning (_amount - profit) MAMA
         */
        IERC20( principle ).safeTransferFrom( msg.sender, address(this), _amount );
        IERC20( principle ).approve( address( treasury ), _amount );
        ITreasury( treasury ).deposit( _amount, principle, profit );
        
        totalPrinciple=totalPrinciple.add(_amount);
        
        if ( fee != 0 ) { // fee is transferred to dao 
            IERC20( MAMA ).safeTransfer( DAO, fee ); 
        }
        
        // total debt is increased
        totalDebt = totalDebt.add( value ); 
        //TODO
        //uint stakeAmount = totalBond.sub(fee);
        IERC20( MAMA ).approve( staking, payout );
        IStaking( staking ).stake( payout, address(this) );
        IStaking( staking ).claim( address(this) );
        uint stakeGons=ISMAMA(sMAMA).gonsForBalance(payout);

        // depositor info is stored
        _bondInfo[ _depositor ] = Bond({ 
            gonsPayout: _bondInfo[ _depositor ].gonsPayout.add( stakeGons ),
            mamaPayout: _bondInfo[ _depositor ].mamaPayout.add( payout ),
            vesting: terms.vestingTerm,
            lastTime: uint32(block.timestamp),
            pricePaid: priceInUSD
        });

        // indexed events are emitted
        emit BondCreated( _amount, payout, block.timestamp.add( terms.vestingTerm ), priceInUSD );
        emit BondPriceChanged( bondPriceInUSD(), _bondPrice(), debtRatio() );

        adjust(); // control variable is adjusted
        return payout; 
    }

    /** 
     *  @notice redeem bond for user, keep the parameter bool _stake for compatibility of redeem helper
     *  @param _recipient address
     *  @param _stake bool
     *  @return uint
     */ 
    function redeem( address _recipient, bool _stake) external returns ( uint ) {        
        Bond memory info = _bondInfo[ _recipient ];
        uint percentVested = percentVestedFor( _recipient ); // (blocks since last interaction / vesting term remaining)

        require ( percentVested >= 10000 ,"not yet fully vested") ; // if fully vested
        delete _bondInfo[ _recipient ]; // delete user info
        uint _amount = ISMAMA(sMAMA).balanceForGons(info.gonsPayout);
        emit BondRedeemed( _recipient, _amount, 0 ); // emit bond data
        IERC20( sMAMA ).transfer( _recipient, _amount ); // pay user everything due
        return _amount;
    }



    
    /* ======== INTERNAL HELPER FUNCTIONS ======== */

    /**
     *  @notice makes incremental adjustment to control variable
     */
    function adjust() internal {
        uint blockCanAdjust = adjustment.lastTime.add( adjustment.buffer );
        if( adjustment.rate != 0 && block.timestamp >= blockCanAdjust ) {
            uint initial = terms.controlVariable;
            if ( adjustment.add ) {
                terms.controlVariable = terms.controlVariable.add( adjustment.rate );
                if ( terms.controlVariable >= adjustment.target ) {
                    adjustment.rate = 0;
                }
            } else {
                terms.controlVariable = terms.controlVariable.sub( adjustment.rate );
                if ( terms.controlVariable <= adjustment.target ) {
                    adjustment.rate = 0;
                }
            }
            adjustment.lastTime = uint32(block.timestamp);
            emit ControlVariableAdjustment( initial, terms.controlVariable, adjustment.rate, adjustment.add );
        }
    }

    /**
     *  @notice reduce total debt
     */
    function decayDebt() internal {
        totalDebt = totalDebt.sub( debtDecay() );
        lastDecay = uint32(block.timestamp);
    }




    /* ======== VIEW FUNCTIONS ======== */

    /**
     *  @notice determine maximum bond size
     *  @return uint
     */
    function maxPayout() public view returns ( uint ) {
        return IERC20( MAMA ).totalSupply().mul( terms.maxPayout ).div( 100000 );
    }

    /**
     *  @notice calculate interest due for new bond
     *  @param _value uint
     *  @return uint
     */
    function payoutFor( uint _value ) public view returns ( uint ) {
        return FixedPoint.fraction( _value, bondPrice() ).decode112with18().div( 1e16 );
    }


    /**
     *  @notice calculate current bond premium
     *  @return price_ uint
     */
    function bondPrice() public view returns ( uint price_ ) {        
        price_ = terms.controlVariable.mul( debtRatio() ).add( 1000000000 ).div( 1e7 );
        if ( price_ < terms.minimumPrice ) {
            price_ = terms.minimumPrice;
        }
    }

    /**
     *  @notice calculate current bond price and remove floor if above
     *  @return price_ uint
     */
    function _bondPrice() internal returns ( uint price_ ) {
        price_ = terms.controlVariable.mul( debtRatio() ).add( 1000000000 ).div( 1e7 );
        if ( price_ < terms.minimumPrice ) {
            price_ = terms.minimumPrice;        
        } else if ( terms.minimumPrice != 0 ) {
            terms.minimumPrice = 0;
        }
    }

    /**
     *  @notice converts bond price to DAI value
     *  @return price_ uint
     */
    function bondPriceInUSD() public view returns ( uint price_ ) {
        if( isLiquidityBond ) {
            price_ = bondPrice().mul( IBondCalculator( bondCalculator ).markdown( principle ) ).div( 100 );
        } else {
            price_ = bondPrice().mul( 10 ** IERC20( principle ).decimals() ).div( 100 );
        }
    }
    
    /**
     *  @notice return bond info with latest sMAMA balance calculated from gons
     *  @param _depositor address
     *  @return payout uint
     *  @return vesting uint
     *  @return lastTime uint
     *  @return pricePaid uint
     */
    function bondInfo(address _depositor) public view returns ( uint payout,uint vesting,uint lastTime,uint pricePaid ) {
        Bond memory info = _bondInfo[ _depositor ];
        payout=ISMAMA(sMAMA).balanceForGons(info.gonsPayout);
        vesting=info.vesting;
        lastTime=info.lastTime;
        pricePaid=info.pricePaid;
    }


    /**
     *  @notice calculate current ratio of debt to MAMA supply
     *  @return debtRatio_ uint
     */
    function debtRatio() public view returns ( uint debtRatio_ ) {   
        uint supply = IERC20( MAMA ).totalSupply();
        debtRatio_ = FixedPoint.fraction( 
            currentDebt().mul( 1e9 ), 
            supply
        ).decode112with18().div( 1e18 );
    }

    /**
     *  @notice debt ratio in same terms for reserve or liquidity bonds
     *  @return uint
     */
    function standardizedDebtRatio() external view returns ( uint ) {
        if ( isLiquidityBond ) {
            return debtRatio().mul( IBondCalculator( bondCalculator ).markdown( principle ) ).div( 1e9 );
        } else {
            return debtRatio();
        }
    }

    /**
     *  @notice calculate debt factoring in decay
     *  @return uint
     */
    function currentDebt() public view returns ( uint ) {
        return totalDebt.sub( debtDecay() );
    }

    /**
     *  @notice amount to decay total debt by
     *  @return decay_ uint
     */
    function debtDecay() public view returns ( uint decay_ ) {
         uint32 timeSinceLast = uint32(block.timestamp).sub32( lastDecay );
        decay_ = totalDebt.mul( timeSinceLast ).div( terms.vestingTerm );
        if ( decay_ > totalDebt ) {
            decay_ = totalDebt;
        }
    }


    /**
     *  @notice calculate how far into vesting a depositor is
     *  @param _depositor address
     *  @return percentVested_ uint
     */
    function percentVestedFor( address _depositor ) public view returns ( uint percentVested_ ) {
        Bond memory bond = _bondInfo[ _depositor ];
        uint blocksSinceLast =  uint32(block.timestamp).sub( bond.lastTime );
        uint vesting = bond.vesting;

        if ( vesting > 0 ) {
            percentVested_ = blocksSinceLast.mul( 10000 ).div( vesting );
        } else {
            percentVested_ = 0;
        }
    }

    /**
     *  @notice calculate amount of MAMA available for claim by depositor
     *  @param _depositor address
     *  @return pendingPayout_ uint
     */
    function pendingPayoutFor( address _depositor ) external view returns ( uint pendingPayout_ ) {
        uint percentVested = percentVestedFor( _depositor );
        uint payout = ISMAMA(sMAMA).balanceForGons(_bondInfo[ _depositor ].gonsPayout);

        if ( percentVested >= 10000 ) {
            pendingPayout_ = payout;
        } else {
            pendingPayout_ = 0;
        }
    }
    
    /**
     *  @notice show the name of current bond
     *  @return _name string
     */
    function name() public view returns (string memory _name) {
        return name_;
    }




    /* ======= AUXILLIARY ======= */

    /**
     *  @notice allow anyone to send lost tokens (excluding principle or MAMA) to the DAO
     *  @return bool
     */
    function recoverLostToken( address _token ) external returns ( bool ) {
        require( _token != MAMA );
        require( _token != sMAMA );
        require( _token != principle );
        IERC20( _token ).safeTransfer( DAO, IERC20( _token ).balanceOf( address(this) ) );
        return true;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"address","name":"_MAMA","type":"address"},{"internalType":"address","name":"_sMAMA","type":"address"},{"internalType":"address","name":"_principle","type":"address"},{"internalType":"address","name":"_treasury","type":"address"},{"internalType":"address","name":"_DAO","type":"address"},{"internalType":"address","name":"_bondCalculator","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"deposit","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"payout","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"expires","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"priceInUSD","type":"uint256"}],"name":"BondCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"priceInUSD","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"internalPrice","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"debtRatio","type":"uint256"}],"name":"BondPriceChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"payout","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"remaining","type":"uint256"}],"name":"BondRedeemed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"initialBCV","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBCV","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"adjustment","type":"uint256"},{"indexed":false,"internalType":"bool","name":"addition","type":"bool"}],"name":"ControlVariableAdjustment","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipPulled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipPushed","type":"event"},{"inputs":[],"name":"DAO","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAMA","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_bondInfo","outputs":[{"internalType":"uint256","name":"gonsPayout","type":"uint256"},{"internalType":"uint256","name":"mamaPayout","type":"uint256"},{"internalType":"uint32","name":"vesting","type":"uint32"},{"internalType":"uint32","name":"lastTime","type":"uint32"},{"internalType":"uint256","name":"pricePaid","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"adjustment","outputs":[{"internalType":"bool","name":"add","type":"bool"},{"internalType":"uint256","name":"rate","type":"uint256"},{"internalType":"uint256","name":"target","type":"uint256"},{"internalType":"uint32","name":"buffer","type":"uint32"},{"internalType":"uint32","name":"lastTime","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bondCalculator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_depositor","type":"address"}],"name":"bondInfo","outputs":[{"internalType":"uint256","name":"payout","type":"uint256"},{"internalType":"uint256","name":"vesting","type":"uint256"},{"internalType":"uint256","name":"lastTime","type":"uint256"},{"internalType":"uint256","name":"pricePaid","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bondPrice","outputs":[{"internalType":"uint256","name":"price_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bondPriceInUSD","outputs":[{"internalType":"uint256","name":"price_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentDebt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"debtDecay","outputs":[{"internalType":"uint256","name":"decay_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"debtRatio","outputs":[{"internalType":"uint256","name":"debtRatio_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_maxPrice","type":"uint256"},{"internalType":"address","name":"_depositor","type":"address"}],"name":"deposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_controlVariable","type":"uint256"},{"internalType":"uint256","name":"_minimumPrice","type":"uint256"},{"internalType":"uint256","name":"_maxPayout","type":"uint256"},{"internalType":"uint256","name":"_fee","type":"uint256"},{"internalType":"uint256","name":"_maxDebt","type":"uint256"},{"internalType":"uint256","name":"_initialDebt","type":"uint256"},{"internalType":"uint32","name":"_vestingTerm","type":"uint32"}],"name":"initializeBondTerms","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isLiquidityBond","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastDecay","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPayout","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"_name","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"payoutFor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_depositor","type":"address"}],"name":"pendingPayoutFor","outputs":[{"internalType":"uint256","name":"pendingPayout_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_depositor","type":"address"}],"name":"percentVestedFor","outputs":[{"internalType":"uint256","name":"percentVested_","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"policy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"principle","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pullManagement","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner_","type":"address"}],"name":"pushManagement","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"recoverLostToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"bool","name":"_stake","type":"bool"}],"name":"redeem","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceManagement","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sMAMA","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_addition","type":"bool"},{"internalType":"uint256","name":"_increment","type":"uint256"},{"internalType":"uint256","name":"_target","type":"uint256"},{"internalType":"uint32","name":"_buffer","type":"uint32"}],"name":"setAdjustment","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum MamaBondStakeDepository.PARAMETER","name":"_parameter","type":"uint8"},{"internalType":"uint256","name":"_input","type":"uint256"}],"name":"setBondTerms","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_staking","type":"address"}],"name":"setStaking","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"staking","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"standardizedDebtRatio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"terms","outputs":[{"internalType":"uint256","name":"controlVariable","type":"uint256"},{"internalType":"uint256","name":"minimumPrice","type":"uint256"},{"internalType":"uint256","name":"maxPayout","type":"uint256"},{"internalType":"uint256","name":"fee","type":"uint256"},{"internalType":"uint256","name":"maxDebt","type":"uint256"},{"internalType":"uint32","name":"vestingTerm","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDebt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalPrinciple","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

6101606040523480156200001257600080fd5b50604051620032bd380380620032bd833981810160405260e08110156200003857600080fd5b81019080805160405193929190846401000000008211156200005957600080fd5b9083019060208201858111156200006f57600080fd5b82516401000000008111828201881017156200008a57600080fd5b82525081516020918201929091019080838360005b83811015620000b95781810151838201526020016200009f565b50505050905090810190601f168015620000e75780820380516001836020036101000a031916815260200191505b5060408181526020830151908301516060840151608085015160a086015160c090960151600080546001600160a01b031916331780825595995093975091959094909391926001600160a01b039290921691907fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba908290a36001600160a01b0386166200017357600080fd5b6001600160601b0319606087901b166080526001600160a01b0385166200019957600080fd5b6001600160601b0319606086901b1660a0526001600160a01b038416620001bf57600080fd5b6001600160601b0319606085901b1660c0526001600160a01b038316620001e557600080fd5b6001600160601b0319606084901b1660e0526001600160a01b0382166200020b57600080fd5b6001600160601b0319606083811b82166101005282901b16610140526001600160a01b038116151560f81b6101205286516200024f9060119060208a01906200025d565b505050505050505062000309565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282620002955760008555620002e0565b82601f10620002b057805160ff1916838001178555620002e0565b82800160010185558215620002e0579182015b82811115620002e0578251825591602001919060010190620002c3565b50620002ee929150620002f2565b5090565b5b80821115620002ee5760008155600101620002f3565b60805160601c60a05160601c60c05160601c60e05160601c6101005160601c6101205160f81c6101405160601c612ebf620003fe600039806110ab5280611b4d5280611e7352508061107d5280611b1c52806121a95250806116b05280611c165280611dc0525080611010528061130f528061151252806115f45250806106b252806110da5280611181528061133e52806114b952806114e352806115c35280611b7c5280611d7e5250806106e652806108fa5280610c1d5280610cd852806118705280611d3f5280611f7852508061168e52806117115280611d005280611e975280612014528061221e5250612ebf6000f3fe608060405234801561001057600080fd5b50600436106102275760003560e01c80638dbdbe6d11610130578063cd1234b3116100b8578063d7ccfb0b1161007c578063d7ccfb0b1461066f578063e0176de814610677578063e392a2621461067f578063f5c2ab5b14610687578063fc7b9c18146106a857610227565b8063cd1234b31461058b578063cea55f57146105d7578063cf37a891146105df578063d502562514610626578063d79690601461066757610227565b8063ae9832cf116100ff578063ae9832cf146104b2578063b4abccba146104e9578063c5332b7c14610523578063c69a46b91461052b578063c6b2c4cd1461053357610227565b80638dbdbe6d1461044a5780638ff390991461047c578063904b3ece146104a257806398fabd3a146104aa57610227565b806346f68ee9116101b357806361d027b31161018257806361d027b31461040d578063759076e5146104155780637927ebf81461041d578063839c27881461043a578063844b5c7c1461044257610227565b806346f68ee9146103b15780634cf088d9146103d7578063507930ec146103df5780635a96ac0a1461040557610227565b8063089208d8116101fa578063089208d81461030d57806308ca20e7146103175780631e321a0f1461031f5780631feed31f14610345578063451ee4a11461037357610227565b8063016a42841461022c57806301b88ee8146102505780630505c8c91461028857806306fdde0314610290575b600080fd5b6102346106b0565b604080516001600160a01b039092168252519081900360200190f35b6102766004803603602081101561026657600080fd5b50356001600160a01b03166106d4565b60408051918252519081900360200190f35b6102346107bb565b6102986107cb565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102d25781810151838201526020016102ba565b50505050905090810190601f1680156102ff5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610315610861565b005b6102346108f8565b6103156004803603604081101561033557600080fd5b5060ff813516906020013561091c565b6102766004803603604081101561035b57600080fd5b506001600160a01b0381351690602001351515610afe565b61037b610d85565b60408051951515865260208601949094528484019290925263ffffffff9081166060850152166080830152519081900360a00190f35b610315600480360360208110156103c757600080fd5b50356001600160a01b0316610dab565b610234610e98565b610276600480360360208110156103f557600080fd5b50356001600160a01b0316610ea7565b610315610f64565b61023461100e565b610276611032565b6102766004803603602081101561043357600080fd5b503561104d565b610276611073565b610276611079565b6102766004803603606081101561046057600080fd5b50803590602081013590604001356001600160a01b0316611212565b6103156004803603602081101561049257600080fd5b50356001600160a01b0316611a96565b610276611b18565b610234611c14565b610315600480360360808110156104c857600080fd5b5080351515906020810135906040810135906060013563ffffffff16611c38565b61050f600480360360208110156104ff57600080fd5b50356001600160a01b0316611cfc565b604080519115158252519081900360200190f35b610234611e71565b610234611e95565b6105596004803603602081101561054957600080fd5b50356001600160a01b0316611eb9565b60408051958652602086019490945263ffffffff92831685850152911660608401526080830152519081900360a00190f35b6105b1600480360360208110156105a157600080fd5b50356001600160a01b0316611ef2565b604080519485526020850193909352838301919091526060830152519081900360800190f35b61027661200f565b610315600480360360e08110156105f557600080fd5b5080359060208101359060408101359060608101359060808101359060a08101359060c0013563ffffffff166120c7565b61062e61218c565b604080519687526020870195909552858501939093526060850191909152608084015263ffffffff1660a0830152519081900360c00190f35b61050f6121a7565b6102766121cb565b61027661220a565b6102766122a7565b61068f612300565b6040805163ffffffff9092168252519081900360200190f35b61027661230c565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000806106e083610ea7565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316637965d56d600d6000876001600160a01b03166001600160a01b03168152602001908152602001600020600001546040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561077057600080fd5b505afa158015610784573d6000803e3d6000fd5b505050506040513d602081101561079a57600080fd5b5051905061271082106107af578092506107b4565b600092505b5050919050565b6000546001600160a01b03165b90565b60118054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108575780601f1061082c57610100808354040283529160200191610857565b820191906000526020600020905b81548152906001019060200180831161083a57829003601f168201915b5050505050905090565b6000546001600160a01b031633146108ae576040805162461bcd60e51b81526020600482018190526024820152600080516020612e1d833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba908390a3600080546001600160a01b0319169055565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000546001600160a01b03163314610969576040805162461bcd60e51b81526020600482018190526024820152600080516020612e1d833981519152604482015290519081900360640190fd5b600082600481111561097757fe5b14156109d8576127108110156109be5760405162461bcd60e51b8152600401808060200182810382526023815260200180612dfa6023913960400191505060405180910390fd5b6008805463ffffffff191663ffffffff8316179055610afa565b60018260048111156109e657fe5b1415610a4d576103e8811115610a43576040805162461bcd60e51b815260206004820181905260248201527f5061796f75742063616e6e6f742062652061626f766520312070657263656e74604482015290519081900360640190fd5b6005819055610afa565b6002826004811115610a5b57fe5b1415610ac257612710811115610ab8576040805162461bcd60e51b815260206004820152601c60248201527f44414f206665652063616e6e6f7420657863656564207061796f757400000000604482015290519081900360640190fd5b6006819055610afa565b6003826004811115610ad057fe5b1415610ae0576007819055610afa565b6004826004811115610aee57fe5b1415610afa5760048190555b5050565b6000610b08612d1d565b506001600160a01b0383166000908152600d60209081526040808320815160a08101835281548152600182015493810193909352600281015463ffffffff80821693850193909352600160201b9004909116606083015260030154608082015290610b7285610ea7565b9050612710811015610bc2576040805162461bcd60e51b81526020600482015260146024820152731b9bdd081e595d08199d5b1b1e481d995cdd195960621b604482015290519081900360640190fd5b6001600160a01b038086166000908152600d602090815260408083208381556001810184905560028101805467ffffffffffffffff1916905560030183905585518151637965d56d60e01b81526004810191909152905192937f00000000000000000000000000000000000000000000000000000000000000001692637965d56d92602480840193919291829003018186803b158015610c6157600080fd5b505afa158015610c75573d6000803e3d6000fd5b505050506040513d6020811015610c8b57600080fd5b5051604080518281526000602082015281519293506001600160a01b038916927f51c99f515c87b0d95ba97f616edd182e8f161c4932eac17c6fefe9dab58b77b1929181900390910190a27f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb87836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610d4d57600080fd5b505af1158015610d61573d6000803e3d6000fd5b505050506040513d6020811015610d7757600080fd5b509093505050505b92915050565b600954600a54600b54600c5460ff9093169263ffffffff80821691600160201b90041685565b6000546001600160a01b03163314610df8576040805162461bcd60e51b81526020600482018190526024820152600080516020612e1d833981519152604482015290519081900360640190fd5b6001600160a01b038116610e3d5760405162461bcd60e51b8152600401808060200182810382526026815260200180612d6b6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba91a3600180546001600160a01b0319166001600160a01b0392909216919091179055565b6002546001600160a01b031681565b6000610eb1612d1d565b506001600160a01b0382166000908152600d60209081526040808320815160a08101835281548152600182015493810193909352600281015463ffffffff80821693850193909352600160201b90048216606084018190526003909101546080840152919291610f2691428116919061231216565b604083015190915063ffffffff168015610f5757610f5081610f4a8461271061235b565b906123b4565b9350610f5c565b600093505b505050919050565b6001546001600160a01b03163314610fad5760405162461bcd60e51b8152600401808060200182810382526022815260200180612d916022913960400191505060405180910390fd5b600154600080546040516001600160a01b0393841693909116917faa151555690c956fc3ea32f106bb9f119b5237a061eaa8557cff3e51e3792c8d91a3600154600080546001600160a01b0319166001600160a01b03909216919091179055565b7f000000000000000000000000000000000000000000000000000000000000000081565b600061104861103f6122a7565b600e5490612312565b905090565b6000610d7f662386f26fc10000610f4a61106e856110696121cb565b6123f6565b61256d565b60105481565b60007f000000000000000000000000000000000000000000000000000000000000000015611177576111706064610f4a7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166332da80a37f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561113657600080fd5b505afa15801561114a573d6000803e3d6000fd5b505050506040513d602081101561116057600080fd5b505161116a6121cb565b9061235b565b90506107c8565b6110486064610f4a7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156111d857600080fd5b505afa1580156111ec573d6000803e3d6000fd5b505050506040513d602081101561120257600080fd5b505160ff16600a0a61116a6121cb565b60006001600160a01b038216611261576040805162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b604482015290519081900360640190fd5b611269612585565b600754600e5411156112b9576040805162461bcd60e51b815260206004820152601460248201527313585e0818d85c1858da5d1e481c995858da195960621b604482015290519081900360640190fd5b60006112c3611079565b90506112cd6125aa565b84101561130b5760405162461bcd60e51b8152600401808060200182810382526023815260200180612e3d6023913960400191505060405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631eec5a9a7f0000000000000000000000000000000000000000000000000000000000000000886040518363ffffffff1660e01b815260040180836001600160a01b031681526020018281526020019250505060206040518083038186803b1580156113a257600080fd5b505afa1580156113b6573d6000803e3d6000fd5b505050506040513d60208110156113cc57600080fd5b5051905060006113db8261104d565b905062989680811015611426576040805162461bcd60e51b815260206004820152600e60248201526d109bdb99081d1bdbc81cdb585b1b60921b604482015290519081900360640190fd5b61142e61220a565b811115611473576040805162461bcd60e51b815260206004820152600e60248201526d426f6e6420746f6f206c6172676560901b604482015290519081900360640190fd5b6000611492612710610f4a60038001548561235b90919063ffffffff16565b905060006114aa826114a48686612312565b90612312565b90506114e16001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633308c6125ec565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663095ea7b37f00000000000000000000000000000000000000000000000000000000000000008b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561157857600080fd5b505af115801561158c573d6000803e3d6000fd5b505050506040513d60208110156115a257600080fd5b50506040805163bc157ac160e01b8152600481018b90526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660248301526044820184905291517f00000000000000000000000000000000000000000000000000000000000000009092169163bc157ac1916064808201926020929091908290030181600087803b15801561163f57600080fd5b505af1158015611653573d6000803e3d6000fd5b505050506040513d602081101561166957600080fd5b5050601054611678908a61264c565b60105581156116d5576116d56001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f0000000000000000000000000000000000000000000000000000000000000000846126a6565b600e546116e2908561264c565b600e556002546040805163095ea7b360e01b81526001600160a01b0392831660048201526024810186905290517f00000000000000000000000000000000000000000000000000000000000000009092169163095ea7b3916044808201926020929091908290030181600087803b15801561175c57600080fd5b505af1158015611770573d6000803e3d6000fd5b505050506040513d602081101561178657600080fd5b505060025460408051637acb775760e01b81526004810186905230602482015290516001600160a01b0390921691637acb7757916044808201926020929091908290030181600087803b1580156117dc57600080fd5b505af11580156117f0573d6000803e3d6000fd5b505050506040513d602081101561180657600080fd5b505060025460408051630f41a04d60e11b815230600482015290516001600160a01b0390921691631e83409a9160248082019260009290919082900301818387803b15801561185457600080fd5b505af1158015611868573d6000803e3d6000fd5b5050505060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631bd39674856040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156118d257600080fd5b505afa1580156118e6573d6000803e3d6000fd5b505050506040513d60208110156118fc57600080fd5b50516040805160a0810182526001600160a01b038b166000908152600d6020529190912054919250908190611931908461264c565b81526001600160a01b038a166000908152600d602090815260409091206001015491019061195f908761264c565b81526008805463ffffffff9081166020808501919091524280831660408087019190915260609586018d90526001600160a01b038f166000908152600d845281902087518155928701516001840155860151600283018054968801518516600160201b0267ffffffff000000001992861663ffffffff1990981697909717919091169590951790945560809094015160039490940193909355548892611a09929181169061264c16565b604080518d8152905187917f1fec6dc81f140574bf43f6b1e420ae1dd47928b9d57db8cbd7b8611063b85ae5919081900360200190a4611a4761200f565b611a4f6125aa565b611a57611079565b6040517f375b221f40939bfd8f49723a17cf7bc6d576ebf72efe2cc3e991826f5b3f390a90600090a4611a886126fd565b509198975050505050505050565b6000546001600160a01b03163314611ae3576040805162461bcd60e51b81526020600482018190526024820152600080516020612e1d833981519152604482015290519081900360640190fd5b6001600160a01b038116611af657600080fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b60007f000000000000000000000000000000000000000000000000000000000000000015611c0c57611170633b9aca00610f4a7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166332da80a37f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611bd857600080fd5b505afa158015611bec573d6000803e3d6000fd5b505050506040513d6020811015611c0257600080fd5b505161116a61200f565b61117061200f565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000546001600160a01b03163314611c85576040805162461bcd60e51b81526020600482018190526024820152600080516020612e1d833981519152604482015290519081900360640190fd5b6040805160a0810182529415158086526020860185905290850183905263ffffffff918216606086018190524290921660809095018590526009805460ff19169091179055600a92909255600b55600c805463ffffffff191690911767ffffffff000000001916600160201b909202919091179055565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415611d3d57600080fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415611d7c57600080fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415611dbb57600080fd5b611e697f0000000000000000000000000000000000000000000000000000000000000000836001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611e2c57600080fd5b505afa158015611e40573d6000803e3d6000fd5b505050506040513d6020811015611e5657600080fd5b50516001600160a01b03851691906126a6565b506001919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b600d6020526000908152604090208054600182015460028301546003909301549192909163ffffffff80831692600160201b9004169085565b600080600080611f00612d1d565b506001600160a01b038086166000908152600d6020908152604091829020825160a0810184528154808252600183015482850152600283015463ffffffff80821684880152600160201b90910416606083015260039092015460808201528351637965d56d60e01b81526004810192909252925192937f00000000000000000000000000000000000000000000000000000000000000001692637965d56d92602480840193919291829003018186803b158015611fbc57600080fd5b505afa158015611fd0573d6000803e3d6000fd5b505050506040513d6020811015611fe657600080fd5b505160408201516060830151608090930151919863ffffffff9182169850921695509350915050565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561206b57600080fd5b505afa15801561207f573d6000803e3d6000fd5b505050506040513d602081101561209557600080fd5b505190506120c1670de0b6b3a7640000610f4a61106e6120bb633b9aca0061116a611032565b856123f6565b91505090565b6000546001600160a01b03163314612114576040805162461bcd60e51b81526020600482018190526024820152600080516020612e1d833981519152604482015290519081900360640190fd5b6040805160c08101825288815260208101889052908101869052606081018590526080810184905263ffffffff91821660a09091018190526003979097556004959095556005939093556006919091556007556008805463ffffffff199081169094179055600e55600f805490921642909116179055565b60035460045460055460065460075460085463ffffffff1686565b7f000000000000000000000000000000000000000000000000000000000000000081565b60006121f662989680610f4a633b9aca006121f06121e761200f565b6003549061235b565b9061264c565b6004549091508110156107c8575060045490565b6000611048620186a0610f4a6003600201547f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561227557600080fd5b505afa158015612289573d6000803e3d6000fd5b505050506040513d602081101561229f57600080fd5b50519061235b565b600f5460009081906122c59063ffffffff4281169181169061280816565b600854600e549192506122ea9163ffffffff91821691610f4a91908086169061235b16565b9150600e548211156122fc57600e5491505b5090565b600f5463ffffffff1681565b600e5481565b600061235483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061284a565b9392505050565b60008261236a57506000610d7f565b8282028284828161237757fe5b04146123545760405162461bcd60e51b8152600401808060200182810382526021815260200180612dd96021913960400191505060405180910390fd5b600061235483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506128e1565b6123fe612d58565b6000821161243d5760405162461bcd60e51b8152600401808060200182810382526026815260200180612db36026913960400191505060405180910390fd5b826124575750604080516020810190915260008152610d7f565b71ffffffffffffffffffffffffffffffffffff83116124fe57600082607085901b8161247f57fe5b0490506001600160e01b038111156124de576040805162461bcd60e51b815260206004820152601e60248201527f4669786564506f696e743a3a6672616374696f6e3a206f766572666c6f770000604482015290519081900360640190fd5b6040518060200160405280826001600160e01b0316815250915050610d7f565b600061250f84600160701b85612946565b90506001600160e01b038111156124de576040805162461bcd60e51b815260206004820152601e60248201527f4669786564506f696e743a3a6672616374696f6e3a206f766572666c6f770000604482015290519081900360640190fd5b516612725dd1d243ab6001600160e01b039091160490565b61259061103f6122a7565b600e55600f805463ffffffff19164263ffffffff16179055565b60006125c662989680610f4a633b9aca006121f06121e761200f565b6004549091508110156125dc57506004546107c8565b600454156107c857600060045590565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526126469085906129e6565b50505050565b600082820183811015612354576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526126f89084906129e6565b505050565b600c5460009061271f9063ffffffff600160201b820481169181169061264c16565b600a54909150158015906127335750804210155b156128055760035460095460ff161561276d57600a546003546127559161264c565b6003819055600b5411612768576000600a555b61278f565b600a5460035461277c91612312565b6003819055600b541061278f576000600a555b600c805467ffffffff000000001916600160201b4263ffffffff1602179055600354600a546009546040805185815260208101949094528381019290925260ff1615156060830152517fb923e581a0f83128e9e1d8297aa52b18d6744310476e0b54509c054cd7a93b2a916080908290030190a1505b50565b600061235483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612a97565b600081848411156128d95760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561289e578181015183820152602001612886565b50505050905090810190601f1680156128cb5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836129305760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561289e578181015183820152602001612886565b50600083858161293c57fe5b0495945050505050565b60008060006129558686612af6565b915091506000848061296357fe5b868809905082811115612977576001820391505b80830392508482106129d0576040805162461bcd60e51b815260206004820152601a60248201527f46756c6c4d6174683a3a6d756c4469763a206f766572666c6f77000000000000604482015290519081900360640190fd5b6129db838387612b23565b979650505050505050565b6060612a3b826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612b939092919063ffffffff16565b8051909150156126f857808060200190516020811015612a5a57600080fd5b50516126f85760405162461bcd60e51b815260040180806020018281038252602a815260200180612e60602a913960400191505060405180910390fd5b60008363ffffffff168363ffffffff16111582906128d95760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561289e578181015183820152602001612886565b6000808060001984860990508385029250828103915082811015612b1b576001820391505b509250929050565b60008181038216808381612b3357fe5b049250808581612b3f57fe5b049450808160000381612b4e57fe5b60028581038087028203028087028203028087028203028087028203028087028203028087028203029586029003909402930460010193909302939093010292915050565b6060612ba28484600085612baa565b949350505050565b6060612bb585612d17565b612c06576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612c455780518252601f199092019160209182019101612c26565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612ca7576040519150601f19603f3d011682016040523d82523d6000602084013e612cac565b606091505b50915091508115612cc0579150612ba29050565b805115612cd05780518082602001fd5b60405162461bcd60e51b815260206004820181815286516024840152865187939192839260440191908501908083836000831561289e578181015183820152602001612886565b3b151590565b6040518060a001604052806000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600081525090565b6040805160208101909152600081529056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e61626c653a206d757374206265206e6577206f776e657220746f2070756c6c4669786564506f696e743a3a6672616374696f6e3a206469766973696f6e206279207a65726f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7756657374696e67206d757374206265206c6f6e676572207468616e203320686f7572734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572536c697070616765206c696d69743a206d6f7265207468616e206d61782070726963655361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a264697066735822122060fcea8a758d1f55c3fd2f21c07e58074f6981ece7bbec659c919167ba3b08e164736f6c6343000705003300000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000a9a779aea33b6f40cfc78a29cf56fc7e6fb329ab000000000000000000000000ace14532d052a71869506856ef8ad7cf8a1361280000000000000000000000008f3cf7ad23cd3cadbd9735aff958023239c6a063000000000000000000000000884f6a98477b0f689f1da280a83a963f2b768972000000000000000000000000cd75ae2bea3625734ab03d956662634b5887eb89000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054441493434000000000000000000000000000000000000000000000000000000

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000a9a779aea33b6f40cfc78a29cf56fc7e6fb329ab000000000000000000000000ace14532d052a71869506856ef8ad7cf8a1361280000000000000000000000008f3cf7ad23cd3cadbd9735aff958023239c6a063000000000000000000000000884f6a98477b0f689f1da280a83a963f2b768972000000000000000000000000cd75ae2bea3625734ab03d956662634b5887eb89000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054441493434000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): DAI44
Arg [1] : _MAMA (address): 0xa9a779aea33b6f40cfc78a29cf56fc7e6fb329ab
Arg [2] : _sMAMA (address): 0xace14532d052a71869506856ef8ad7cf8a136128
Arg [3] : _principle (address): 0x8f3cf7ad23cd3cadbd9735aff958023239c6a063
Arg [4] : _treasury (address): 0x884f6a98477b0f689f1da280a83a963f2b768972
Arg [5] : _DAO (address): 0xcd75ae2bea3625734ab03d956662634b5887eb89
Arg [6] : _bondCalculator (address): 0x0000000000000000000000000000000000000000

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [1] : 000000000000000000000000a9a779aea33b6f40cfc78a29cf56fc7e6fb329ab
Arg [2] : 000000000000000000000000ace14532d052a71869506856ef8ad7cf8a136128
Arg [3] : 0000000000000000000000008f3cf7ad23cd3cadbd9735aff958023239c6a063
Arg [4] : 000000000000000000000000884f6a98477b0f689f1da280a83a963f2b768972
Arg [5] : 000000000000000000000000cd75ae2bea3625734ab03d956662634b5887eb89
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [8] : 4441493434000000000000000000000000000000000000000000000000000000


Deployed ByteCode Sourcemap

21776:17432:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22604:34;;;:::i;:::-;;;;-1:-1:-1;;;;;22604:34:0;;;;;;;;;;;;;;38122:396;;;;;;;;;;;;;;;;-1:-1:-1;38122:396:0;-1:-1:-1;;;;;38122:396:0;;:::i;:::-;;;;;;;;;;;;;;;;693:89;;;:::i;38625:::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;918:158;;;:::i;:::-;;22532:30;;;:::i;26753:826::-;;;;;;;;;;;;;;;;-1:-1:-1;26753:826:0;;;;;;;;;:::i;31538:671::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;31538:671:0;;;;;;;;;;:::i;23133:24::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1084:260;;;;;;;;;;;;;;;;-1:-1:-1;1084:260:0;-1:-1:-1;;;;;1084:260:0;;:::i;23004:22::-;;;:::i;37510:439::-;;;;;;;;;;;;;;;;-1:-1:-1;37510:439:0;-1:-1:-1;;;;;37510:439:0;;:::i;1356:221::-;;;:::i;22674:33::-;;;:::i;36841:106::-;;;:::i;33908:161::-;;;;;;;;;;;;;;;;-1:-1:-1;33908:161:0;;:::i;23445:26::-;;;:::i;35012:331::-;;;:::i;28623:2697::-;;;;;;;;;;;;;;;;-1:-1:-1;28623:2697:0;;;;;;;;;;;-1:-1:-1;;;;;28623:2697:0;;:::i;28252:142::-;;;;;;;;;;;;;;;;-1:-1:-1;28252:142:0;-1:-1:-1;;;;;28252:142:0;;:::i;36467:275::-;;;:::i;22752:28::-;;;:::i;27775:373::-;;;;;;;;;;;;;;;;-1:-1:-1;27775:373:0;;;;;;;;;;;;;;;;;;;;;:::i;38899:306::-;;;;;;;;;;;;;;;;-1:-1:-1;38899:306:0;-1:-1:-1;;;;;38899:306:0;;:::i;:::-;;;;;;;;;;;;;;;;;;22923:39;;;:::i;22453:29::-;;;:::i;23199:43::-;;;;;;;;;;;;;;;;-1:-1:-1;23199:43:0;-1:-1:-1;;;;;23199:43:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35611:339;;;;;;;;;;;;;;;;-1:-1:-1;35611:339:0;-1:-1:-1;;;;;35611:339:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36075:271;;;:::i;25901:598::-;;;;;;;;;;;;;;;;-1:-1:-1;25901:598:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;23078:18::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22824:37;;;:::i;34174:261::-;;;:::i;33638:141::-;;;:::i;37049:298::-;;;:::i;23375:23::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23293:21;;;:::i;22604:34::-;;;:::o;38122:396::-;38194:19;38227:18;38248:30;38266:10;38248:16;:30::i;:::-;38227:51;;38289:11;38310:5;-1:-1:-1;;;;;38303:28:0;;38332:9;:23;38343:10;-1:-1:-1;;;;;38332:23:0;-1:-1:-1;;;;;38332:23:0;;;;;;;;;;;;:34;;;38303:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38303:64:0;;-1:-1:-1;38402:5:0;38385:22;;38380:131;;38442:6;38425:23;;38380:131;;;38498:1;38481:18;;38380:131;38122:396;;;;;:::o;693:89::-;741:7;768:6;-1:-1:-1;;;;;768:6:0;693:89;;:::o;38625:::-;38701:5;38694:12;;;;;;;;-1:-1:-1;;38694:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38662:19;;38694:12;;38701:5;;38694:12;;38701:5;38694:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38625:89;:::o;918:158::-;832:6;;-1:-1:-1;;;;;832:6:0;842:10;832:20;823:67;;;;;-1:-1:-1;;;823:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;823:67:0;;;;;;;;;;;;;;;1034:1:::1;1018:6:::0;;1001:37:::1;::::0;-1:-1:-1;;;;;1018:6:0;;::::1;::::0;1001:37:::1;::::0;1034:1;;1001:37:::1;1066:1;1049:19:::0;;-1:-1:-1;;;;;;1049:19:0::1;::::0;;918:158::o;22532:30::-;;;:::o;26753:826::-;832:6;;-1:-1:-1;;;;;832:6:0;842:10;832:20;823:67;;;;;-1:-1:-1;;;823:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;823:67:0;;;;;;;;;;;;;;;26865:17:::1;26851:10;:31;;;;;;;;;26846:726;;;26924:5;26914:6;:15;;26905:65;;;;-1:-1:-1::0;;;26905:65:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26985:17:::0;:34;;-1:-1:-1;;26985:34:0::1;;::::0;::::1;;::::0;;26846:726:::1;;;27056:16;27042:10;:30;;;;;;;;;27037:535;;;27114:4;27104:6;:14;;27095:61;;;::::0;;-1:-1:-1;;;27095:61:0;;::::1;;::::0;::::1;::::0;;;;;;;::::1;::::0;;;;;;;;;;;;;::::1;;27171:15:::0;:24;;;27037:535:::1;;;27232:13;27218:10;:27;;;;;;;;;27213:359;;;27287:5;27277:6;:15;;27268:58;;;::::0;;-1:-1:-1;;;27268:58:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;27341:9:::0;:18;;;27213:359:::1;;;27396:14;27382:10;:28;;;;;;;;;27377:195;;;27433:13:::0;:22;;;27377:195:::1;;;27492:18;27478:10;:32;;;;;;;;;27473:99;;;27533:18:::0;:27;;;27473:99:::1;26753:826:::0;;:::o;31538:671::-;31607:4;31633:16;;:::i;:::-;-1:-1:-1;;;;;;31652:23:0;;;;;;:9;:23;;;;;;;;31633:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;31633:42:0;;;;;;;;;;;;;;;;;31707:30;31663:10;31707:16;:30::i;:::-;31686:51;;31837:5;31820:13;:22;;31810:57;;;;;-1:-1:-1;;;31810:57:0;;;;;;;;;;;;-1:-1:-1;;;31810:57:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;31905:23:0;;;;;;;:9;:23;;;;;;;;31898:30;;;;;;;;;;;;;;-1:-1:-1;;31898:30:0;;;;;;;;32003:15;;31974:45;;-1:-1:-1;;;31974:45:0;;31898:30;31974:45;;;;;;;;31905:23;;31981:5;31974:28;;;;:45;;;;;31905:23;;31974:45;;;;;;:28;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31974:45:0;32035:38;;;;;;32070:1;31974:45;32035:38;;;;;31974:45;;-1:-1:-1;;;;;;32035:38:0;;;;;;;;;;;;;;32110:5;-1:-1:-1;;;;;32102:24:0;;32128:10;32140:7;32102:47;;;;;;;;;;;;;-1:-1:-1;;;;;32102:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32194:7:0;;-1:-1:-1;;;;31538:671:0;;;;;:::o;23133:24::-;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;23133:24:0;;;;:::o;1084:260::-;832:6;;-1:-1:-1;;;;;832:6:0;842:10;832:20;823:67;;;;;-1:-1:-1;;;823:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;823:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;1186:23:0;::::1;1177:75;;;;-1:-1:-1::0;;;1177:75:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1285:6;::::0;;1268:36:::1;::::0;-1:-1:-1;;;;;1268:36:0;;::::1;::::0;1285:6;::::1;::::0;1268:36:::1;::::0;::::1;1315:9;:21:::0;;-1:-1:-1;;;;;;1315:21:0::1;-1:-1:-1::0;;;;;1315:21:0;;;::::1;::::0;;;::::1;::::0;;1084:260::o;23004:22::-;;;-1:-1:-1;;;;;23004:22:0;;:::o;37510:439::-;37580:19;37613:16;;:::i;:::-;-1:-1:-1;;;;;;37632:23:0;;;;;;:9;:23;;;;;;;;37613:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;37613:42:0;;;;;;;;;;;;;;;;;;;;;37632:23;37690:44;;37697:15;37690:27;;;37613:42;37690:27;:44;:::i;:::-;37760:12;;;;37666:68;;-1:-1:-1;37745:27:0;;37790:11;;37785:157;;37836:43;37870:7;37836:28;:15;37857:5;37836:19;:28::i;:::-;:32;;:43::i;:::-;37819:60;;37785:157;;;37929:1;37912:18;;37785:157;37510:439;;;;;;:::o;1356:221::-;1440:9;;-1:-1:-1;;;;;1440:9:0;1426:10;:23;1417:71;;;;-1:-1:-1;;;1417:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1529:9;;;1521:6;;1504:36;;-1:-1:-1;;;;;1529:9:0;;;;1521:6;;;;1504:36;;;1560:9;;;1551:18;;-1:-1:-1;;;;;;1551:18:0;-1:-1:-1;;;;;1560:9:0;;;1551:18;;;;;;1356:221::o;22674:33::-;;;:::o;36841:106::-;36886:4;36911:28;36926:11;:9;:11::i;:::-;36911:9;;;:13;:28::i;:::-;36904:35;;36841:106;:::o;33908:161::-;33964:4;33989:72;34055:4;33989:60;:42;34010:6;34018:11;:9;:11::i;:::-;33989:19;:42::i;:::-;:58;:60::i;23445:26::-;;;;:::o;35012:331::-;35060:11;35089:15;35085:251;;;35131:85;35211:3;35131:74;35165:14;-1:-1:-1;;;;;35148:42:0;;35192:9;35148:55;;;;;;;;;;;;;-1:-1:-1;;;;;35148:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35148:55:0;35131:11;:9;:11::i;:::-;:15;;:74::i;:85::-;35122:94;;35085:251;;;35258:66;35319:3;35258:55;35289:9;-1:-1:-1;;;;;35281:28:0;;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35281:30:0;35275:36;;:2;:36;35258:11;:9;:11::i;28623:2697::-;28745:4;-1:-1:-1;;;;;28772:24:0;;28763:54;;;;;-1:-1:-1;;;28763:54:0;;;;;;;;;;;;-1:-1:-1;;;28763:54:0;;;;;;;;;;;;;;;28830:11;:9;:11::i;:::-;28874:13;;28861:9;;:26;;28852:61;;;;;-1:-1:-1;;;28852:61:0;;;;;;;;;;;;-1:-1:-1;;;28852:61:0;;;;;;;;;;;;;;;28934:15;28952:16;:14;:16::i;:::-;28934:34;;29070:12;:10;:12::i;:::-;29057:9;:25;;29048:75;;;;-1:-1:-1;;;29048:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29159:10;29183:8;-1:-1:-1;;;;;29172:29:0;;29203:9;29214:7;29172:51;;;;;;;;;;;;;-1:-1:-1;;;;;29172:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29172:51:0;;-1:-1:-1;29234:11:0;29248:18;29172:51;29248:9;:18::i;:::-;29234:32;;29330:8;29320:6;:18;;29311:47;;;;;-1:-1:-1;;;29311:47:0;;;;;;;;;;;;-1:-1:-1;;;29311:47:0;;;;;;;;;;;;;;;29436:11;:9;:11::i;:::-;29426:6;:21;;29417:49;;;;;-1:-1:-1;;;29417:49:0;;;;;;;;;;;;-1:-1:-1;;;29417:49:0;;;;;;;;;;;;;;;29562:8;29573:36;29602:5;29573:23;29585:5;:9;;;29573:6;:10;;:23;;;;:::i;:36::-;29562:47;-1:-1:-1;29620:11:0;29634:30;29562:47;29634:19;:5;29645:6;29634:9;:19::i;:::-;:23;;:30::i;:::-;29620:44;-1:-1:-1;29846:74:0;-1:-1:-1;;;;;29854:9:0;29846:36;29884:10;29904:4;29911:7;29846:36;:74::i;:::-;29939:9;-1:-1:-1;;;;;29931:27:0;;29969:8;29981:7;29931:59;;;;;;;;;;;;;-1:-1:-1;;;;;29931:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;30001:59:0;;;-1:-1:-1;;;30001:59:0;;;;;;;;-1:-1:-1;;;;;30041:9:0;30001:59;;;;;;;;;;;;;;30012:8;30001:29;;;;;;:59;;;;;29931;;30001;;;;;;;;-1:-1:-1;30001:29:0;:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;30096:14:0;;:27;;30115:7;30096:18;:27::i;:::-;30081:14;:42;30149:8;;30144:113;;30205:39;-1:-1:-1;;;;;30213:4:0;30205:27;30234:3;30239;30205:27;:39::i;:::-;30325:9;;:22;;30340:5;30325:13;:22::i;:::-;30313:9;:34;30449:7;;30425:41;;;-1:-1:-1;;;30425:41:0;;-1:-1:-1;;;;;30449:7:0;;;30425:41;;;;;;;;;;;;30433:4;30425:22;;;;;;:41;;;;;;;;;;;;;;;-1:-1:-1;30425:22:0;:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;30487:7:0;;30477:50;;;-1:-1:-1;;;30477:50:0;;;;;;;;30520:4;30477:50;;;;;;-1:-1:-1;;;;;30487:7:0;;;;30477:25;;:50;;;;;30425:41;;30477:50;;;;;;;;30487:7;;30477:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;30548:7:0;;30538:42;;;-1:-1:-1;;;30538:42:0;;30573:4;30538:42;;;;;;-1:-1:-1;;;;;30548:7:0;;;;30538:25;;:42;;;;;30548:7;;30538:42;;;;;;;;30548:7;;30538:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30591:14;30613:5;-1:-1:-1;;;;;30606:28:0;;30635:6;30606:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30606:36:0;30718:296;;;;;;;;-1:-1:-1;;;;;30751:23:0;;-1:-1:-1;30751:23:0;;;:9;30606:36;30751:23;;;;;:34;30606:36;;-1:-1:-1;30718:296:0;;;30751:51;;30606:36;30751:38;:51::i;:::-;30718:296;;-1:-1:-1;;;;;30829:23:0;;;;;;:9;30718:296;30829:23;;;;;;;:34;;;30718:296;;;30829:48;;30869:6;30829:38;:48::i;:::-;30718:296;;30901:17;;;;;;;30718:296;;;;;;;;30950:15;30718:296;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30692:23:0;;30901:17;30692:23;;;:9;:23;;;;;:322;;;;;;;;30901:17;30692:322;;;;;;;;;;;;;;;;;-1:-1:-1;;;30692:322:0;-1:-1:-1;;30692:322:0;;;-1:-1:-1;;30692:322:0;;;;;;;;;;;;;;;;;;;;;;;30901:5;30692:322;;;;;;;;31122:17;30992:10;;31101:40;;30950:15;31122:17;;;31101:19;:40;:::i;:::-;31071:84;;;;;;;;31093:6;;31071:84;;;;;;;;;;31221:11;:9;:11::i;:::-;31207:12;:10;:12::i;:::-;31189:16;:14;:16::i;:::-;31171:63;;;;;;;31247:8;:6;:8::i;:::-;-1:-1:-1;31305:6:0;;28623:2697;-1:-1:-1;;;;;;;;28623:2697:0:o;28252:142::-;832:6;;-1:-1:-1;;;;;832:6:0;842:10;832:20;823:67;;;;;-1:-1:-1;;;823:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;823:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;28333:22:0;::::1;28324:33;;;::::0;::::1;;28368:7;:18:::0;;-1:-1:-1;;;;;;28368:18:0::1;-1:-1:-1::0;;;;;28368:18:0;;;::::1;::::0;;;::::1;::::0;;28252:142::o;36467:275::-;36524:4;36547:15;36542:193;;;36587:85;36667:3;36587:74;36621:14;-1:-1:-1;;;;;36604:42:0;;36648:9;36604:55;;;;;;;;;;;;;-1:-1:-1;;;;;36604:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36604:55:0;36587:11;:9;:11::i;36542:193::-;36712:11;:9;:11::i;22752:28::-;;;:::o;27775:373::-;832:6;;-1:-1:-1;;;;;832:6:0;842:10;832:20;823:67;;;;;-1:-1:-1;;;823:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;823:67:0;;;;;;;;;;;;;;;27953:187:::1;::::0;;::::1;::::0;::::1;::::0;;;::::1;;::::0;;;::::1;::::0;::::1;::::0;;;;;;;;;::::1;::::0;;::::1;::::0;;;;;;28112:15:::1;27953:187:::0;;::::1;::::0;;;;;;;27940:10:::1;:200:::0;;-1:-1:-1;;27940:200:0::1;::::0;;::::1;::::0;;;;;;;;;;;;-1:-1:-1;;27940:200:0::1;::::0;;::::1;-1:-1:-1::0;;27940:200:0::1;-1:-1:-1::0;;;27940:200:0;;::::1;::::0;;;::::1;::::0;;27775:373::o;38899:306::-;38962:4;38999;-1:-1:-1;;;;;38989:14:0;:6;-1:-1:-1;;;;;38989:14:0;;;38980:25;;;;;;39035:5;-1:-1:-1;;;;;39025:15:0;:6;-1:-1:-1;;;;;39025:15:0;;;39016:26;;;;;;39072:9;-1:-1:-1;;;;;39062:19:0;:6;-1:-1:-1;;;;;39062:19:0;;;39053:30;;;;;;39094:81;39125:3;39138:6;-1:-1:-1;;;;;39130:26:0;;39166:4;39130:43;;;;;;;;;;;;;-1:-1:-1;;;;;39130:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39130:43:0;-1:-1:-1;;;;;39094:29:0;;;:81;:29;:81::i;:::-;-1:-1:-1;39193:4:0;38899:306;;;:::o;22923:39::-;;;:::o;22453:29::-;;;:::o;23199:43::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;23199:43:0;;;;;:::o;35611:339::-;35671:11;35683:12;35696:13;35710:14;35738:16;;:::i;:::-;-1:-1:-1;;;;;;35757:23:0;;;;;;;:9;:23;;;;;;;;;35738:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;35738:42:0;;;;;;;;;;;;;;;;;35798:45;;-1:-1:-1;;;35798:45:0;;35738:42;35798:45;;;;;;;;35738:42;;35805:5;35798:28;;;;:45;;;;;35757:23;;35798:45;;;;;;:28;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35798:45:0;35862:12;;;;35894:13;;;;35928:14;;;;;35798:45;;35854:20;;;;;-1:-1:-1;35885:22:0;;;-1:-1:-1;35928:14:0;-1:-1:-1;35611:339:0;-1:-1:-1;;35611:339:0:o;36075:271::-;36118:15;36150:11;36172:4;-1:-1:-1;;;;;36164:26:0;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36164:28:0;;-1:-1:-1;36216:122:0;36332:4;36216:110;:92;36251:24;36270:3;36251:13;:11;:13::i;:24::-;36291:6;36216:19;:92::i;:122::-;36203:135;;36075:271;;:::o;25901:598::-;832:6;;-1:-1:-1;;;;;832:6:0;842:10;832:20;823:67;;;;;-1:-1:-1;;;823:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;823:67:0;;;;;;;;;;;;;;;26169:241:::1;::::0;;::::1;::::0;::::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;;;;;;;;;;;;;;;;;::::1;::::0;;::::1;::::0;;;;;;;26161:5:::1;:249:::0;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;26161:249:0;;::::1;::::0;;::::1;::::0;;26421:9:::1;:24:::0;26456:9:::1;:35:::0;;;;::::1;26475:15;26456:35:::0;;::::1;;::::0;;25901:598::o;23078:18::-;;;;;;;;;;;;;;;;:::o;22824:37::-;;;:::o;34174:261::-;34217:11;34259:69;34323:3;34259:58;34305:10;34259:40;34286:11;:9;:11::i;:::-;34259:5;:21;;:25;:40::i;:::-;:44;;:58::i;:69::-;34353:18;;34250:78;;-1:-1:-1;34344:27:0;;34339:89;;;-1:-1:-1;34398:18:0;;34174:261;:::o;33638:141::-;33681:4;33706:65;33763:6;33706:51;33740:5;:15;;;33714:4;-1:-1:-1;;;;;33706:26:0;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33706:28:0;;:32;:51::i;37049:298::-;37172:9;;37092:11;;;;37141:42;;37172:9;37148:15;37141:29;;;37172:9;;;37141:29;:42;:::i;:::-;37239:17;;37203:9;;37118:65;;-1:-1:-1;37203:55:0;;37239:17;;;;;37203:30;;:9;:30;;;;:13;:30;:::i;:55::-;37194:64;;37283:9;;37274:6;:18;37269:71;;;37319:9;;37310:18;;37269:71;37049:298;;:::o;23375:23::-;;;;;;:::o;23293:21::-;;;;:::o;2145:136::-;2203:7;2230:43;2234:1;2237;2230:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;2223:50;2145:136;-1:-1:-1;;;2145:136:0:o;2489:250::-;2547:7;2571:6;2567:47;;-1:-1:-1;2601:1:0;2594:8;;2567:47;2638:5;;;2642:1;2638;:5;:1;2662:5;;;;;:10;2654:56;;;;-1:-1:-1;;;2654:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2747:132;2805:7;2832:39;2836:1;2839;2832:39;;;;;;;;;;;;;;;;;:3;:39::i;20302:719::-;20383:16;;:::i;:::-;20434:1;20420:11;:15;20412:66;;;;-1:-1:-1;;;20412:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20493:14;20489:50;;-1:-1:-1;20516:23:0;;;;;;;;;-1:-1:-1;20516:23:0;;20509:30;;20489:50;20556:24;;;20552:462;;20597:14;20642:11;19728:3;20615:23;;;20642:11;20614:39;;;;;;-1:-1:-1;;;;;;20676:21:0;;;20668:64;;;;;-1:-1:-1;;;20668:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;20754:26;;;;;;;;20772:6;-1:-1:-1;;;;;20754:26:0;;;;20747:33;;;;;20552:462;20813:14;20830:45;20846:9;-1:-1:-1;;;20863:11:0;20830:15;:45::i;:::-;20813:62;-1:-1:-1;;;;;;20898:21:0;;;20890:64;;;;;-1:-1:-1;;;20890:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;20157:137;20259:7;20270:16;-1:-1:-1;;;;;20254:13:0;;;:32;;20157:137::o;33358:135::-;33411:28;33426:11;:9;:11::i;33411:28::-;33399:9;:40;33450:9;:35;;-1:-1:-1;;33450:35:0;33469:15;33450:35;;;;;33358:135::o;34562:345::-;34603:11;34637:69;34701:3;34637:58;34683:10;34637:40;34664:11;:9;:11::i;34637:69::-;34731:18;;34628:78;;-1:-1:-1;34722:27:0;;34717:183;;;-1:-1:-1;34776:18:0;;34717:183;;;34825:18;;:23;34820:80;;34887:1;34866:18;:22;34562:345;:::o;16839:205::-;16967:68;;;-1:-1:-1;;;;;16967:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16967:68:0;-1:-1:-1;;;16967:68:0;;;16940:96;;16960:5;;16940:19;:96::i;:::-;16839:205;;;;:::o;1956:181::-;2014:7;2046:5;;;2070:6;;;;2062:46;;;;;-1:-1:-1;;;2062:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;16654:177;16764:58;;;-1:-1:-1;;;;;16764:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16764:58:0;-1:-1:-1;;;16764:58:0;;;16737:86;;16757:5;;16737:19;:86::i;:::-;16654:177;;;:::o;32368:929::-;32453:17;;32406:19;;32428:44;;32453:17;-1:-1:-1;;;32428:19:0;;;;;32453:17;;;32428:23;:44;:::i;:::-;32487:15;;32406:66;;-1:-1:-1;32487:20:0;;;;:57;;;32530:14;32511:15;:33;;32487:57;32483:807;;;32577:5;:21;32618:10;:14;;;32613:494;;;32705:15;;32678:5;:21;:44;;:25;:44::i;:::-;32654:5;:68;;;32771:17;;-1:-1:-1;32741:112:0;;32832:1;32814:15;:19;32741:112;32613:494;;;32944:15;;32917:5;:21;:44;;:25;:44::i;:::-;32893:5;:68;;;33010:17;;-1:-1:-1;32980:112:0;;33071:1;33053:15;:19;32980:112;33121:19;:45;;-1:-1:-1;;33121:45:0;-1:-1:-1;;;33150:15:0;33121:45;;;;;;:19;33222:21;33245:15;;33121:10;33262:14;33186:92;;;;;;;;;;;;;;;;;;;;33262:14;;33186:92;;;;;;;;;;;;;;;;;32483:807;;32368:929;:::o;1611:137::-;1669:6;1695:45;1701:1;1704;1695:45;;;;;;;;;;;;;;;;;:5;:45::i;2289:192::-;2375:7;2411:12;2403:6;;;;2395:29;;;;-1:-1:-1;;;2395:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2447:5:0;;;2289:192::o;2887:189::-;2973:7;3008:12;3001:5;2993:28;;;;-1:-1:-1;;;2993:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3032:9;3048:1;3044;:5;;;;;;;2887:189;-1:-1:-1;;;;;2887:189:0:o;19202:347::-;19308:7;19329:9;19340;19353:13;19361:1;19364;19353:7;:13::i;:::-;19328:38;;;;19377:10;19403:1;19390:15;;;;;19400:1;19397;19390:15;19377:28;;19425:1;19420:2;:6;19416:18;;;19433:1;19428:6;;;;19416:18;19450:2;19445:7;;;;19475:1;19471;:5;19463:44;;;;;-1:-1:-1;;;19463:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;19525:16;19533:1;19536;19539;19525:7;:16::i;:::-;19518:23;19202:347;-1:-1:-1;;;;;;;19202:347:0:o;18043:420::-;18126:23;18152:69;18180:4;18152:69;;;;;;;;;;;;;;;;;18160:5;-1:-1:-1;;;;;18152:27:0;;;:69;;;;;:::i;:::-;18236:17;;18126:95;;-1:-1:-1;18236:21:0;18232:224;;18378:10;18367:30;;;;;;;;;;;;;;;-1:-1:-1;18367:30:0;18359:85;;;;-1:-1:-1;;;18359:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1756:190;1842:6;1874:1;1869:6;;:1;:6;;;;1877:12;1861:29;;;;;-1:-1:-1;;;1861:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18494:210;18555:9;;;-1:-1:-1;;18611:1:0;18608;18601:25;18588:38;;18645:1;18641;:5;18637:9;;18666:1;18661:2;:6;18657:10;;18687:1;18682:2;:6;18678:18;;;18695:1;18690:6;;;;18678:18;18494:210;;;;;;:::o;18712:482::-;18818:7;18857:2;;;18853:6;;;18858:1;18853:6;18870:9;;;;;;;18895:4;18890:9;;;;;;;;;18930:4;18922;18921:5;;18920:14;;;;;18979:1;:9;;;19008:5;;;19004:9;;18999:14;19033:5;;;19029:9;;19024:14;19058:5;;;19054:9;;19049:14;19083:5;;;19079:9;;19074:14;19108:5;;;19104:9;;19099:14;19133:5;;;19129:9;;19124:14;19158:5;;;19154:9;;19149:14;;;18920;;18937:1;18920:18;18915:24;;;;18910:29;;;;19181:5;;18712:482;-1:-1:-1;;18712:482:0:o;4588:196::-;4691:12;4723:53;4746:6;4754:4;4760:1;4763:12;4723:22;:53::i;:::-;4716:60;4588:196;-1:-1:-1;;;;4588:196:0:o;5564:979::-;5694:12;5727:18;5738:6;5727:10;:18::i;:::-;5719:60;;;;;-1:-1:-1;;;5719:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;5853:12;5867:23;5894:6;-1:-1:-1;;;;;5894:11:0;5914:8;5925:4;5894:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5894:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5852:78;;;;5945:7;5941:595;;;5976:10;-1:-1:-1;5969:17:0;;-1:-1:-1;5969:17:0;5941:595;6090:17;;:21;6086:439;;6353:10;6347:17;6414:15;6401:10;6397:2;6393:19;6386:44;6301:148;6489:20;;-1:-1:-1;;;6489:20:0;;;;;;;;;;;;;;;;;6496:12;;6489:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3761:233;3939:20;3978:8;;;3761:233::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://60fcea8a758d1f55c3fd2f21c07e58074f6981ece7bbec659c919167ba3b08e1
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.