Contract 0x62fe9864E814cE3D3A9eDf8a73dDDbBb06471aa8

 

Contract Overview

Balance:
0 MATIC

MATIC Value:
$0.00

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xf3aff6928c9bf2d848e74378d269ec6dbecbef35eb608cb952dc712722307e48Redeem244589492022-02-02 11:24:13242 days 15 hrs ago0xd8a0a62ebc0c348f81831fa1f804fb49a49422fb IN  0x62fe9864e814ce3d3a9edf8a73dddbbb06471aa80 MATIC0.000097847356 1.500036128
0x6340de09870fbf6548b24b00bc51c3ae3a3e984d753e88798a292e1174fbb844Redeem243857692022-01-31 15:14:12244 days 11 hrs ago0x4cf257d4fe050ca4bfbb99a9fdb882b6f075ffc5 IN  0x62fe9864e814ce3d3a9edf8a73dddbbb06471aa80 MATIC0.000319521712 3.765990667
0x68b730a38955703b87ca31e1ec9ee78b9ed263b347ec48eb24936ec48af1e7b9Deposit243335552022-01-30 6:59:44245 days 19 hrs ago0xd8a0a62ebc0c348f81831fa1f804fb49a49422fb IN  0x62fe9864e814ce3d3a9edf8a73dddbbb06471aa80 MATIC0.013049342094 33.872399987
0xcb746208ffd8a8aa82b5bbb2eed485388f8cdc78a075861fee7aa71274f824c2Redeem243302672022-01-30 4:58:12245 days 21 hrs ago0x1de799c360024c7f79d933e0f8dddc0841487d53 IN  0x62fe9864e814ce3d3a9edf8a73dddbbb06471aa80 MATIC0.002440880052 37.419593011
0xe1547fe77f45bee658210ba226e6fe55bb31c8250b34cc1aaacea7995684619aRedeem242845212022-01-29 0:38:13247 days 2 hrs ago0x2596f8b47b9c4a6296e7539b7345904ba17fc696 IN  0x62fe9864e814ce3d3a9edf8a73dddbbb06471aa80 MATIC0.000122749814 1.881800014
0xc2440ad4b4484b07d32cc84a1d7ee07763c80e1177ee313d6417410e192cf6c8Redeem242832862022-01-28 23:55:47247 days 3 hrs ago0x34769304b4b65369c98e0676527f215b3d8e72de IN  0x62fe9864e814ce3d3a9edf8a73dddbbb06471aa80 MATIC0.0028804538 33.95
0x39076ddc9b7f0dec55cc34ae8a4e03b577badf6f4a41e00e763ead87473d79edRedeem242475762022-01-28 1:46:50248 days 1 hr ago0x29e21d0b48a74011696753d578c8db6ad558f6fe IN  0x62fe9864e814ce3d3a9edf8a73dddbbb06471aa80 MATIC0.00204568023 31.369690098
0xeb35f1709d07d45e313eb43c602da854b9ad67a416ebb9e2a824a63079a2637bDeposit242389652022-01-27 20:39:57248 days 6 hrs ago0x4cf257d4fe050ca4bfbb99a9fdb882b6f075ffc5 IN  0x62fe9864e814ce3d3a9edf8a73dddbbb06471aa80 MATIC0.011942963316 31.392666653
0x1a3adb7549a0375cc2405e9f02fac9fd64b73d4704f53c7a43f2428bc957623dRedeem242371652022-01-27 19:35:47248 days 7 hrs agoMAMA DAO: Deployer IN  0x62fe9864e814ce3d3a9edf8a73dddbbb06471aa80 MATIC0.001961466089 30.069999836
0xc7c011316e0d8496db64cf65a6bb5d428c32acbd26362c39c01d92e87f749780Redeem242104592022-01-27 3:30:35248 days 23 hrs ago0x3a38c3bc6ca32f4c0794c90d0e7f5216d4d4ebff IN  0x62fe9864e814ce3d3a9edf8a73dddbbb06471aa80 MATIC0.002784870163 35.05759487
0xe9e94e53cd1d43ca80487d75b8158b25edf1927d0e42b2c016cb7b326e1d33f9Redeem242104282022-01-27 3:29:29248 days 23 hrs ago0x4353802e2aa25e63088303fffdd297ad2455308a IN  0x62fe9864e814ce3d3a9edf8a73dddbbb06471aa80 MATIC0.002798155119 32.979999989
0x212657045cf55ce5452c678471710208a9d2ef616e18a7ac94c2ea4d837bd6cdRedeem241963962022-01-26 19:08:08249 days 7 hrs ago0x825058d7660ee88baeaea4603046152f272f734c IN  0x62fe9864e814ce3d3a9edf8a73dddbbb06471aa80 MATIC0.062634479927 960.474758133
0xe79d921dc2d716fe58d2cb642d65ebf6456fb435942659b517fc5f24e7abe6caRedeem241953222022-01-26 18:27:34249 days 8 hrs ago0xb70f3738c7e855801494608a4e5ba49fd6a90b1a IN  0x62fe9864e814ce3d3a9edf8a73dddbbb06471aa80 MATIC0.002148342455 32.943974351
0xe99a437f3ea6555d9afbd47d64b1fa89960a5318aaa8711c9cc37947cf26398dRedeem241903812022-01-26 15:19:08249 days 11 hrs ago0x3fbd7a1b4fcc8053571ee636c48f84b7711b0df5 IN  0x62fe9864e814ce3d3a9edf8a73dddbbb06471aa80 MATIC0.008966561047 137.498635942
0xc7c7b58505ae37672eaf00cd1cbc3a0e5a4b58b9353baaf05b233974aa15b74bDeposit241656402022-01-26 0:20:36250 days 2 hrs ago0x2596f8b47b9c4a6296e7539b7345904ba17fc696 IN  0x62fe9864e814ce3d3a9edf8a73dddbbb06471aa80 MATIC0.038698195807 115.623997753
0x209ac360eafbc4581f57c92ff19166e67485b5286bc998bf2df3c5aa58e96bbfDeposit241608162022-01-25 21:32:17250 days 5 hrs ago0x1de799c360024c7f79d933e0f8dddc0841487d53 IN  0x62fe9864e814ce3d3a9edf8a73dddbbb06471aa80 MATIC0.018555893368 48.164348854
0xa7fd1e6463bee5df4983fde4d3dbf4190079e5280d1e7c7e44355523d3ddacafRedeem241499072022-01-25 15:12:25250 days 11 hrs ago0x587360e4384ce01f97d72cd0c929fe9ffd0a556b IN  0x62fe9864e814ce3d3a9edf8a73dddbbb06471aa80 MATIC0.0124898725191.47435996
0x2b9918eb63d12ca57139d08bf48fa00a5ef8ff86f0415cfb3cea1ed6dcb8928cRedeem241497132022-01-25 15:03:37250 days 11 hrs ago0x419c1b5e9c561b34a95c48194562ede6a0a12b1d IN  0x62fe9864e814ce3d3a9edf8a73dddbbb06471aa80 MATIC0.0254532300
0xd48c5a56de7b27ef68daf44c0bb910cebc1a1e13616936ba7e5d28983ff47ba7Deposit241014412022-01-24 10:19:40251 days 16 hrs ago0x5c35ae532e9276aec5f8657aec477585e411802a IN  0x62fe9864e814ce3d3a9edf8a73dddbbb06471aa80 MATIC0.712823094946 1,827.629683525
0x7d273f8f4a698d08dd36339f5f408697f02d8770e26d49b78e26e20594d68db4Redeem240943642022-01-24 6:05:14251 days 20 hrs ago0x4e6f30cf9fe16127ca871ed0f626a92147e38699 IN  0x62fe9864e814ce3d3a9edf8a73dddbbb06471aa80 MATIC0.002274155329 34.863641416
0x8f99db09a59496c83545f26321cbf57eb9bd29485926f2157e24be6a2a833e0dDeposit240920702022-01-24 4:42:48251 days 22 hrs agoMAMA DAO: Deployer IN  0x62fe9864e814ce3d3a9edf8a73dddbbb06471aa80 MATIC0.011053270866 32.63189382
0x72eef4931bbdfc065b964cd8053a2f8d61099f7569e50341e5b8f1229b4ff020Deposit240766102022-01-23 19:31:44252 days 7 hrs ago0x34769304b4b65369c98e0676527f215b3d8e72de IN  0x62fe9864e814ce3d3a9edf8a73dddbbb06471aa80 MATIC0.003704066368 57.303006943
0xf5f4083f4f6c0553e3b5027991d013ced906354e1df5130e9bd21c1fc67a83adDeposit240766102022-01-23 19:31:44252 days 7 hrs ago0x34769304b4b65369c98e0676527f215b3d8e72de IN  0x62fe9864e814ce3d3a9edf8a73dddbbb06471aa80 MATIC0.003700195778 57.243127769
0x3801f1da511635abe1c5778edc9e23b18aa64d42361a93166feb10e0c47bf9bfDeposit240759292022-01-23 19:07:33252 days 7 hrs ago0x34769304b4b65369c98e0676527f215b3d8e72de IN  0x62fe9864e814ce3d3a9edf8a73dddbbb06471aa80 MATIC0.003820237917 59.100215315
0xd12b82a1305fedb37eee95b2c275805ed56b8ff52afe0d0cfa2195f52dd6d59bDeposit240757182022-01-23 19:00:19252 days 7 hrs ago0x3a38c3bc6ca32f4c0794c90d0e7f5216d4d4ebff IN  0x62fe9864e814ce3d3a9edf8a73dddbbb06471aa80 MATIC0.07157995552 215.310439224
[ 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 2022-01-07
*/

// 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) );
        
        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)
        IStaking( staking ).claim( address(this) );
        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"}]

6101606040523480156200001257600080fd5b50604051620032c3380380620032c3833981810160405260e08110156200003857600080fd5b81019080805160405193929190846401000000008211156200005957600080fd5b9083019060208201858111156200006f57600080fd5b82516401000000008111828201881017156200008a57600080fd5b82525081516020918201929091019080838360005b83811015620000b95781810151838201526020016200009f565b50505050905090810190601f168015620000e75780820380516001836020036101000a031916815260200191505b5060408181526020830151908301516060840151608085015160a086015160c090960151600080546001600160a01b031916331780825595995093975091959094909391926001600160a01b039290921691907fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba908290a36001600160a01b0386166200017357600080fd5b6001600160601b0319606087901b166080526001600160a01b0385166200019957600080fd5b6001600160601b0319606086901b1660a0526001600160a01b038416620001bf57600080fd5b6001600160601b0319606085901b1660c0526001600160a01b038316620001e557600080fd5b6001600160601b0319606084901b1660e0526001600160a01b0382166200020b57600080fd5b6001600160601b0319606083811b82166101005282901b16610140526001600160a01b038116151560f81b6101205286516200024f9060119060208a01906200025d565b505050505050505062000309565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282620002955760008555620002e0565b82601f10620002b057805160ff1916838001178555620002e0565b82800160010185558215620002e0579182015b82811115620002e0578251825591602001919060010190620002c3565b50620002ee929150620002f2565b5090565b5b80821115620002ee5760008155600101620002f3565b60805160601c60a05160601c60c05160601c60e05160601c6101005160601c6101205160f81c6101405160601c612ec5620003fe600039806111105280611b535280611e795250806110e25280611b2252806121af5250806117155280611c1c5280611dc65250806110755280611374528061157752806116595250806106b2528061113f52806111e652806113a3528061151e528061154852806116285280611b825280611d845250806106e652806108fa5280610c825280610d3d52806118915280611d455280611f7e5250806116f352806117765280611d065280611e9d528061201a52806122245250612ec56000f3fe608060405234801561001057600080fd5b50600436106102275760003560e01c80638dbdbe6d11610130578063cd1234b3116100b8578063d7ccfb0b1161007c578063d7ccfb0b1461066f578063e0176de814610677578063e392a2621461067f578063f5c2ab5b14610687578063fc7b9c18146106a857610227565b8063cd1234b31461058b578063cea55f57146105d7578063cf37a891146105df578063d502562514610626578063d79690601461066757610227565b8063ae9832cf116100ff578063ae9832cf146104b2578063b4abccba146104e9578063c5332b7c14610523578063c69a46b91461052b578063c6b2c4cd1461053357610227565b80638dbdbe6d1461044a5780638ff390991461047c578063904b3ece146104a257806398fabd3a146104aa57610227565b806346f68ee9116101b357806361d027b31161018257806361d027b31461040d578063759076e5146104155780637927ebf81461041d578063839c27881461043a578063844b5c7c1461044257610227565b806346f68ee9146103b15780634cf088d9146103d7578063507930ec146103df5780635a96ac0a1461040557610227565b8063089208d8116101fa578063089208d81461030d57806308ca20e7146103175780631e321a0f1461031f5780631feed31f14610345578063451ee4a11461037357610227565b8063016a42841461022c57806301b88ee8146102505780630505c8c91461028857806306fdde0314610290575b600080fd5b6102346106b0565b604080516001600160a01b039092168252519081900360200190f35b6102766004803603602081101561026657600080fd5b50356001600160a01b03166106d4565b60408051918252519081900360200190f35b6102346107bb565b6102986107cb565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102d25781810151838201526020016102ba565b50505050905090810190601f1680156102ff5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610315610861565b005b6102346108f8565b6103156004803603604081101561033557600080fd5b5060ff813516906020013561091c565b6102766004803603604081101561035b57600080fd5b506001600160a01b0381351690602001351515610afe565b61037b610dea565b60408051951515865260208601949094528484019290925263ffffffff9081166060850152166080830152519081900360a00190f35b610315600480360360208110156103c757600080fd5b50356001600160a01b0316610e10565b610234610efd565b610276600480360360208110156103f557600080fd5b50356001600160a01b0316610f0c565b610315610fc9565b610234611073565b610276611097565b6102766004803603602081101561043357600080fd5b50356110b2565b6102766110d8565b6102766110de565b6102766004803603606081101561046057600080fd5b50803590602081013590604001356001600160a01b0316611277565b6103156004803603602081101561049257600080fd5b50356001600160a01b0316611a9c565b610276611b1e565b610234611c1a565b610315600480360360808110156104c857600080fd5b5080351515906020810135906040810135906060013563ffffffff16611c3e565b61050f600480360360208110156104ff57600080fd5b50356001600160a01b0316611d02565b604080519115158252519081900360200190f35b610234611e77565b610234611e9b565b6105596004803603602081101561054957600080fd5b50356001600160a01b0316611ebf565b60408051958652602086019490945263ffffffff92831685850152911660608401526080830152519081900360a00190f35b6105b1600480360360208110156105a157600080fd5b50356001600160a01b0316611ef8565b604080519485526020850193909352838301919091526060830152519081900360800190f35b610276612015565b610315600480360360e08110156105f557600080fd5b5080359060208101359060408101359060608101359060808101359060a08101359060c0013563ffffffff166120cd565b61062e612192565b604080519687526020870195909552858501939093526060850191909152608084015263ffffffff1660a0830152519081900360c00190f35b61050f6121ad565b6102766121d1565b610276612210565b6102766122ad565b61068f612306565b6040805163ffffffff9092168252519081900360200190f35b610276612312565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000806106e083610f0c565b905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316637965d56d600d6000876001600160a01b03166001600160a01b03168152602001908152602001600020600001546040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561077057600080fd5b505afa158015610784573d6000803e3d6000fd5b505050506040513d602081101561079a57600080fd5b5051905061271082106107af578092506107b4565b600092505b5050919050565b6000546001600160a01b03165b90565b60118054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108575780601f1061082c57610100808354040283529160200191610857565b820191906000526020600020905b81548152906001019060200180831161083a57829003601f168201915b5050505050905090565b6000546001600160a01b031633146108ae576040805162461bcd60e51b81526020600482018190526024820152600080516020612e23833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba908390a3600080546001600160a01b0319169055565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000546001600160a01b03163314610969576040805162461bcd60e51b81526020600482018190526024820152600080516020612e23833981519152604482015290519081900360640190fd5b600082600481111561097757fe5b14156109d8576127108110156109be5760405162461bcd60e51b8152600401808060200182810382526023815260200180612e006023913960400191505060405180910390fd5b6008805463ffffffff191663ffffffff8316179055610afa565b60018260048111156109e657fe5b1415610a4d576103e8811115610a43576040805162461bcd60e51b815260206004820181905260248201527f5061796f75742063616e6e6f742062652061626f766520312070657263656e74604482015290519081900360640190fd5b6005819055610afa565b6002826004811115610a5b57fe5b1415610ac257612710811115610ab8576040805162461bcd60e51b815260206004820152601c60248201527f44414f206665652063616e6e6f7420657863656564207061796f757400000000604482015290519081900360640190fd5b6006819055610afa565b6003826004811115610ad057fe5b1415610ae0576007819055610afa565b6004826004811115610aee57fe5b1415610afa5760048190555b5050565b6000610b08612d23565b506001600160a01b0383166000908152600d60209081526040808320815160a08101835281548152600182015493810193909352600281015463ffffffff80821693850193909352600160201b9004909116606083015260030154608082015290610b7285610f0c565b60025460408051630f41a04d60e11b815230600482015290519293506001600160a01b0390911691631e83409a9160248082019260009290919082900301818387803b158015610bc157600080fd5b505af1158015610bd5573d6000803e3d6000fd5b50505050612710811015610c27576040805162461bcd60e51b81526020600482015260146024820152731b9bdd081e595d08199d5b1b1e481d995cdd195960621b604482015290519081900360640190fd5b6001600160a01b038086166000908152600d602090815260408083208381556001810184905560028101805467ffffffffffffffff1916905560030183905585518151637965d56d60e01b81526004810191909152905192937f00000000000000000000000000000000000000000000000000000000000000001692637965d56d92602480840193919291829003018186803b158015610cc657600080fd5b505afa158015610cda573d6000803e3d6000fd5b505050506040513d6020811015610cf057600080fd5b5051604080518281526000602082015281519293506001600160a01b038916927f51c99f515c87b0d95ba97f616edd182e8f161c4932eac17c6fefe9dab58b77b1929181900390910190a27f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb87836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015610db257600080fd5b505af1158015610dc6573d6000803e3d6000fd5b505050506040513d6020811015610ddc57600080fd5b509093505050505b92915050565b600954600a54600b54600c5460ff9093169263ffffffff80821691600160201b90041685565b6000546001600160a01b03163314610e5d576040805162461bcd60e51b81526020600482018190526024820152600080516020612e23833981519152604482015290519081900360640190fd5b6001600160a01b038116610ea25760405162461bcd60e51b8152600401808060200182810382526026815260200180612d716026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917fea8258f2d9ddb679928cf34b78cf645b7feda9acc828e4dd82d014eaae270eba91a3600180546001600160a01b0319166001600160a01b0392909216919091179055565b6002546001600160a01b031681565b6000610f16612d23565b506001600160a01b0382166000908152600d60209081526040808320815160a08101835281548152600182015493810193909352600281015463ffffffff80821693850193909352600160201b90048216606084018190526003909101546080840152919291610f8b91428116919061231816565b604083015190915063ffffffff168015610fbc57610fb581610faf84612710612361565b906123ba565b9350610fc1565b600093505b505050919050565b6001546001600160a01b031633146110125760405162461bcd60e51b8152600401808060200182810382526022815260200180612d976022913960400191505060405180910390fd5b600154600080546040516001600160a01b0393841693909116917faa151555690c956fc3ea32f106bb9f119b5237a061eaa8557cff3e51e3792c8d91a3600154600080546001600160a01b0319166001600160a01b03909216919091179055565b7f000000000000000000000000000000000000000000000000000000000000000081565b60006110ad6110a46122ad565b600e5490612318565b905090565b6000610de4662386f26fc10000610faf6110d3856110ce6121d1565b6123fc565b612573565b60105481565b60007f0000000000000000000000000000000000000000000000000000000000000000156111dc576111d56064610faf7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166332da80a37f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561119b57600080fd5b505afa1580156111af573d6000803e3d6000fd5b505050506040513d60208110156111c557600080fd5b50516111cf6121d1565b90612361565b90506107c8565b6110ad6064610faf7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561123d57600080fd5b505afa158015611251573d6000803e3d6000fd5b505050506040513d602081101561126757600080fd5b505160ff16600a0a6111cf6121d1565b60006001600160a01b0382166112c6576040805162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b604482015290519081900360640190fd5b6112ce61258b565b600754600e54111561131e576040805162461bcd60e51b815260206004820152601460248201527313585e0818d85c1858da5d1e481c995858da195960621b604482015290519081900360640190fd5b60006113286110de565b90506113326125b0565b8410156113705760405162461bcd60e51b8152600401808060200182810382526023815260200180612e436023913960400191505060405180910390fd5b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631eec5a9a7f0000000000000000000000000000000000000000000000000000000000000000886040518363ffffffff1660e01b815260040180836001600160a01b031681526020018281526020019250505060206040518083038186803b15801561140757600080fd5b505afa15801561141b573d6000803e3d6000fd5b505050506040513d602081101561143157600080fd5b505190506000611440826110b2565b90506298968081101561148b576040805162461bcd60e51b815260206004820152600e60248201526d109bdb99081d1bdbc81cdb585b1b60921b604482015290519081900360640190fd5b611493612210565b8111156114d8576040805162461bcd60e51b815260206004820152600e60248201526d426f6e6420746f6f206c6172676560901b604482015290519081900360640190fd5b60006114f7612710610faf60038001548561236190919063ffffffff16565b9050600061150f826115098686612318565b90612318565b90506115466001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633308c6125f2565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663095ea7b37f00000000000000000000000000000000000000000000000000000000000000008b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156115dd57600080fd5b505af11580156115f1573d6000803e3d6000fd5b505050506040513d602081101561160757600080fd5b50506040805163bc157ac160e01b8152600481018b90526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660248301526044820184905291517f00000000000000000000000000000000000000000000000000000000000000009092169163bc157ac1916064808201926020929091908290030181600087803b1580156116a457600080fd5b505af11580156116b8573d6000803e3d6000fd5b505050506040513d60208110156116ce57600080fd5b50506010546116dd908a612652565b601055811561173a5761173a6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f0000000000000000000000000000000000000000000000000000000000000000846126ac565b600e546117479085612652565b600e556002546040805163095ea7b360e01b81526001600160a01b0392831660048201526024810186905290517f00000000000000000000000000000000000000000000000000000000000000009092169163095ea7b3916044808201926020929091908290030181600087803b1580156117c157600080fd5b505af11580156117d5573d6000803e3d6000fd5b505050506040513d60208110156117eb57600080fd5b505060025460408051637acb775760e01b81526004810186905230602482015290516001600160a01b0390921691637acb7757916044808201926020929091908290030181600087803b15801561184157600080fd5b505af1158015611855573d6000803e3d6000fd5b505050506040513d602081101561186b57600080fd5b5050604080516306f4e59d60e21b81526004810185905290516000916001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001691631bd3967491602480820192602092909190829003018186803b1580156118d857600080fd5b505afa1580156118ec573d6000803e3d6000fd5b505050506040513d602081101561190257600080fd5b50516040805160a0810182526001600160a01b038b166000908152600d60205291909120549192509081906119379084612652565b81526001600160a01b038a166000908152600d60209081526040909120600101549101906119659087612652565b81526008805463ffffffff9081166020808501919091524280831660408087019190915260609586018d90526001600160a01b038f166000908152600d845281902087518155928701516001840155860151600283018054968801518516600160201b0267ffffffff000000001992861663ffffffff1990981697909717919091169590951790945560809094015160039490940193909355548892611a0f929181169061265216565b604080518d8152905187917f1fec6dc81f140574bf43f6b1e420ae1dd47928b9d57db8cbd7b8611063b85ae5919081900360200190a4611a4d612015565b611a556125b0565b611a5d6110de565b6040517f375b221f40939bfd8f49723a17cf7bc6d576ebf72efe2cc3e991826f5b3f390a90600090a4611a8e612703565b509198975050505050505050565b6000546001600160a01b03163314611ae9576040805162461bcd60e51b81526020600482018190526024820152600080516020612e23833981519152604482015290519081900360640190fd5b6001600160a01b038116611afc57600080fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b60007f000000000000000000000000000000000000000000000000000000000000000015611c12576111d5633b9aca00610faf7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166332da80a37f00000000000000000000000000000000000000000000000000000000000000006040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611bde57600080fd5b505afa158015611bf2573d6000803e3d6000fd5b505050506040513d6020811015611c0857600080fd5b50516111cf612015565b6111d5612015565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000546001600160a01b03163314611c8b576040805162461bcd60e51b81526020600482018190526024820152600080516020612e23833981519152604482015290519081900360640190fd5b6040805160a0810182529415158086526020860185905290850183905263ffffffff918216606086018190524290921660809095018590526009805460ff19169091179055600a92909255600b55600c805463ffffffff191690911767ffffffff000000001916600160201b909202919091179055565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415611d4357600080fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415611d8257600080fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161415611dc157600080fd5b611e6f7f0000000000000000000000000000000000000000000000000000000000000000836001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015611e3257600080fd5b505afa158015611e46573d6000803e3d6000fd5b505050506040513d6020811015611e5c57600080fd5b50516001600160a01b03851691906126ac565b506001919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b600d6020526000908152604090208054600182015460028301546003909301549192909163ffffffff80831692600160201b9004169085565b600080600080611f06612d23565b506001600160a01b038086166000908152600d6020908152604091829020825160a0810184528154808252600183015482850152600283015463ffffffff80821684880152600160201b90910416606083015260039092015460808201528351637965d56d60e01b81526004810192909252925192937f00000000000000000000000000000000000000000000000000000000000000001692637965d56d92602480840193919291829003018186803b158015611fc257600080fd5b505afa158015611fd6573d6000803e3d6000fd5b505050506040513d6020811015611fec57600080fd5b505160408201516060830151608090930151919863ffffffff9182169850921695509350915050565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561207157600080fd5b505afa158015612085573d6000803e3d6000fd5b505050506040513d602081101561209b57600080fd5b505190506120c7670de0b6b3a7640000610faf6110d36120c1633b9aca006111cf611097565b856123fc565b91505090565b6000546001600160a01b0316331461211a576040805162461bcd60e51b81526020600482018190526024820152600080516020612e23833981519152604482015290519081900360640190fd5b6040805160c08101825288815260208101889052908101869052606081018590526080810184905263ffffffff91821660a09091018190526003979097556004959095556005939093556006919091556007556008805463ffffffff199081169094179055600e55600f805490921642909116179055565b60035460045460055460065460075460085463ffffffff1686565b7f000000000000000000000000000000000000000000000000000000000000000081565b60006121fc62989680610faf633b9aca006121f66121ed612015565b60035490612361565b90612652565b6004549091508110156107c8575060045490565b60006110ad620186a0610faf6003600201547f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561227b57600080fd5b505afa15801561228f573d6000803e3d6000fd5b505050506040513d60208110156122a557600080fd5b505190612361565b600f5460009081906122cb9063ffffffff4281169181169061280e16565b600854600e549192506122f09163ffffffff91821691610faf91908086169061236116565b9150600e5482111561230257600e5491505b5090565b600f5463ffffffff1681565b600e5481565b600061235a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612850565b9392505050565b60008261237057506000610de4565b8282028284828161237d57fe5b041461235a5760405162461bcd60e51b8152600401808060200182810382526021815260200180612ddf6021913960400191505060405180910390fd5b600061235a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506128e7565b612404612d5e565b600082116124435760405162461bcd60e51b8152600401808060200182810382526026815260200180612db96026913960400191505060405180910390fd5b8261245d5750604080516020810190915260008152610de4565b71ffffffffffffffffffffffffffffffffffff831161250457600082607085901b8161248557fe5b0490506001600160e01b038111156124e4576040805162461bcd60e51b815260206004820152601e60248201527f4669786564506f696e743a3a6672616374696f6e3a206f766572666c6f770000604482015290519081900360640190fd5b6040518060200160405280826001600160e01b0316815250915050610de4565b600061251584600160701b8561294c565b90506001600160e01b038111156124e4576040805162461bcd60e51b815260206004820152601e60248201527f4669786564506f696e743a3a6672616374696f6e3a206f766572666c6f770000604482015290519081900360640190fd5b516612725dd1d243ab6001600160e01b039091160490565b6125966110a46122ad565b600e55600f805463ffffffff19164263ffffffff16179055565b60006125cc62989680610faf633b9aca006121f66121ed612015565b6004549091508110156125e257506004546107c8565b600454156107c857600060045590565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261264c9085906129ec565b50505050565b60008282018381101561235a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526126fe9084906129ec565b505050565b600c546000906127259063ffffffff600160201b820481169181169061265216565b600a54909150158015906127395750804210155b1561280b5760035460095460ff161561277357600a5460035461275b91612652565b6003819055600b541161276e576000600a555b612795565b600a5460035461278291612318565b6003819055600b5410612795576000600a555b600c805467ffffffff000000001916600160201b4263ffffffff1602179055600354600a546009546040805185815260208101949094528381019290925260ff1615156060830152517fb923e581a0f83128e9e1d8297aa52b18d6744310476e0b54509c054cd7a93b2a916080908290030190a1505b50565b600061235a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612a9d565b600081848411156128df5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156128a457818101518382015260200161288c565b50505050905090810190601f1680156128d15780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836129365760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156128a457818101518382015260200161288c565b50600083858161294257fe5b0495945050505050565b600080600061295b8686612afc565b915091506000848061296957fe5b86880990508281111561297d576001820391505b80830392508482106129d6576040805162461bcd60e51b815260206004820152601a60248201527f46756c6c4d6174683a3a6d756c4469763a206f766572666c6f77000000000000604482015290519081900360640190fd5b6129e1838387612b29565b979650505050505050565b6060612a41826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612b999092919063ffffffff16565b8051909150156126fe57808060200190516020811015612a6057600080fd5b50516126fe5760405162461bcd60e51b815260040180806020018281038252602a815260200180612e66602a913960400191505060405180910390fd5b60008363ffffffff168363ffffffff16111582906128df5760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156128a457818101518382015260200161288c565b6000808060001984860990508385029250828103915082811015612b21576001820391505b509250929050565b60008181038216808381612b3957fe5b049250808581612b4557fe5b049450808160000381612b5457fe5b60028581038087028203028087028203028087028203028087028203028087028203028087028203029586029003909402930460010193909302939093010292915050565b6060612ba88484600085612bb0565b949350505050565b6060612bbb85612d1d565b612c0c576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310612c4b5780518252601f199092019160209182019101612c2c565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612cad576040519150601f19603f3d011682016040523d82523d6000602084013e612cb2565b606091505b50915091508115612cc6579150612ba89050565b805115612cd65780518082602001fd5b60405162461bcd60e51b81526020600482018181528651602484015286518793919283926044019190850190808383600083156128a457818101518382015260200161288c565b3b151590565b6040518060a001604052806000815260200160008152602001600063ffffffff168152602001600063ffffffff168152602001600081525090565b6040805160208101909152600081529056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e61626c653a206d757374206265206e6577206f776e657220746f2070756c6c4669786564506f696e743a3a6672616374696f6e3a206469766973696f6e206279207a65726f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7756657374696e67206d757374206265206c6f6e676572207468616e203320686f7572734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572536c697070616765206c696d69743a206d6f7265207468616e206d61782070726963655361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220d913cd0eeacb445da454d2e0ce35f5fccd7cdf6be0f3b57f8346eade0615e6b964736f6c6343000705003300000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000a9a779aea33b6f40cfc78a29cf56fc7e6fb329ab000000000000000000000000ace14532d052a71869506856ef8ad7cf8a1361280000000000000000000000008f3cf7ad23cd3cadbd9735aff958023239c6a063000000000000000000000000884f6a98477b0f689f1da280a83a963f2b768972000000000000000000000000fc5733d49e8d60b9802677bbc62a3e29d6ba4ed1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000056461693434000000000000000000000000000000000000000000000000000000

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

00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000a9a779aea33b6f40cfc78a29cf56fc7e6fb329ab000000000000000000000000ace14532d052a71869506856ef8ad7cf8a1361280000000000000000000000008f3cf7ad23cd3cadbd9735aff958023239c6a063000000000000000000000000884f6a98477b0f689f1da280a83a963f2b768972000000000000000000000000fc5733d49e8d60b9802677bbc62a3e29d6ba4ed1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000056461693434000000000000000000000000000000000000000000000000000000

-----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): 0xfc5733d49e8d60b9802677bbc62a3e29d6ba4ed1
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] : 000000000000000000000000fc5733d49e8d60b9802677bbc62a3e29d6ba4ed1
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [8] : 6461693434000000000000000000000000000000000000000000000000000000


Deployed ByteCode Sourcemap

21776:17440:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22604:34;;;:::i;:::-;;;;-1:-1:-1;;;;;22604:34:0;;;;;;;;;;;;;;38130:396;;;;;;;;;;;;;;;;-1:-1:-1;38130:396:0;-1:-1:-1;;;;;38130:396:0;;:::i;:::-;;;;;;;;;;;;;;;;693:89;;;:::i;38633:::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;918:158;;;:::i;:::-;;22532:30;;;:::i;26753:826::-;;;;;;;;;;;;;;;;-1:-1:-1;26753:826:0;;;;;;;;;:::i;31495:722::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;31495:722:0;;;;;;;;;;:::i;23133:24::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1084:260;;;;;;;;;;;;;;;;-1:-1:-1;1084:260:0;-1:-1:-1;;;;;1084:260:0;;:::i;23004:22::-;;;:::i;37518:439::-;;;;;;;;;;;;;;;;-1:-1:-1;37518:439:0;-1:-1:-1;;;;;37518:439:0;;:::i;1356:221::-;;;:::i;22674:33::-;;;:::i;36849:106::-;;;:::i;33916:161::-;;;;;;;;;;;;;;;;-1:-1:-1;33916:161:0;;:::i;23445:26::-;;;:::i;35020:331::-;;;:::i;28623:2654::-;;;;;;;;;;;;;;;;-1:-1:-1;28623:2654:0;;;;;;;;;;;-1:-1:-1;;;;;28623:2654:0;;:::i;28252:142::-;;;;;;;;;;;;;;;;-1:-1:-1;28252:142:0;-1:-1:-1;;;;;28252:142:0;;:::i;36475:275::-;;;:::i;22752:28::-;;;:::i;27775:373::-;;;;;;;;;;;;;;;;-1:-1:-1;27775:373:0;;;;;;;;;;;;;;;;;;;;;:::i;38907:306::-;;;;;;;;;;;;;;;;-1:-1:-1;38907:306:0;-1:-1:-1;;;;;38907:306:0;;:::i;:::-;;;;;;;;;;;;;;;;;;22923:39;;;:::i;22453:29::-;;;:::i;23199:43::-;;;;;;;;;;;;;;;;-1:-1:-1;23199:43:0;-1:-1:-1;;;;;23199:43:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35619:339;;;;;;;;;;;;;;;;-1:-1:-1;35619:339:0;-1:-1:-1;;;;;35619:339:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36083:271;;;:::i;25901:598::-;;;;;;;;;;;;;;;;-1:-1:-1;25901:598:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;23078:18::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22824:37;;;:::i;34182:261::-;;;:::i;33646:141::-;;;:::i;37057:298::-;;;:::i;23375:23::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23293:21;;;:::i;22604:34::-;;;:::o;38130:396::-;38202:19;38235:18;38256:30;38274:10;38256:16;:30::i;:::-;38235:51;;38297:11;38318:5;-1:-1:-1;;;;;38311:28:0;;38340:9;:23;38351:10;-1:-1:-1;;;;;38340:23:0;-1:-1:-1;;;;;38340:23:0;;;;;;;;;;;;:34;;;38311:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38311:64:0;;-1:-1:-1;38410:5:0;38393:22;;38388:131;;38450:6;38433:23;;38388:131;;;38506:1;38489:18;;38388:131;38130:396;;;;;:::o;693:89::-;741:7;768:6;-1:-1:-1;;;;;768:6:0;693:89;;:::o;38633:::-;38709:5;38702:12;;;;;;;;-1:-1:-1;;38702:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38670:19;;38702:12;;38709:5;;38702:12;;38709:5;38702:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38633: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;31495:722::-;31564:4;31590:16;;:::i;:::-;-1:-1:-1;;;;;;31609:23:0;;;;;;:9;:23;;;;;;;;31590:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;31590:42:0;;;;;;;;;;;;;;;;;31664:30;31620:10;31664:16;:30::i;:::-;31775:7;;31765:42;;;-1:-1:-1;;;31765:42:0;;31800:4;31765:42;;;;;;31643:51;;-1:-1:-1;;;;;;31775:7:0;;;;31765:25;;:42;;;;;31775:7;;31765:42;;;;;;;;31775:7;;31765:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31845:5;31828:13;:22;;31818:57;;;;;-1:-1:-1;;;31818:57:0;;;;;;;;;;;;-1:-1:-1;;;31818:57:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;31913:23:0;;;;;;;:9;:23;;;;;;;;31906:30;;;;;;;;;;;;;;-1:-1:-1;;31906:30:0;;;;;;;;32011:15;;31982:45;;-1:-1:-1;;;31982:45:0;;31906:30;31982:45;;;;;;;;31913:23;;31989:5;31982:28;;;;:45;;;;;31913:23;;31982:45;;;;;;:28;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;31982:45:0;32043:38;;;;;;32078:1;31982:45;32043:38;;;;;31982:45;;-1:-1:-1;;;;;;32043:38:0;;;;;;;;;;;;;;32118:5;-1:-1:-1;;;;;32110:24:0;;32136:10;32148:7;32110:47;;;;;;;;;;;;;-1:-1:-1;;;;;32110:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32202:7:0;;-1:-1:-1;;;;31495:722: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;37518:439::-;37588:19;37621:16;;:::i;:::-;-1:-1:-1;;;;;;37640:23:0;;;;;;:9;:23;;;;;;;;37621:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;37621:42:0;;;;;;;;;;;;;;;;;;;;;37640:23;37698:44;;37705:15;37698:27;;;37621:42;37698:27;:44;:::i;:::-;37768:12;;;;37674:68;;-1:-1:-1;37753:27:0;;37798:11;;37793:157;;37844:43;37878:7;37844:28;:15;37865:5;37844:19;:28::i;:::-;:32;;:43::i;:::-;37827:60;;37793:157;;;37937:1;37920:18;;37793:157;37518: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;36849:106::-;36894:4;36919:28;36934:11;:9;:11::i;:::-;36919:9;;;:13;:28::i;:::-;36912:35;;36849:106;:::o;33916:161::-;33972:4;33997:72;34063:4;33997:60;:42;34018:6;34026:11;:9;:11::i;:::-;33997:19;:42::i;:::-;:58;:60::i;23445:26::-;;;;:::o;35020:331::-;35068:11;35097:15;35093:251;;;35139:85;35219:3;35139:74;35173:14;-1:-1:-1;;;;;35156:42:0;;35200:9;35156:55;;;;;;;;;;;;;-1:-1:-1;;;;;35156:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35156:55:0;35139:11;:9;:11::i;:::-;:15;;:74::i;:85::-;35130:94;;35093:251;;;35266:66;35327:3;35266:55;35297:9;-1:-1:-1;;;;;35289:28:0;;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35289:30:0;35283:36;;:2;:36;35266:11;:9;:11::i;28623:2654::-;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;;30563:36:0;;;-1:-1:-1;;;30563:36:0;;;;;;;;;;30548:14;;-1:-1:-1;;;;;30570:5:0;30563:28;;;;:36;;;;;30477:50;;30563:36;;;;;;;;:28;:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30563:36:0;30675:296;;;;;;;;-1:-1:-1;;;;;30708:23:0;;-1:-1:-1;30708:23:0;;;:9;30563:36;30708:23;;;;;:34;30563:36;;-1:-1:-1;30675:296:0;;;30708:51;;30563:36;30708:38;:51::i;:::-;30675:296;;-1:-1:-1;;;;;30786:23:0;;;;;;:9;30675:296;30786:23;;;;;;;:34;;;30675:296;;;30786:48;;30826:6;30786:38;:48::i;:::-;30675:296;;30858:17;;;;;;;30675:296;;;;;;;;30907:15;30675:296;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30649:23:0;;30858:17;30649:23;;;:9;:23;;;;;:322;;;;;;;;30858:17;30649:322;;;;;;;;;;;;;;;;;-1:-1:-1;;;30649:322:0;-1:-1:-1;;30649:322:0;;;-1:-1:-1;;30649:322:0;;;;;;;;;;;;;;;;;;;;;;;30858:5;30649:322;;;;;;;;31079:17;30949:10;;31058:40;;30907:15;31079:17;;;31058:19;:40;:::i;:::-;31028:84;;;;;;;;31050:6;;31028:84;;;;;;;;;;31178:11;:9;:11::i;:::-;31164:12;:10;:12::i;:::-;31146:16;:14;:16::i;:::-;31128:63;;;;;;;31204:8;:6;:8::i;:::-;-1:-1:-1;31262:6:0;;28623:2654;-1:-1:-1;;;;;;;;28623:2654: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;36475:275::-;36532:4;36555:15;36550:193;;;36595:85;36675:3;36595:74;36629:14;-1:-1:-1;;;;;36612:42:0;;36656:9;36612:55;;;;;;;;;;;;;-1:-1:-1;;;;;36612:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36612:55:0;36595:11;:9;:11::i;36550:193::-;36720: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;38907:306::-;38970:4;39007;-1:-1:-1;;;;;38997:14:0;:6;-1:-1:-1;;;;;38997:14:0;;;38988:25;;;;;;39043:5;-1:-1:-1;;;;;39033:15:0;:6;-1:-1:-1;;;;;39033:15:0;;;39024:26;;;;;;39080:9;-1:-1:-1;;;;;39070:19:0;:6;-1:-1:-1;;;;;39070:19:0;;;39061:30;;;;;;39102:81;39133:3;39146:6;-1:-1:-1;;;;;39138:26:0;;39174:4;39138:43;;;;;;;;;;;;;-1:-1:-1;;;;;39138:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39138:43:0;-1:-1:-1;;;;;39102:29:0;;;:81;:29;:81::i;:::-;-1:-1:-1;39201:4:0;38907:306;;;:::o;22923:39::-;;;:::o;22453:29::-;;;:::o;23199:43::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;23199:43:0;;;;;:::o;35619:339::-;35679:11;35691:12;35704:13;35718:14;35746:16;;:::i;:::-;-1:-1:-1;;;;;;35765:23:0;;;;;;;:9;:23;;;;;;;;;35746:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;35746:42:0;;;;;;;;;;;;;;;;;35806:45;;-1:-1:-1;;;35806:45:0;;35746:42;35806:45;;;;;;;;35746:42;;35813:5;35806:28;;;;:45;;;;;35765:23;;35806:45;;;;;;:28;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35806:45:0;35870:12;;;;35902:13;;;;35936:14;;;;;35806:45;;35862:20;;;;;-1:-1:-1;35893:22:0;;;-1:-1:-1;35936:14:0;-1:-1:-1;35619:339:0;-1:-1:-1;;35619:339:0:o;36083:271::-;36126:15;36158:11;36180:4;-1:-1:-1;;;;;36172:26:0;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36172:28:0;;-1:-1:-1;36224:122:0;36340:4;36224:110;:92;36259:24;36278:3;36259:13;:11;:13::i;:24::-;36299:6;36224:19;:92::i;:122::-;36211:135;;36083: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;34182:261::-;34225:11;34267:69;34331:3;34267:58;34313:10;34267:40;34294:11;:9;:11::i;:::-;34267:5;:21;;:25;:40::i;:::-;:44;;:58::i;:69::-;34361:18;;34258:78;;-1:-1:-1;34352:27:0;;34347:89;;;-1:-1:-1;34406:18:0;;34182:261;:::o;33646:141::-;33689:4;33714:65;33771:6;33714:51;33748:5;:15;;;33722:4;-1:-1:-1;;;;;33714:26:0;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33714:28:0;;:32;:51::i;37057:298::-;37180:9;;37100:11;;;;37149:42;;37180:9;37156:15;37149:29;;;37180:9;;;37149:29;:42;:::i;:::-;37247:17;;37211:9;;37126:65;;-1:-1:-1;37211:55:0;;37247:17;;;;;37211:30;;:9;:30;;;;:13;:30;:::i;:55::-;37202:64;;37291:9;;37282:6;:18;37277:71;;;37327:9;;37318:18;;37277:71;37057: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;33366:135::-;33419:28;33434:11;:9;:11::i;33419:28::-;33407:9;:40;33458:9;:35;;-1:-1:-1;;33458:35:0;33477:15;33458:35;;;;;33366:135::o;34570:345::-;34611:11;34645:69;34709:3;34645:58;34691:10;34645:40;34672:11;:9;:11::i;34645:69::-;34739:18;;34636:78;;-1:-1:-1;34730:27:0;;34725:183;;;-1:-1:-1;34784:18:0;;34725:183;;;34833:18;;:23;34828:80;;34895:1;34874:18;:22;34570: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;32376:929::-;32461:17;;32414:19;;32436:44;;32461:17;-1:-1:-1;;;32436:19:0;;;;;32461:17;;;32436:23;:44;:::i;:::-;32495:15;;32414:66;;-1:-1:-1;32495:20:0;;;;:57;;;32538:14;32519:15;:33;;32495:57;32491:807;;;32585:5;:21;32626:10;:14;;;32621:494;;;32713:15;;32686:5;:21;:44;;:25;:44::i;:::-;32662:5;:68;;;32779:17;;-1:-1:-1;32749:112:0;;32840:1;32822:15;:19;32749:112;32621:494;;;32952:15;;32925:5;:21;:44;;:25;:44::i;:::-;32901:5;:68;;;33018:17;;-1:-1:-1;32988:112:0;;33079:1;33061:15;:19;32988:112;33129:19;:45;;-1:-1:-1;;33129:45:0;-1:-1:-1;;;33158:15:0;33129:45;;;;;;:19;33230:21;33253:15;;33129:10;33270:14;33194:92;;;;;;;;;;;;;;;;;;;;33270:14;;33194:92;;;;;;;;;;;;;;;;;32491:807;;32376: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://d913cd0eeacb445da454d2e0ce35f5fccd7cdf6be0f3b57f8346eade0615e6b9
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.