More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 2,263 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 13138611 | 1214 days ago | IN | 0 ETH | 0.01473532 | ||||
Withdraw | 13087442 | 1222 days ago | IN | 0 ETH | 0.00388492 | ||||
Withdraw | 13054028 | 1227 days ago | IN | 0 ETH | 0.00309601 | ||||
Withdraw | 13026197 | 1231 days ago | IN | 0 ETH | 0.00405638 | ||||
Withdraw | 12859198 | 1257 days ago | IN | 0 ETH | 0.00291331 | ||||
Withdraw | 12840248 | 1260 days ago | IN | 0 ETH | 0.00299877 | ||||
Stake | 12750376 | 1274 days ago | IN | 0 ETH | 0.00107086 | ||||
Withdraw | 12709021 | 1281 days ago | IN | 0 ETH | 0.00062353 | ||||
Withdraw | 12651393 | 1290 days ago | IN | 0 ETH | 0.00116384 | ||||
Withdraw | 12625724 | 1294 days ago | IN | 0 ETH | 0.00102819 | ||||
Withdraw | 12588022 | 1300 days ago | IN | 0 ETH | 0.00207206 | ||||
Withdraw | 12483379 | 1316 days ago | IN | 0 ETH | 0.00361644 | ||||
Withdraw | 12477634 | 1317 days ago | IN | 0 ETH | 0.00492412 | ||||
Withdraw | 12474990 | 1317 days ago | IN | 0 ETH | 0.00651464 | ||||
Withdraw | 12457457 | 1320 days ago | IN | 0 ETH | 0.00588257 | ||||
Withdraw | 12441062 | 1322 days ago | IN | 0 ETH | 0.00776102 | ||||
Withdraw | 12426580 | 1325 days ago | IN | 0 ETH | 0.01542675 | ||||
Withdraw | 12418163 | 1326 days ago | IN | 0 ETH | 0.02164428 | ||||
Withdraw | 12416344 | 1326 days ago | IN | 0 ETH | 0.03038105 | ||||
Withdraw | 12381962 | 1332 days ago | IN | 0 ETH | 0.00725071 | ||||
Withdraw | 12377668 | 1332 days ago | IN | 0 ETH | 0.00568909 | ||||
Withdraw | 12373233 | 1333 days ago | IN | 0 ETH | 0.00393757 | ||||
Withdraw | 12346474 | 1337 days ago | IN | 0 ETH | 0.00268338 | ||||
Withdraw | 12345800 | 1337 days ago | IN | 0 ETH | 0.00792307 | ||||
Withdraw | 12341690 | 1338 days ago | IN | 0 ETH | 0.00320009 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
DiggCollection
Compiler Version
v0.5.12+commit.7709ece9
Optimization Enabled:
Yes with 9999 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-03-24 */ pragma solidity ^0.5.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. * * _Available since v2.4.0._ */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * - The divisor cannot be zero. * * _Available since v2.4.0._ */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ contract Context { // Empty internal constructor, to prevent people from mistakenly deploying // an instance of this contract, which should be used via inheritance. constructor () internal { } // solhint-disable-previous-line no-empty-blocks function _msgSender() internal view returns (address payable) { return msg.sender; } function _msgData() internal view returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(isOwner(), "Ownable: caller is not the owner"); _; } /** * @dev Returns true if the caller is the current owner. */ function isOwner() public view returns (bool) { return _msgSender() == _owner; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public onlyOwner { _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). */ function _transferOwnership(address newOwner) internal { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } /** * @title Roles * @dev Library for managing addresses assigned to a Role. */ library Roles { struct Role { mapping (address => bool) bearer; } /** * @dev Give an account access to this role. */ function add(Role storage role, address account) internal { require(!has(role, account), "Roles: account already has role"); role.bearer[account] = true; } /** * @dev Remove an account's access to this role. */ function remove(Role storage role, address account) internal { require(has(role, account), "Roles: account does not have role"); role.bearer[account] = false; } /** * @dev Check if an account has this role. * @return bool */ function has(Role storage role, address account) internal view returns (bool) { require(account != address(0), "Roles: account is the zero address"); return role.bearer[account]; } } contract PauserRole is Context { using Roles for Roles.Role; event PauserAdded(address indexed account); event PauserRemoved(address indexed account); Roles.Role private _pausers; constructor () internal { _addPauser(_msgSender()); } modifier onlyPauser() { require(isPauser(_msgSender()), "PauserRole: caller does not have the Pauser role"); _; } function isPauser(address account) public view returns (bool) { return _pausers.has(account); } function addPauser(address account) public onlyPauser { _addPauser(account); } function renouncePauser() public { _removePauser(_msgSender()); } function _addPauser(address account) internal { _pausers.add(account); emit PauserAdded(account); } function _removePauser(address account) internal { _pausers.remove(account); emit PauserRemoved(account); } } /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ contract Pausable is Context, PauserRole { /** * @dev Emitted when the pause is triggered by a pauser (`account`). */ event Paused(address account); /** * @dev Emitted when the pause is lifted by a pauser (`account`). */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. Assigns the Pauser role * to the deployer. */ constructor () internal { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. */ modifier whenNotPaused() { require(!_paused, "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. */ modifier whenPaused() { require(_paused, "Pausable: not paused"); _; } /** * @dev Called by a pauser to pause, triggers stopped state. */ function pause() public onlyPauser whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Called by a pauser to unpause, returns to normal state. */ function unpause() public onlyPauser whenPaused { _paused = false; emit Unpaused(_msgSender()); } } interface IERC1155 { event TransferSingle( address indexed _operator, address indexed _from, address indexed _to, uint256 _id, uint256 _amount ); event TransferBatch( address indexed _operator, address indexed _from, address indexed _to, uint256[] _ids, uint256[] _amounts ); event ApprovalForAll(address indexed _owner, address indexed _operator, bool _approved); event URI(string _amount, uint256 indexed _id); function mint( address _to, uint256 _id, uint256 _quantity, bytes calldata _data ) external; function create( uint256 _maxSupply, uint256 _initialSupply, string calldata _uri, bytes calldata _data ) external returns (uint256 tokenId); function safeTransferFrom( address _from, address _to, uint256 _id, uint256 _amount, bytes calldata _data ) external; function safeBatchTransferFrom( address _from, address _to, uint256[] calldata _ids, uint256[] calldata _amounts, bytes calldata _data ) external; function balanceOf(address _owner, uint256 _id) external view returns (uint256); function balanceOfBatch(address[] calldata _owners, uint256[] calldata _ids) external view returns (uint256[] memory); function setApprovalForAll(address _operator, bool _approved) external; function isApprovedForAll(address _owner, address _operator) external view returns (bool isOperator); } /** * @dev Interface of the ERC20 standard as defined in the EIP. Does not include * the optional functions; to access them see {ERC20Detailed}. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } contract PoolTokenWrapper { using SafeMath for uint256; IERC20 public token; constructor(IERC20 _erc20Address) public { token = IERC20(_erc20Address); } uint256 private _totalSupply; // Objects balances [id][address] => balance mapping(uint256 => mapping(address => uint256)) internal _balances; mapping(uint256 => uint256) private _poolBalances; function totalSupply() public view returns (uint256) { return _totalSupply; } function balanceOfPool(uint256 id) public view returns (uint256) { return _poolBalances[id]; } function balanceOf(address account, uint256 id) public view returns (uint256) { return _balances[id][account]; } function stake(uint256 id, uint256 amount) public { _totalSupply = _totalSupply.add(amount); _poolBalances[id] = _poolBalances[id].add(amount); _balances[id][msg.sender] = _balances[id][msg.sender].add(amount); token.transferFrom(msg.sender, address(this), amount); } function withdraw(uint256 id, uint256 amount) public { _totalSupply = _totalSupply.sub(amount); _poolBalances[id] = _poolBalances[id].sub(amount); _balances[id][msg.sender] = _balances[id][msg.sender].sub(amount); token.transfer(msg.sender, amount); } function transfer( uint256 fromId, uint256 toId, uint256 amount ) public { _poolBalances[fromId] = _poolBalances[fromId].sub(amount); _balances[fromId][msg.sender] = _balances[fromId][msg.sender].sub(amount); _poolBalances[toId] = _poolBalances[toId].add(amount); _balances[toId][msg.sender] = _balances[toId][msg.sender].add(amount); } function _rescuePineapples(address account, uint256 id) internal { uint256 amount = _balances[id][account]; _totalSupply = _totalSupply.sub(amount); _poolBalances[id] = _poolBalances[id].sub(amount); _balances[id][account] = _balances[id][account].sub(amount); token.transfer(account, amount); } } /** * FractionalExponents * Copied and modified from: * https://github.com/bancorprotocol/contracts/blob/master/solidity/contracts/converter/BancorFormula.sol#L289 * Redistributed Under Apache License 2.0: * https://github.com/bancorprotocol/contracts/blob/master/LICENSE * Provided as an answer to: * https://ethereum.stackexchange.com/questions/50527/is-there-any-efficient-way-to-compute-the-exponentiation-of-an-fractional-base-a */ contract FractionalExponents { uint256 private constant ONE = 1; uint32 private constant MAX_WEIGHT = 1000000; uint8 private constant MIN_PRECISION = 32; uint8 private constant MAX_PRECISION = 127; uint256 private constant FIXED_1 = 0x080000000000000000000000000000000; uint256 private constant FIXED_2 = 0x100000000000000000000000000000000; uint256 private constant MAX_NUM = 0x200000000000000000000000000000000; uint256 private constant LN2_NUMERATOR = 0x3f80fe03f80fe03f80fe03f80fe03f8; uint256 private constant LN2_DENOMINATOR = 0x5b9de1d10bf4103d647b0955897ba80; uint256 private constant OPT_LOG_MAX_VAL = 0x15bf0a8b1457695355fb8ac404e7a79e3; uint256 private constant OPT_EXP_MAX_VAL = 0x800000000000000000000000000000000; uint256[128] private maxExpArray; function BancorFormula() public { maxExpArray[ 32] = 0x1c35fedd14ffffffffffffffffffffffff; maxExpArray[ 33] = 0x1b0ce43b323fffffffffffffffffffffff; maxExpArray[ 34] = 0x19f0028ec1ffffffffffffffffffffffff; maxExpArray[ 35] = 0x18ded91f0e7fffffffffffffffffffffff; maxExpArray[ 36] = 0x17d8ec7f0417ffffffffffffffffffffff; maxExpArray[ 37] = 0x16ddc6556cdbffffffffffffffffffffff; maxExpArray[ 38] = 0x15ecf52776a1ffffffffffffffffffffff; maxExpArray[ 39] = 0x15060c256cb2ffffffffffffffffffffff; maxExpArray[ 40] = 0x1428a2f98d72ffffffffffffffffffffff; maxExpArray[ 41] = 0x13545598e5c23fffffffffffffffffffff; maxExpArray[ 42] = 0x1288c4161ce1dfffffffffffffffffffff; maxExpArray[ 43] = 0x11c592761c666fffffffffffffffffffff; maxExpArray[ 44] = 0x110a688680a757ffffffffffffffffffff; maxExpArray[ 45] = 0x1056f1b5bedf77ffffffffffffffffffff; maxExpArray[ 46] = 0x0faadceceeff8bffffffffffffffffffff; maxExpArray[ 47] = 0x0f05dc6b27edadffffffffffffffffffff; maxExpArray[ 48] = 0x0e67a5a25da4107fffffffffffffffffff; maxExpArray[ 49] = 0x0dcff115b14eedffffffffffffffffffff; maxExpArray[ 50] = 0x0d3e7a392431239fffffffffffffffffff; maxExpArray[ 51] = 0x0cb2ff529eb71e4fffffffffffffffffff; maxExpArray[ 52] = 0x0c2d415c3db974afffffffffffffffffff; maxExpArray[ 53] = 0x0bad03e7d883f69bffffffffffffffffff; maxExpArray[ 54] = 0x0b320d03b2c343d5ffffffffffffffffff; maxExpArray[ 55] = 0x0abc25204e02828dffffffffffffffffff; maxExpArray[ 56] = 0x0a4b16f74ee4bb207fffffffffffffffff; maxExpArray[ 57] = 0x09deaf736ac1f569ffffffffffffffffff; maxExpArray[ 58] = 0x0976bd9952c7aa957fffffffffffffffff; maxExpArray[ 59] = 0x09131271922eaa606fffffffffffffffff; maxExpArray[ 60] = 0x08b380f3558668c46fffffffffffffffff; maxExpArray[ 61] = 0x0857ddf0117efa215bffffffffffffffff; maxExpArray[ 62] = 0x07ffffffffffffffffffffffffffffffff; maxExpArray[ 63] = 0x07abbf6f6abb9d087fffffffffffffffff; maxExpArray[ 64] = 0x075af62cbac95f7dfa7fffffffffffffff; maxExpArray[ 65] = 0x070d7fb7452e187ac13fffffffffffffff; maxExpArray[ 66] = 0x06c3390ecc8af379295fffffffffffffff; maxExpArray[ 67] = 0x067c00a3b07ffc01fd6fffffffffffffff; maxExpArray[ 68] = 0x0637b647c39cbb9d3d27ffffffffffffff; maxExpArray[ 69] = 0x05f63b1fc104dbd39587ffffffffffffff; maxExpArray[ 70] = 0x05b771955b36e12f7235ffffffffffffff; maxExpArray[ 71] = 0x057b3d49dda84556d6f6ffffffffffffff; maxExpArray[ 72] = 0x054183095b2c8ececf30ffffffffffffff; maxExpArray[ 73] = 0x050a28be635ca2b888f77fffffffffffff; maxExpArray[ 74] = 0x04d5156639708c9db33c3fffffffffffff; maxExpArray[ 75] = 0x04a23105873875bd52dfdfffffffffffff; maxExpArray[ 76] = 0x0471649d87199aa990756fffffffffffff; maxExpArray[ 77] = 0x04429a21a029d4c1457cfbffffffffffff; maxExpArray[ 78] = 0x0415bc6d6fb7dd71af2cb3ffffffffffff; maxExpArray[ 79] = 0x03eab73b3bbfe282243ce1ffffffffffff; maxExpArray[ 80] = 0x03c1771ac9fb6b4c18e229ffffffffffff; maxExpArray[ 81] = 0x0399e96897690418f785257fffffffffff; maxExpArray[ 82] = 0x0373fc456c53bb779bf0ea9fffffffffff; maxExpArray[ 83] = 0x034f9e8e490c48e67e6ab8bfffffffffff; maxExpArray[ 84] = 0x032cbfd4a7adc790560b3337ffffffffff; maxExpArray[ 85] = 0x030b50570f6e5d2acca94613ffffffffff; maxExpArray[ 86] = 0x02eb40f9f620fda6b56c2861ffffffffff; maxExpArray[ 87] = 0x02cc8340ecb0d0f520a6af58ffffffffff; maxExpArray[ 88] = 0x02af09481380a0a35cf1ba02ffffffffff; maxExpArray[ 89] = 0x0292c5bdd3b92ec810287b1b3fffffffff; maxExpArray[ 90] = 0x0277abdcdab07d5a77ac6d6b9fffffffff; maxExpArray[ 91] = 0x025daf6654b1eaa55fd64df5efffffffff; maxExpArray[ 92] = 0x0244c49c648baa98192dce88b7ffffffff; maxExpArray[ 93] = 0x022ce03cd5619a311b2471268bffffffff; maxExpArray[ 94] = 0x0215f77c045fbe885654a44a0fffffffff; maxExpArray[ 95] = 0x01ffffffffffffffffffffffffffffffff; maxExpArray[ 96] = 0x01eaefdbdaaee7421fc4d3ede5ffffffff; maxExpArray[ 97] = 0x01d6bd8b2eb257df7e8ca57b09bfffffff; maxExpArray[ 98] = 0x01c35fedd14b861eb0443f7f133fffffff; maxExpArray[ 99] = 0x01b0ce43b322bcde4a56e8ada5afffffff; maxExpArray[100] = 0x019f0028ec1fff007f5a195a39dfffffff; maxExpArray[101] = 0x018ded91f0e72ee74f49b15ba527ffffff; maxExpArray[102] = 0x017d8ec7f04136f4e5615fd41a63ffffff; maxExpArray[103] = 0x016ddc6556cdb84bdc8d12d22e6fffffff; maxExpArray[104] = 0x015ecf52776a1155b5bd8395814f7fffff; maxExpArray[105] = 0x015060c256cb23b3b3cc3754cf40ffffff; maxExpArray[106] = 0x01428a2f98d728ae223ddab715be3fffff; maxExpArray[107] = 0x013545598e5c23276ccf0ede68034fffff; maxExpArray[108] = 0x01288c4161ce1d6f54b7f61081194fffff; maxExpArray[109] = 0x011c592761c666aa641d5a01a40f17ffff; maxExpArray[110] = 0x0110a688680a7530515f3e6e6cfdcdffff; maxExpArray[111] = 0x01056f1b5bedf75c6bcb2ce8aed428ffff; maxExpArray[112] = 0x00faadceceeff8a0890f3875f008277fff; maxExpArray[113] = 0x00f05dc6b27edad306388a600f6ba0bfff; maxExpArray[114] = 0x00e67a5a25da41063de1495d5b18cdbfff; maxExpArray[115] = 0x00dcff115b14eedde6fc3aa5353f2e4fff; maxExpArray[116] = 0x00d3e7a3924312399f9aae2e0f868f8fff; maxExpArray[117] = 0x00cb2ff529eb71e41582cccd5a1ee26fff; maxExpArray[118] = 0x00c2d415c3db974ab32a51840c0b67edff; maxExpArray[119] = 0x00bad03e7d883f69ad5b0a186184e06bff; maxExpArray[120] = 0x00b320d03b2c343d4829abd6075f0cc5ff; maxExpArray[121] = 0x00abc25204e02828d73c6e80bcdb1a95bf; maxExpArray[122] = 0x00a4b16f74ee4bb2040a1ec6c15fbbf2df; maxExpArray[123] = 0x009deaf736ac1f569deb1b5ae3f36c130f; maxExpArray[124] = 0x00976bd9952c7aa957f5937d790ef65037; maxExpArray[125] = 0x009131271922eaa6064b73a22d0bd4f2bf; maxExpArray[126] = 0x008b380f3558668c46c91c49a2f8e967b9; maxExpArray[127] = 0x00857ddf0117efa215952912839f6473e6; } /** General Description: Determine a value of precision. Calculate an integer approximation of (_baseN / _baseD) ^ (_expN / _expD) * 2 ^ precision. Return the result along with the precision used. Detailed Description: Instead of calculating "base ^ exp", we calculate "e ^ (log(base) * exp)". The value of "log(base)" is represented with an integer slightly smaller than "log(base) * 2 ^ precision". The larger "precision" is, the more accurately this value represents the real value. However, the larger "precision" is, the more bits are required in order to store this value. And the exponentiation function, which takes "x" and calculates "e ^ x", is limited to a maximum exponent (maximum value of "x"). This maximum exponent depends on the "precision" used, and it is given by "maxExpArray[precision] >> (MAX_PRECISION - precision)". Hence we need to determine the highest precision which can be used for the given input, before calling the exponentiation function. This allows us to compute "base ^ exp" with maximum accuracy and without exceeding 256 bits in any of the intermediate computations. This functions assumes that "_expN < 2 ^ 256 / log(MAX_NUM - 1)", otherwise the multiplication should be replaced with a "safeMul". */ function power(uint256 _baseN, uint256 _baseD, uint32 _expN, uint32 _expD) public view returns (uint256, uint8) { assert(_baseN < MAX_NUM); uint256 baseLog; uint256 base = _baseN * FIXED_1 / _baseD; if (base < OPT_LOG_MAX_VAL) { baseLog = optimalLog(base); } else { baseLog = generalLog(base); } uint256 baseLogTimesExp = baseLog * _expN / _expD; if (baseLogTimesExp < OPT_EXP_MAX_VAL) { return (optimalExp(baseLogTimesExp), MAX_PRECISION); } else { uint8 precision = findPositionInMaxExpArray(baseLogTimesExp); return (generalExp(baseLogTimesExp >> (MAX_PRECISION - precision), precision), precision); } } /** Compute log(x / FIXED_1) * FIXED_1. This functions assumes that "x >= FIXED_1", because the output would be negative otherwise. */ function generalLog(uint256 x) internal pure returns (uint256) { uint256 res = 0; // If x >= 2, then we compute the integer part of log2(x), which is larger than 0. if (x >= FIXED_2) { uint8 count = floorLog2(x / FIXED_1); x >>= count; // now x < 2 res = count * FIXED_1; } // If x > 1, then we compute the fraction part of log2(x), which is larger than 0. if (x > FIXED_1) { for (uint8 i = MAX_PRECISION; i > 0; --i) { x = (x * x) / FIXED_1; // now 1 < x < 4 if (x >= FIXED_2) { x >>= 1; // now 1 < x < 2 res += ONE << (i - 1); } } } return res * LN2_NUMERATOR / LN2_DENOMINATOR; } /** Compute the largest integer smaller than or equal to the binary logarithm of the input. */ function floorLog2(uint256 _n) internal pure returns (uint8) { uint8 res = 0; if (_n < 256) { // At most 8 iterations while (_n > 1) { _n >>= 1; res += 1; } } else { // Exactly 8 iterations for (uint8 s = 128; s > 0; s >>= 1) { if (_n >= (ONE << s)) { _n >>= s; res |= s; } } } return res; } /** The global "maxExpArray" is sorted in descending order, and therefore the following statements are equivalent: - This function finds the position of [the smallest value in "maxExpArray" larger than or equal to "x"] - This function finds the highest position of [a value in "maxExpArray" larger than or equal to "x"] */ function findPositionInMaxExpArray(uint256 _x) internal view returns (uint8) { uint8 lo = MIN_PRECISION; uint8 hi = MAX_PRECISION; while (lo + 1 < hi) { uint8 mid = (lo + hi) / 2; if (maxExpArray[mid] >= _x) lo = mid; else hi = mid; } if (maxExpArray[hi] >= _x) return hi; if (maxExpArray[lo] >= _x) return lo; assert(false); return 0; } /** This function can be auto-generated by the script 'PrintFunctionGeneralExp.py'. It approximates "e ^ x" via maclaurin summation: "(x^0)/0! + (x^1)/1! + ... + (x^n)/n!". It returns "e ^ (x / 2 ^ precision) * 2 ^ precision", that is, the result is upshifted for accuracy. The global "maxExpArray" maps each "precision" to "((maximumExponent + 1) << (MAX_PRECISION - precision)) - 1". The maximum permitted value for "x" is therefore given by "maxExpArray[precision] >> (MAX_PRECISION - precision)". */ function generalExp(uint256 _x, uint8 _precision) internal pure returns (uint256) { uint256 xi = _x; uint256 res = 0; xi = (xi * _x) >> _precision; res += xi * 0x3442c4e6074a82f1797f72ac0000000; // add x^02 * (33! / 02!) xi = (xi * _x) >> _precision; res += xi * 0x116b96f757c380fb287fd0e40000000; // add x^03 * (33! / 03!) xi = (xi * _x) >> _precision; res += xi * 0x045ae5bdd5f0e03eca1ff4390000000; // add x^04 * (33! / 04!) xi = (xi * _x) >> _precision; res += xi * 0x00defabf91302cd95b9ffda50000000; // add x^05 * (33! / 05!) xi = (xi * _x) >> _precision; res += xi * 0x002529ca9832b22439efff9b8000000; // add x^06 * (33! / 06!) xi = (xi * _x) >> _precision; res += xi * 0x00054f1cf12bd04e516b6da88000000; // add x^07 * (33! / 07!) xi = (xi * _x) >> _precision; res += xi * 0x0000a9e39e257a09ca2d6db51000000; // add x^08 * (33! / 08!) xi = (xi * _x) >> _precision; res += xi * 0x000012e066e7b839fa050c309000000; // add x^09 * (33! / 09!) xi = (xi * _x) >> _precision; res += xi * 0x000001e33d7d926c329a1ad1a800000; // add x^10 * (33! / 10!) xi = (xi * _x) >> _precision; res += xi * 0x0000002bee513bdb4a6b19b5f800000; // add x^11 * (33! / 11!) xi = (xi * _x) >> _precision; res += xi * 0x00000003a9316fa79b88eccf2a00000; // add x^12 * (33! / 12!) xi = (xi * _x) >> _precision; res += xi * 0x0000000048177ebe1fa812375200000; // add x^13 * (33! / 13!) xi = (xi * _x) >> _precision; res += xi * 0x0000000005263fe90242dcbacf00000; // add x^14 * (33! / 14!) xi = (xi * _x) >> _precision; res += xi * 0x000000000057e22099c030d94100000; // add x^15 * (33! / 15!) xi = (xi * _x) >> _precision; res += xi * 0x0000000000057e22099c030d9410000; // add x^16 * (33! / 16!) xi = (xi * _x) >> _precision; res += xi * 0x00000000000052b6b54569976310000; // add x^17 * (33! / 17!) xi = (xi * _x) >> _precision; res += xi * 0x00000000000004985f67696bf748000; // add x^18 * (33! / 18!) xi = (xi * _x) >> _precision; res += xi * 0x000000000000003dea12ea99e498000; // add x^19 * (33! / 19!) xi = (xi * _x) >> _precision; res += xi * 0x00000000000000031880f2214b6e000; // add x^20 * (33! / 20!) xi = (xi * _x) >> _precision; res += xi * 0x000000000000000025bcff56eb36000; // add x^21 * (33! / 21!) xi = (xi * _x) >> _precision; res += xi * 0x000000000000000001b722e10ab1000; // add x^22 * (33! / 22!) xi = (xi * _x) >> _precision; res += xi * 0x0000000000000000001317c70077000; // add x^23 * (33! / 23!) xi = (xi * _x) >> _precision; res += xi * 0x00000000000000000000cba84aafa00; // add x^24 * (33! / 24!) xi = (xi * _x) >> _precision; res += xi * 0x00000000000000000000082573a0a00; // add x^25 * (33! / 25!) xi = (xi * _x) >> _precision; res += xi * 0x00000000000000000000005035ad900; // add x^26 * (33! / 26!) xi = (xi * _x) >> _precision; res += xi * 0x000000000000000000000002f881b00; // add x^27 * (33! / 27!) xi = (xi * _x) >> _precision; res += xi * 0x0000000000000000000000001b29340; // add x^28 * (33! / 28!) xi = (xi * _x) >> _precision; res += xi * 0x00000000000000000000000000efc40; // add x^29 * (33! / 29!) xi = (xi * _x) >> _precision; res += xi * 0x0000000000000000000000000007fe0; // add x^30 * (33! / 30!) xi = (xi * _x) >> _precision; res += xi * 0x0000000000000000000000000000420; // add x^31 * (33! / 31!) xi = (xi * _x) >> _precision; res += xi * 0x0000000000000000000000000000021; // add x^32 * (33! / 32!) xi = (xi * _x) >> _precision; res += xi * 0x0000000000000000000000000000001; // add x^33 * (33! / 33!) return res / 0x688589cc0e9505e2f2fee5580000000 + _x + (ONE << _precision); // divide by 33! and then add x^1 / 1! + x^0 / 0! } /** Return log(x / FIXED_1) * FIXED_1 Input range: FIXED_1 <= x <= LOG_EXP_MAX_VAL - 1 */ function optimalLog(uint256 x) internal pure returns (uint256) { uint256 res = 0; uint256 y; uint256 z; uint256 w; if (x >= 0xd3094c70f034de4b96ff7d5b6f99fcd8) {res += 0x40000000000000000000000000000000; x = x * FIXED_1 / 0xd3094c70f034de4b96ff7d5b6f99fcd8;} if (x >= 0xa45af1e1f40c333b3de1db4dd55f29a7) {res += 0x20000000000000000000000000000000; x = x * FIXED_1 / 0xa45af1e1f40c333b3de1db4dd55f29a7;} if (x >= 0x910b022db7ae67ce76b441c27035c6a1) {res += 0x10000000000000000000000000000000; x = x * FIXED_1 / 0x910b022db7ae67ce76b441c27035c6a1;} if (x >= 0x88415abbe9a76bead8d00cf112e4d4a8) {res += 0x08000000000000000000000000000000; x = x * FIXED_1 / 0x88415abbe9a76bead8d00cf112e4d4a8;} if (x >= 0x84102b00893f64c705e841d5d4064bd3) {res += 0x04000000000000000000000000000000; x = x * FIXED_1 / 0x84102b00893f64c705e841d5d4064bd3;} if (x >= 0x8204055aaef1c8bd5c3259f4822735a2) {res += 0x02000000000000000000000000000000; x = x * FIXED_1 / 0x8204055aaef1c8bd5c3259f4822735a2;} if (x >= 0x810100ab00222d861931c15e39b44e99) {res += 0x01000000000000000000000000000000; x = x * FIXED_1 / 0x810100ab00222d861931c15e39b44e99;} if (x >= 0x808040155aabbbe9451521693554f733) {res += 0x00800000000000000000000000000000; x = x * FIXED_1 / 0x808040155aabbbe9451521693554f733;} z = y = x - FIXED_1; w = y * y / FIXED_1; res += z * (0x100000000000000000000000000000000 - y) / 0x100000000000000000000000000000000; z = z * w / FIXED_1; res += z * (0x0aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa - y) / 0x200000000000000000000000000000000; z = z * w / FIXED_1; res += z * (0x099999999999999999999999999999999 - y) / 0x300000000000000000000000000000000; z = z * w / FIXED_1; res += z * (0x092492492492492492492492492492492 - y) / 0x400000000000000000000000000000000; z = z * w / FIXED_1; res += z * (0x08e38e38e38e38e38e38e38e38e38e38e - y) / 0x500000000000000000000000000000000; z = z * w / FIXED_1; res += z * (0x08ba2e8ba2e8ba2e8ba2e8ba2e8ba2e8b - y) / 0x600000000000000000000000000000000; z = z * w / FIXED_1; res += z * (0x089d89d89d89d89d89d89d89d89d89d89 - y) / 0x700000000000000000000000000000000; z = z * w / FIXED_1; res += z * (0x088888888888888888888888888888888 - y) / 0x800000000000000000000000000000000; return res; } /** Return e ^ (x / FIXED_1) * FIXED_1 Input range: 0 <= x <= OPT_EXP_MAX_VAL - 1 */ function optimalExp(uint256 x) internal pure returns (uint256) { uint256 res = 0; uint256 y; uint256 z; z = y = x % 0x10000000000000000000000000000000; z = z * y / FIXED_1; res += z * 0x10e1b3be415a0000; // add y^02 * (20! / 02!) z = z * y / FIXED_1; res += z * 0x05a0913f6b1e0000; // add y^03 * (20! / 03!) z = z * y / FIXED_1; res += z * 0x0168244fdac78000; // add y^04 * (20! / 04!) z = z * y / FIXED_1; res += z * 0x004807432bc18000; // add y^05 * (20! / 05!) z = z * y / FIXED_1; res += z * 0x000c0135dca04000; // add y^06 * (20! / 06!) z = z * y / FIXED_1; res += z * 0x0001b707b1cdc000; // add y^07 * (20! / 07!) z = z * y / FIXED_1; res += z * 0x000036e0f639b800; // add y^08 * (20! / 08!) z = z * y / FIXED_1; res += z * 0x00000618fee9f800; // add y^09 * (20! / 09!) z = z * y / FIXED_1; res += z * 0x0000009c197dcc00; // add y^10 * (20! / 10!) z = z * y / FIXED_1; res += z * 0x0000000e30dce400; // add y^11 * (20! / 11!) z = z * y / FIXED_1; res += z * 0x000000012ebd1300; // add y^12 * (20! / 12!) z = z * y / FIXED_1; res += z * 0x0000000017499f00; // add y^13 * (20! / 13!) z = z * y / FIXED_1; res += z * 0x0000000001a9d480; // add y^14 * (20! / 14!) z = z * y / FIXED_1; res += z * 0x00000000001c6380; // add y^15 * (20! / 15!) z = z * y / FIXED_1; res += z * 0x000000000001c638; // add y^16 * (20! / 16!) z = z * y / FIXED_1; res += z * 0x0000000000001ab8; // add y^17 * (20! / 17!) z = z * y / FIXED_1; res += z * 0x000000000000017c; // add y^18 * (20! / 18!) z = z * y / FIXED_1; res += z * 0x0000000000000014; // add y^19 * (20! / 19!) z = z * y / FIXED_1; res += z * 0x0000000000000001; // add y^20 * (20! / 20!) res = res / 0x21c3677c82b40000 + y + FIXED_1; // divide by 20! and then add y^1 / 1! + y^0 / 0! if ((x & 0x010000000000000000000000000000000) != 0) res = res * 0x1c3d6a24ed82218787d624d3e5eba95f9 / 0x18ebef9eac820ae8682b9793ac6d1e776; if ((x & 0x020000000000000000000000000000000) != 0) res = res * 0x18ebef9eac820ae8682b9793ac6d1e778 / 0x1368b2fc6f9609fe7aceb46aa619baed4; if ((x & 0x040000000000000000000000000000000) != 0) res = res * 0x1368b2fc6f9609fe7aceb46aa619baed5 / 0x0bc5ab1b16779be3575bd8f0520a9f21f; if ((x & 0x080000000000000000000000000000000) != 0) res = res * 0x0bc5ab1b16779be3575bd8f0520a9f21e / 0x0454aaa8efe072e7f6ddbab84b40a55c9; if ((x & 0x100000000000000000000000000000000) != 0) res = res * 0x0454aaa8efe072e7f6ddbab84b40a55c5 / 0x00960aadc109e7a3bf4578099615711ea; if ((x & 0x200000000000000000000000000000000) != 0) res = res * 0x00960aadc109e7a3bf4578099615711d7 / 0x0002bf84208204f5977f9a8cf01fdce3d; if ((x & 0x400000000000000000000000000000000) != 0) res = res * 0x0002bf84208204f5977f9a8cf01fdc307 / 0x0000003c6ab775dd0b95b4cbee7e65d11; return res; } } contract DiggCollection is PoolTokenWrapper, Ownable, Pausable, FractionalExponents { using SafeMath for uint256; IERC1155 public memeLtd; uint256 constant multiplyer = 1000; uint256 constant min = 1e15; struct Card { uint256 points; uint256 releaseTime; uint256 mintFee; } struct Pool { uint256 periodStart; uint256 feesCollected; uint256 spentPineapples; uint256 controllerShare; address artist; mapping(address => uint256) lastUpdateTime; mapping(address => uint256) points; mapping(uint256 => Card) cards; } address public controller; address public rescuer; mapping(address => uint256) public pendingWithdrawals; mapping(uint256 => Pool) public pools; event UpdatedArtist(uint256 poolId, address artist); event PoolAdded(uint256 poolId, address artist, uint256 periodStart); event CardAdded(uint256 poolId, uint256 cardId, uint256 points, uint256 mintFee, uint256 releaseTime); event Staked(address indexed user, uint256 poolId, uint256 amount); event Withdrawn(address indexed user, uint256 poolId, uint256 amount); event Transferred(address indexed user, uint256 fromPoolId, uint256 toPoolId, uint256 amount); event Redeemed(address indexed user, uint256 poolId, uint256 amount); modifier updateReward(address account, uint256 id) { if (account != address(0)) { pools[id].points[account] = earned(account, id); pools[id].lastUpdateTime[account] = block.timestamp; } _; } modifier poolExists(uint256 id) { require(pools[id].periodStart > 0, "pool does not exists"); _; } modifier cardExists(uint256 pool, uint256 card) { require(pools[pool].cards[card].points > 0, "card does not exists"); _; } constructor( address _controller, IERC1155 _memeLtdAddress, IERC20 _tokenAddress ) public PoolTokenWrapper(_tokenAddress) { controller = _controller; memeLtd = _memeLtdAddress; } function cardMintFee(uint256 pool, uint256 card) public view returns (uint256) { return pools[pool].cards[card].mintFee; } function cardReleaseTime(uint256 pool, uint256 card) public view returns (uint256) { return pools[pool].cards[card].releaseTime; } function cardPoints(uint256 pool, uint256 card) public view returns (uint256) { return pools[pool].cards[card].points; } function timeElapsed(address account, uint256 pool) public view returns (uint256) { return block.timestamp.sub(pools[pool].lastUpdateTime[account]); } function earned(address account, uint256 pool) public view returns (uint256) { Pool storage p = pools[pool]; uint256 blockTime = block.timestamp; uint256 poolBalance = balanceOf(account, pool); if (poolBalance < min) return p.points[account]; // psuedomath: rewardRate = (1.35 * (balance * 1000)^(1/4)) / 86400 (uint256 mantissa, uint8 exponent) = power(multiplyer.mul(poolBalance), uint256(1e18), 1, 4); uint256 noCoefficient = mantissa.mul(uint256(1 ether)).div(uint256(1) << uint256(exponent)); uint256 rewardRate = noCoefficient.mul(135).div(8640000); return rewardRate.mul(blockTime.sub(p.lastUpdateTime[account])).add(p.points[account]); } // override PoolTokenWrapper's stake() function function stake(uint256 pool, uint256 amount) public poolExists(pool) updateReward(msg.sender, pool) whenNotPaused() { Pool memory p = pools[pool]; require(block.timestamp >= p.periodStart, "pool not open"); require(amount.add(balanceOf(msg.sender, pool)) >= min, "must stake min"); super.stake(pool, amount); emit Staked(msg.sender, pool, amount); } // override PoolTokenWrapper's withdraw() function function withdraw(uint256 pool, uint256 amount) public poolExists(pool) updateReward(msg.sender, pool) { require(amount > 0, "cannot withdraw 0"); super.withdraw(pool, amount); emit Withdrawn(msg.sender, pool, amount); } // override PoolTokenWrapper's transfer() function function transfer( uint256 fromPool, uint256 toPool, uint256 amount ) public poolExists(fromPool) poolExists(toPool) updateReward(msg.sender, fromPool) updateReward(msg.sender, toPool) whenNotPaused() { Pool memory toP = pools[toPool]; require(block.timestamp >= toP.periodStart, "pool not open"); super.transfer(fromPool, toPool, amount); emit Transferred(msg.sender, fromPool, toPool, amount); } function transferAll(uint256 fromPool, uint256 toPool) external { transfer(fromPool, toPool, balanceOf(msg.sender, fromPool)); } function exit(uint256 pool) external { withdraw(pool, balanceOf(msg.sender, pool)); } function redeem(uint256 pool, uint256 card) public payable poolExists(pool) cardExists(pool, card) updateReward(msg.sender, pool) { Pool storage p = pools[pool]; Card memory c = p.cards[card]; require(block.timestamp >= c.releaseTime, "card not released"); require(p.points[msg.sender] >= c.points, "not enough pineapples"); require(msg.value == c.mintFee, "support our artists, send eth"); if (c.mintFee > 0) { uint256 _controllerShare = msg.value.mul(p.controllerShare).div(1000); uint256 _artistRoyalty = msg.value.sub(_controllerShare); require(_artistRoyalty.add(_controllerShare) == msg.value, "problem with fee"); p.feesCollected = p.feesCollected.add(c.mintFee); pendingWithdrawals[controller] = pendingWithdrawals[controller].add(_controllerShare); pendingWithdrawals[p.artist] = pendingWithdrawals[p.artist].add(_artistRoyalty); } p.points[msg.sender] = p.points[msg.sender].sub(c.points); p.spentPineapples = p.spentPineapples.add(c.points); memeLtd.mint(msg.sender, card, 1, ""); emit Redeemed(msg.sender, pool, c.points); } function rescuePineapples(address account, uint256 pool) public poolExists(pool) updateReward(account, pool) returns (uint256) { require(msg.sender == rescuer, "!rescuer"); Pool storage p = pools[pool]; uint256 earnedPoints = p.points[account]; p.spentPineapples = p.spentPineapples.add(earnedPoints); p.points[account] = 0; // transfer remaining MEME to the account if (balanceOf(account, pool) > 0) { _rescuePineapples(account, pool); } emit Redeemed(account, pool, earnedPoints); return earnedPoints; } function setArtist(uint256 pool, address artist) public onlyOwner { uint256 amount = pendingWithdrawals[artist]; pendingWithdrawals[artist] = 0; pendingWithdrawals[artist] = pendingWithdrawals[artist].add(amount); pools[pool].artist = artist; emit UpdatedArtist(pool, artist); } function setController(address _controller) public onlyOwner { uint256 amount = pendingWithdrawals[controller]; pendingWithdrawals[controller] = 0; pendingWithdrawals[_controller] = pendingWithdrawals[_controller].add(amount); controller = _controller; } function setRescuer(address _rescuer) public onlyOwner { rescuer = _rescuer; } function setControllerShare(uint256 pool, uint256 _controllerShare) public onlyOwner poolExists(pool) { pools[pool].controllerShare = _controllerShare; } function addCard( uint256 pool, uint256 id, uint256 points, uint256 mintFee, uint256 releaseTime ) public onlyOwner poolExists(pool) { Card storage c = pools[pool].cards[id]; c.points = points; c.releaseTime = releaseTime; c.mintFee = mintFee; emit CardAdded(pool, id, points, mintFee, releaseTime); } function createCard( uint256 pool, uint256 supply, uint256 points, uint256 mintFee, uint256 releaseTime ) public onlyOwner poolExists(pool) returns (uint256) { uint256 tokenId = memeLtd.create(supply, 0, "", ""); require(tokenId > 0, "ERC1155 create did not succeed"); Card storage c = pools[pool].cards[tokenId]; c.points = points; c.releaseTime = releaseTime; c.mintFee = mintFee; emit CardAdded(pool, tokenId, points, mintFee, releaseTime); return tokenId; } function createPool( uint256 id, uint256 periodStart, uint256 controllerShare, address artist ) public onlyOwner returns (uint256) { require(pools[id].periodStart == 0, "pool exists"); Pool storage p = pools[id]; p.periodStart = periodStart; p.controllerShare = controllerShare; p.artist = artist; emit PoolAdded(id, artist, periodStart); } function withdrawFee() public { uint256 amount = pendingWithdrawals[msg.sender]; require(amount > 0, "nothing to withdraw"); pendingWithdrawals[msg.sender] = 0; msg.sender.transfer(amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_controller","type":"address"},{"internalType":"contract IERC1155","name":"_memeLtdAddress","type":"address"},{"internalType":"contract IERC20","name":"_tokenAddress","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"poolId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"cardId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"points","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"mintFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"releaseTime","type":"uint256"}],"name":"CardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"PauserAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"PauserRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"poolId","type":"uint256"},{"indexed":false,"internalType":"address","name":"artist","type":"address"},{"indexed":false,"internalType":"uint256","name":"periodStart","type":"uint256"}],"name":"PoolAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"poolId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Redeemed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"poolId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"fromPoolId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toPoolId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Transferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"poolId","type":"uint256"},{"indexed":false,"internalType":"address","name":"artist","type":"address"}],"name":"UpdatedArtist","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"poolId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"constant":false,"inputs":[],"name":"BancorFormula","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"pool","type":"uint256"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"points","type":"uint256"},{"internalType":"uint256","name":"mintFee","type":"uint256"},{"internalType":"uint256","name":"releaseTime","type":"uint256"}],"name":"addCard","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addPauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOfPool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"pool","type":"uint256"},{"internalType":"uint256","name":"card","type":"uint256"}],"name":"cardMintFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"pool","type":"uint256"},{"internalType":"uint256","name":"card","type":"uint256"}],"name":"cardPoints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"pool","type":"uint256"},{"internalType":"uint256","name":"card","type":"uint256"}],"name":"cardReleaseTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"controller","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"pool","type":"uint256"},{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"uint256","name":"points","type":"uint256"},{"internalType":"uint256","name":"mintFee","type":"uint256"},{"internalType":"uint256","name":"releaseTime","type":"uint256"}],"name":"createCard","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"periodStart","type":"uint256"},{"internalType":"uint256","name":"controllerShare","type":"uint256"},{"internalType":"address","name":"artist","type":"address"}],"name":"createPool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"pool","type":"uint256"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"pool","type":"uint256"}],"name":"exit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isPauser","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"memeLtd","outputs":[{"internalType":"contract IERC1155","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"pendingWithdrawals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"pools","outputs":[{"internalType":"uint256","name":"periodStart","type":"uint256"},{"internalType":"uint256","name":"feesCollected","type":"uint256"},{"internalType":"uint256","name":"spentPineapples","type":"uint256"},{"internalType":"uint256","name":"controllerShare","type":"uint256"},{"internalType":"address","name":"artist","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"_baseN","type":"uint256"},{"internalType":"uint256","name":"_baseD","type":"uint256"},{"internalType":"uint32","name":"_expN","type":"uint32"},{"internalType":"uint32","name":"_expD","type":"uint32"}],"name":"power","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"pool","type":"uint256"},{"internalType":"uint256","name":"card","type":"uint256"}],"name":"redeem","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renouncePauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"pool","type":"uint256"}],"name":"rescuePineapples","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"rescuer","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"pool","type":"uint256"},{"internalType":"address","name":"artist","type":"address"}],"name":"setArtist","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_controller","type":"address"}],"name":"setController","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"pool","type":"uint256"},{"internalType":"uint256","name":"_controllerShare","type":"uint256"}],"name":"setControllerShare","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_rescuer","type":"address"}],"name":"setRescuer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"pool","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"pool","type":"uint256"}],"name":"timeElapsed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"fromPool","type":"uint256"},{"internalType":"uint256","name":"toPool","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"fromPool","type":"uint256"},{"internalType":"uint256","name":"toPool","type":"uint256"}],"name":"transferAll","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"pool","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"withdrawFee","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162004b2138038062004b21833981810160405260608110156200003757600080fd5b5080516020820151604090920151600080546001600160a01b0319166001600160a01b0383161781559192916200006d6200011e565b600480546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350620000e1620000d26001600160e01b036200011e16565b6001600160e01b036200012216565b506006805460ff19169055608880546001600160a01b039384166001600160a01b031991821617909155608780549290931691161790556200029e565b3390565b6200013d8160056200017460201b6200466a1790919060201c565b6040516001600160a01b038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b6200018982826001600160e01b036200021b16565b15620001f657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b60006001600160a01b0382166200027e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602281526020018062004aff6022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b61485180620002ae6000396000f3fe6080604052600436106102c55760003560e01c80638da5cb5b11610179578063e107aa17116100d6578063f2fde38b1161008a578063f77c479111610064578063f77c4791146109ac578063fb233733146109c1578063fc0c546a146109f1576102c5565b8063f2fde38b14610916578063f3f4370314610949578063f4dcb1eb1461097c576102c5565b8063e941fa78116100bb578063e941fa7814610886578063ecef6c3b1461089b578063f2e75dab146108dd576102c5565b8063e107aa1714610841578063e3d6e69f14610856576102c5565b8063be109c651161012d578063cd5cecf811610112578063cd5cecf8146107a5578063d76a386a146107d8578063e1039f4814610811576102c5565b8063be109c6514610733578063c07bf52a14610763576102c5565b806390dd26271161015e57806390dd26271461066c57806392eefe9b146106a2578063ac4afa38146106d5576102c5565b80638da5cb5b146106425780638f32d59b14610657576102c5565b806355adda3f116102275780637b0472f0116101db5780637f8661a1116101c05780637f8661a1146105d057806382dc1ec4146105fa5780638456cb591461062d576102c5565b80637b0472f01461057d5780637cbc2373146105ad576102c5565b80635c975abb1161020c5780635c975abb1461053e5780636ef8d66d14610553578063715018a614610568576102c5565b806355adda3f146104c057806355b46277146104f9576102c5565b80633e491d471161027e57806343398685116102635780634339868514610434578063441a3e701461044957806346fbf68e14610479576102c5565b80633e491d47146103e45780633f4ba83a1461041d576102c5565b806318160ddd116102af57806318160ddd1461033f57806332833d511461035457806338a63183146103b3576102c5565b8062fdd58e146102ca5780630d749cec14610315575b600080fd5b3480156102d657600080fd5b50610303600480360360408110156102ed57600080fd5b506001600160a01b038135169060200135610a06565b60408051918252519081900360200190f35b34801561032157600080fd5b506103036004803603602081101561033857600080fd5b5035610a30565b34801561034b57600080fd5b50610303610a45565b34801561036057600080fd5b506103986004803603608081101561037757600080fd5b5080359060208101359063ffffffff60408201358116916060013516610a4b565b6040805192835260ff90911660208301528051918290030190f35b3480156103bf57600080fd5b506103c8610b34565b604080516001600160a01b039092168252519081900360200190f35b3480156103f057600080fd5b506103036004803603604081101561040757600080fd5b506001600160a01b038135169060200135610b43565b34801561042957600080fd5b50610432610c7a565b005b34801561044057600080fd5b50610432610d8a565b34801561045557600080fd5b506104326004803603604081101561046c57600080fd5b508035906020013561155c565b34801561048557600080fd5b506104ac6004803603602081101561049c57600080fd5b50356001600160a01b03166116a6565b604080519115158252519081900360200190f35b3480156104cc57600080fd5b50610303600480360360408110156104e357600080fd5b506001600160a01b0381351690602001356116b9565b34801561050557600080fd5b506103036004803603608081101561051c57600080fd5b50803590602081013590604081013590606001356001600160a01b03166116f7565b34801561054a57600080fd5b506104ac61184c565b34801561055f57600080fd5b50610432611855565b34801561057457600080fd5b50610432611867565b34801561058957600080fd5b50610432600480360360408110156105a057600080fd5b5080359060200135611922565b610432600480360360408110156105c357600080fd5b5080359060200135611b95565b3480156105dc57600080fd5b50610432600480360360208110156105f357600080fd5b503561208c565b34801561060657600080fd5b506104326004803603602081101561061d57600080fd5b50356001600160a01b03166120a2565b34801561063957600080fd5b506104326120f1565b34801561064e57600080fd5b506103c86121e3565b34801561066357600080fd5b506104ac6121f2565b34801561067857600080fd5b506104326004803603606081101561068f57600080fd5b5080359060208101359060400135612218565b3480156106ae57600080fd5b50610432600480360360208110156106c557600080fd5b50356001600160a01b03166124ce565b3480156106e157600080fd5b506106ff600480360360208110156106f857600080fd5b50356125ad565b6040805195865260208601949094528484019290925260608401526001600160a01b03166080830152519081900360a00190f35b34801561073f57600080fd5b506103036004803603604081101561075657600080fd5b50803590602001356125e5565b34801561076f57600080fd5b50610303600480360360a081101561078657600080fd5b5080359060208101359060408101359060608101359060800135612606565b3480156107b157600080fd5b50610432600480360360208110156107c857600080fd5b50356001600160a01b0316612854565b3480156107e457600080fd5b50610432600480360360408110156107fb57600080fd5b50803590602001356001600160a01b03166128e7565b34801561081d57600080fd5b506104326004803603604081101561083457600080fd5b5080359060200135612a02565b34801561084d57600080fd5b506103c8612ad3565b34801561086257600080fd5b506103036004803603604081101561087957600080fd5b5080359060200135612ae2565b34801561089257600080fd5b50610432612b06565b3480156108a757600080fd5b50610432600480360360a08110156108be57600080fd5b5080359060208101359060408101359060608101359060800135612ba7565b3480156108e957600080fd5b506103036004803603604081101561090057600080fd5b506001600160a01b038135169060200135612ce4565b34801561092257600080fd5b506104326004803603602081101561093957600080fd5b50356001600160a01b0316612ebd565b34801561095557600080fd5b506103036004803603602081101561096c57600080fd5b50356001600160a01b0316612f1f565b34801561098857600080fd5b506104326004803603604081101561099f57600080fd5b5080359060200135612f31565b3480156109b857600080fd5b506103c8612f45565b3480156109cd57600080fd5b50610303600480360360408110156109e457600080fd5b5080359060200135612f54565b3480156109fd57600080fd5b506103c8612f78565b60008181526002602090815260408083206001600160a01b03861684529091529020545b92915050565b6000818152600360205260409020545b919050565b60015490565b6000807002000000000000000000000000000000008610610a6857fe5b600080866001607f1b890281610a7a57fe5b04905070015bf0a8b1457695355fb8ac404e7a79e3811015610aa657610a9f81612f87565b9150610ab2565b610aaf8161343f565b91505b60008563ffffffff168763ffffffff16840281610acb57fe5b049050700800000000000000000000000000000000811015610afe57610af08161353f565b607f94509450505050610b2b565b6000610b098261392e565b9050610b1e81607f0360ff1683901c826139c0565b95509350610b2b92505050565b94509492505050565b6089546001600160a01b031681565b6000818152608b602052604081204282610b5d8686610a06565b905066038d7ea4c68000811015610b935750506001600160a01b0384166000908152600690910160205260409020549050610a2a565b600080610bbd610bab6103e88563ffffffff613d5d16565b670de0b6b3a764000060016004610a4b565b90925090506000610bf2600160ff84161b610be685670de0b6b3a764000063ffffffff613d5d16565b9063ffffffff613db616565b90506000610c0e6283d600610be684608763ffffffff613d5d16565b6001600160a01b038b16600090815260068901602090815260408083205460058c0190925290912054919250610c6c91610c6090610c53908a9063ffffffff613df816565b849063ffffffff613d5d16565b9063ffffffff613e3a16565b9a9950505050505050505050565b610c8a610c85613e94565b6116a6565b610cc55760405162461bcd60e51b81526004018080602001828103825260308152602001806147636030913960400191505060405180910390fd5b60065460ff16610d1c576040805162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015290519081900360640190fd5b600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610d6d613e94565b604080516001600160a01b039092168252519081900360200190a1565b701c35fedd14ffffffffffffffffffffffff602755701b0ce43b323fffffffffffffffffffffff6028557019f0028ec1ffffffffffffffffffffffff6029557018ded91f0e7fffffffffffffffffffffff602a557017d8ec7f0417ffffffffffffffffffffff602b557016ddc6556cdbffffffffffffffffffffff602c557015ecf52776a1ffffffffffffffffffffff602d557015060c256cb2ffffffffffffffffffffff602e55701428a2f98d72ffffffffffffffffffffff602f557013545598e5c23fffffffffffffffffffff603055701288c4161ce1dfffffffffffffffffffff6031557011c592761c666fffffffffffffffffffff60325570110a688680a757ffffffffffffffffffff603355701056f1b5bedf77ffffffffffffffffffff603455700faadceceeff8bffffffffffffffffffff603555700f05dc6b27edadffffffffffffffffffff603655700e67a5a25da4107fffffffffffffffffff603755700dcff115b14eedffffffffffffffffffff603855700d3e7a392431239fffffffffffffffffff603955700cb2ff529eb71e4fffffffffffffffffff603a55700c2d415c3db974afffffffffffffffffff603b55700bad03e7d883f69bffffffffffffffffff603c55700b320d03b2c343d5ffffffffffffffffff603d55700abc25204e02828dffffffffffffffffff603e55700a4b16f74ee4bb207fffffffffffffffff603f557009deaf736ac1f569ffffffffffffffffff604055700976bd9952c7aa957fffffffffffffffff6041557009131271922eaa606fffffffffffffffff6042557008b380f3558668c46fffffffffffffffff604355700857ddf0117efa215bffffffffffffffff6044557007ffffffffffffffffffffffffffffffff6045557007abbf6f6abb9d087fffffffffffffffff60465570075af62cbac95f7dfa7fffffffffffffff60475570070d7fb7452e187ac13fffffffffffffff6048557006c3390ecc8af379295fffffffffffffff60495570067c00a3b07ffc01fd6fffffffffffffff604a55700637b647c39cbb9d3d27ffffffffffffff604b557005f63b1fc104dbd39587ffffffffffffff604c557005b771955b36e12f7235ffffffffffffff604d5570057b3d49dda84556d6f6ffffffffffffff604e5570054183095b2c8ececf30ffffffffffffff604f5570050a28be635ca2b888f77fffffffffffff6050557004d5156639708c9db33c3fffffffffffff6051557004a23105873875bd52dfdfffffffffffff605255700471649d87199aa990756fffffffffffff6053557004429a21a029d4c1457cfbffffffffffff605455700415bc6d6fb7dd71af2cb3ffffffffffff6055557003eab73b3bbfe282243ce1ffffffffffff6056557003c1771ac9fb6b4c18e229ffffffffffff605755700399e96897690418f785257fffffffffff605855700373fc456c53bb779bf0ea9fffffffffff60595570034f9e8e490c48e67e6ab8bfffffffffff605a5570032cbfd4a7adc790560b3337ffffffffff605b5570030b50570f6e5d2acca94613ffffffffff605c557002eb40f9f620fda6b56c2861ffffffffff605d557002cc8340ecb0d0f520a6af58ffffffffff605e557002af09481380a0a35cf1ba02ffffffffff605f55700292c5bdd3b92ec810287b1b3fffffffff606055700277abdcdab07d5a77ac6d6b9fffffffff60615570025daf6654b1eaa55fd64df5efffffffff606255700244c49c648baa98192dce88b7ffffffff60635570022ce03cd5619a311b2471268bffffffff606455700215f77c045fbe885654a44a0fffffffff6065557001ffffffffffffffffffffffffffffffff6066557001eaefdbdaaee7421fc4d3ede5ffffffff6067557001d6bd8b2eb257df7e8ca57b09bfffffff6068557001c35fedd14b861eb0443f7f133fffffff6069557001b0ce43b322bcde4a56e8ada5afffffff606a5570019f0028ec1fff007f5a195a39dfffffff606b5570018ded91f0e72ee74f49b15ba527ffffff606c5570017d8ec7f04136f4e5615fd41a63ffffff606d5570016ddc6556cdb84bdc8d12d22e6fffffff606e5570015ecf52776a1155b5bd8395814f7fffff606f5570015060c256cb23b3b3cc3754cf40ffffff6070557001428a2f98d728ae223ddab715be3fffff60715570013545598e5c23276ccf0ede68034fffff6072557001288c4161ce1d6f54b7f61081194fffff60735570011c592761c666aa641d5a01a40f17ffff607455700110a688680a7530515f3e6e6cfdcdffff6075557001056f1b5bedf75c6bcb2ce8aed428ffff6076556ffaadceceeff8a0890f3875f008277fff6077556ff05dc6b27edad306388a600f6ba0bfff6078556fe67a5a25da41063de1495d5b18cdbfff6079556fdcff115b14eedde6fc3aa5353f2e4fff607a556fd3e7a3924312399f9aae2e0f868f8fff607b556fcb2ff529eb71e41582cccd5a1ee26fff607c556fc2d415c3db974ab32a51840c0b67edff607d556fbad03e7d883f69ad5b0a186184e06bff607e556fb320d03b2c343d4829abd6075f0cc5ff607f556fabc25204e02828d73c6e80bcdb1a95bf6080556fa4b16f74ee4bb2040a1ec6c15fbbf2df6081556f9deaf736ac1f569deb1b5ae3f36c130f6082556f976bd9952c7aa957f5937d790ef650376083556f9131271922eaa6064b73a22d0bd4f2bf6084556f8b380f3558668c46c91c49a2f8e967b96085556f857ddf0117efa215952912839f6473e6608655565b6000828152608b602052604090205482906115be576040805162461bcd60e51b815260206004820152601460248201527f706f6f6c20646f6573206e6f7420657869737473000000000000000000000000604482015290519081900360640190fd5b33838115611606576115d08282610b43565b6000828152608b602090815260408083206001600160a01b03871684526006810183528184209490945560059093019052204290555b6000841161165b576040805162461bcd60e51b815260206004820152601160248201527f63616e6e6f742077697468647261772030000000000000000000000000000000604482015290519081900360640190fd5b6116658585613e98565b6040805186815260208101869052815133927f92ccf450a286a957af52509bc1c9939d1a6a481783e142e41e2499f0bb66ebc6928290030190a25050505050565b6000610a2a60058363ffffffff613fb716565b6000818152608b602090815260408083206001600160a01b03861684526005019091528120546116f090429063ffffffff613df816565b9392505050565b60006117016121f2565b611752576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000858152608b6020526040902054156117b3576040805162461bcd60e51b815260206004820152600b60248201527f706f6f6c20657869737473000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000858152608b6020908152604091829020868155600381018690556004810180546001600160a01b0387167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116811790915583518981529283015281830187905291517f6c5d0ef1d0199b6de41ecbce95f59643be4d723ca363faf92d756e61e82fb13e9181900360600190a150949350505050565b60065460ff1690565b611865611860613e94565b61401e565b565b61186f6121f2565b6118c0576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6004546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600480547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b6000828152608b60205260409020548290611984576040805162461bcd60e51b815260206004820152601460248201527f706f6f6c20646f6573206e6f7420657869737473000000000000000000000000604482015290519081900360640190fd5b338381156119cc576119968282610b43565b6000828152608b602090815260408083206001600160a01b03871684526006810183528184209490945560059093019052204290555b60065460ff1615611a24576040805162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b611a2c614709565b506000858152608b6020908152604091829020825160a081018452815480825260018301549382019390935260028201549381019390935260038101546060840152600401546001600160a01b03166080830152421015611ad4576040805162461bcd60e51b815260206004820152600d60248201527f706f6f6c206e6f74206f70656e00000000000000000000000000000000000000604482015290519081900360640190fd5b66038d7ea4c68000611af6611ae93389610a06565b879063ffffffff613e3a16565b1015611b49576040805162461bcd60e51b815260206004820152600e60248201527f6d757374207374616b65206d696e000000000000000000000000000000000000604482015290519081900360640190fd5b611b538686614066565b6040805187815260208101879052815133927f1449c6dd7851abc30abf37f57715f492010519147cc2652fbc38202c18a6ee90928290030190a2505050505050565b6000828152608b60205260409020548290611bf7576040805162461bcd60e51b815260206004820152601460248201527f706f6f6c20646f6573206e6f7420657869737473000000000000000000000000604482015290519081900360640190fd5b6000838152608b6020908152604080832085845260070190915290205483908390611c69576040805162461bcd60e51b815260206004820152601460248201527f6361726420646f6573206e6f7420657869737473000000000000000000000000604482015290519081900360640190fd5b33858115611cb157611c7b8282610b43565b6000828152608b602090815260408083206001600160a01b03871684526006810183528184209490945560059093019052204290555b6000878152608b60205260409020611cc7614741565b506000878152600782016020908152604091829020825160608101845281548152600182015492810183905260029091015492810192909252421015611d54576040805162461bcd60e51b815260206004820152601160248201527f63617264206e6f742072656c6561736564000000000000000000000000000000604482015290519081900360640190fd5b80513360009081526006840160205260409020541015611dbb576040805162461bcd60e51b815260206004820152601560248201527f6e6f7420656e6f7567682070696e656170706c65730000000000000000000000604482015290519081900360640190fd5b80604001513414611e13576040805162461bcd60e51b815260206004820152601d60248201527f737570706f7274206f757220617274697374732c2073656e6420657468000000604482015290519081900360640190fd5b604081015115611f5b576000611e3c6103e8610be6856003015434613d5d90919063ffffffff16565b90506000611e50348363ffffffff613df816565b905034611e63828463ffffffff613e3a16565b14611eb5576040805162461bcd60e51b815260206004820152601060248201527f70726f626c656d20776974682066656500000000000000000000000000000000604482015290519081900360640190fd5b60408301516001850154611ece9163ffffffff613e3a16565b60018501556088546001600160a01b03166000908152608a6020526040902054611efe908363ffffffff613e3a16565b6088546001600160a01b039081166000908152608a602052604080822093909355600487015490911681522054611f3b908263ffffffff613e3a16565b60048501546001600160a01b03166000908152608a602052604090205550505b8051336000908152600684016020526040902054611f7e9163ffffffff613df816565b33600090815260068401602052604090205580516002830154611fa69163ffffffff613e3a16565b6002830155608754604080517f731133e9000000000000000000000000000000000000000000000000000000008152336004820152602481018b9052600160448201526080606482015260006084820181905291516001600160a01b039093169263731133e99260c48084019391929182900301818387803b15801561202b57600080fd5b505af115801561203f573d6000803e3d6000fd5b50508251604080518d8152602081019290925280513394507ff3a670cd3af7d64b488926880889d08a8585a138ff455227af6737339a1ec2629350918290030190a2505050505050505050565b61209f8161209a3384610a06565b61155c565b50565b6120ad610c85613e94565b6120e85760405162461bcd60e51b81526004018080602001828103825260308152602001806147636030913960400191505060405180910390fd5b61209f8161415b565b6120fc610c85613e94565b6121375760405162461bcd60e51b81526004018080602001828103825260308152602001806147636030913960400191505060405180910390fd5b60065460ff161561218f576040805162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610d6d613e94565b6004546001600160a01b031690565b6004546000906001600160a01b0316612209613e94565b6001600160a01b031614905090565b6000838152608b6020526040902054839061227a576040805162461bcd60e51b815260206004820152601460248201527f706f6f6c20646f6573206e6f7420657869737473000000000000000000000000604482015290519081900360640190fd5b6000838152608b602052604090205483906122dc576040805162461bcd60e51b815260206004820152601460248201527f706f6f6c20646f6573206e6f7420657869737473000000000000000000000000604482015290519081900360640190fd5b33858115612324576122ee8282610b43565b6000828152608b602090815260408083206001600160a01b03871684526006810183528184209490945560059093019052204290555b3386811561236c576123368282610b43565b6000828152608b602090815260408083206001600160a01b03871684526006810183528184209490945560059093019052204290555b60065460ff16156123c4576040805162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b6123cc614709565b506000888152608b6020908152604091829020825160a081018452815480825260018301549382019390935260028201549381019390935260038101546060840152600401546001600160a01b03166080830152421015612474576040805162461bcd60e51b815260206004820152600d60248201527f706f6f6c206e6f74206f70656e00000000000000000000000000000000000000604482015290519081900360640190fd5b61247f8a8a8a6141a3565b604080518b8152602081018b90528082018a9052905133917f9ee37244ba9f5d4982dfc3452c1cea0d297249501a9ef8040a9e646f336717b4919081900360600190a250505050505050505050565b6124d66121f2565b612527576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6088546001600160a01b039081166000908152608a60205260408082208054908390559284168252902054612562908263ffffffff613e3a16565b6001600160a01b039092166000818152608a602052604090209290925550608880547fffffffffffffffffffffffff0000000000000000000000000000000000000000169091179055565b608b6020526000908152604090208054600182015460028301546003840154600490940154929391929091906001600160a01b031685565b6000918252608b602090815260408084209284526007909201905290205490565b60006126106121f2565b612661576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000868152608b602052604090205486906126c3576040805162461bcd60e51b815260206004820152601460248201527f706f6f6c20646f6573206e6f7420657869737473000000000000000000000000604482015290519081900360640190fd5b608754604080517fb09ddf7b00000000000000000000000000000000000000000000000000000000815260048101899052600060248201819052608060448301526084820181905260c0606483015260c48201819052915191926001600160a01b03169163b09ddf7b916101048082019260209290919082900301818787803b15801561274f57600080fd5b505af1158015612763573d6000803e3d6000fd5b505050506040513d602081101561277957600080fd5b50519050806127cf576040805162461bcd60e51b815260206004820152601e60248201527f455243313135352063726561746520646964206e6f7420737563636565640000604482015290519081900360640190fd5b6000888152608b60209081526040808320848452600701825291829020888155600181018790556002810188905582518b8152918201849052818301899052606082018890526080820187905291517f91197497bafa5606f6e9834b08c79bc7774902e4207deec0a888032bd796a54d9181900360a00190a150979650505050505050565b61285c6121f2565b6128ad576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b608980547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6128ef6121f2565b612940576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166000908152608a602052604081208054908290559061296f908263ffffffff613e3a16565b6001600160a01b0383166000818152608a6020908152604080832094909455868252608b81529083902060040180547fffffffffffffffffffffffff0000000000000000000000000000000000000000168317905582518681529081019190915281517fcf297069128b7751fcf709170966c4c654bb1d79aea8cb8f23890cda40dac923929181900390910190a1505050565b612a0a6121f2565b612a5b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000828152608b60205260409020548290612abd576040805162461bcd60e51b815260206004820152601460248201527f706f6f6c20646f6573206e6f7420657869737473000000000000000000000000604482015290519081900360640190fd5b506000918252608b602052604090912060030155565b6087546001600160a01b031681565b6000918252608b602090815260408084209284526007909201905290206002015490565b336000908152608a602052604090205480612b68576040805162461bcd60e51b815260206004820152601360248201527f6e6f7468696e6720746f20776974686472617700000000000000000000000000604482015290519081900360640190fd5b336000818152608a60205260408082208290555183156108fc0291849190818181858888f19350505050158015612ba3573d6000803e3d6000fd5b5050565b612baf6121f2565b612c00576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000858152608b60205260409020548590612c62576040805162461bcd60e51b815260206004820152601460248201527f706f6f6c20646f6573206e6f7420657869737473000000000000000000000000604482015290519081900360640190fd5b6000868152608b6020908152604080832088845260070182529182902086815560018101859055600281018690558251898152918201889052818301879052606082018690526080820185905291517f91197497bafa5606f6e9834b08c79bc7774902e4207deec0a888032bd796a54d9181900360a00190a150505050505050565b6000818152608b60205260408120548290612d46576040805162461bcd60e51b815260206004820152601460248201527f706f6f6c20646f6573206e6f7420657869737473000000000000000000000000604482015290519081900360640190fd5b83836001600160a01b03821615612d9757612d618282610b43565b6000828152608b602090815260408083206001600160a01b03871684526006810183528184209490945560059093019052204290555b6089546001600160a01b03163314612df6576040805162461bcd60e51b815260206004820152600860248201527f2172657363756572000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000858152608b602090815260408083206001600160a01b038a16845260068101909252909120546002820154612e33908263ffffffff613e3a16565b60028301556001600160a01b03881660009081526006830160205260408120819055612e5f8989610a06565b1115612e6f57612e6f8888614280565b604080518881526020810183905281516001600160a01b038b16927ff3a670cd3af7d64b488926880889d08a8585a138ff455227af6737339a1ec262928290030190a2979650505050505050565b612ec56121f2565b612f16576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61209f816143cf565b608a6020526000908152604090205481565b612ba38282612f403386610a06565b612218565b6088546001600160a01b031681565b6000918252608b602090815260408084209284526007909201905290206001015490565b6000546001600160a01b031681565b6000808080806fd3094c70f034de4b96ff7d5b6f99fcd88610612fdc576f40000000000000000000000000000000840193506fd3094c70f034de4b96ff7d5b6f99fcd86001607f1b870281612fd857fe5b0495505b6fa45af1e1f40c333b3de1db4dd55f29a7861061302b576f20000000000000000000000000000000840193506fa45af1e1f40c333b3de1db4dd55f29a76001607f1b87028161302757fe5b0495505b6f910b022db7ae67ce76b441c27035c6a1861061307a576f10000000000000000000000000000000840193506f910b022db7ae67ce76b441c27035c6a16001607f1b87028161307657fe5b0495505b6f88415abbe9a76bead8d00cf112e4d4a886106130c9576f08000000000000000000000000000000840193506f88415abbe9a76bead8d00cf112e4d4a86001607f1b8702816130c557fe5b0495505b6f84102b00893f64c705e841d5d4064bd38610613118576f04000000000000000000000000000000840193506f84102b00893f64c705e841d5d4064bd36001607f1b87028161311457fe5b0495505b6f8204055aaef1c8bd5c3259f4822735a28610613167576f02000000000000000000000000000000840193506f8204055aaef1c8bd5c3259f4822735a26001607f1b87028161316357fe5b0495505b6f810100ab00222d861931c15e39b44e9986106131b6576f01000000000000000000000000000000840193506f810100ab00222d861931c15e39b44e996001607f1b8702816131b257fe5b0495505b6f808040155aabbbe9451521693554f7338610613204576e800000000000000000000000000000840193506f808040155aabbbe9451521693554f7336001607f1b87028161320057fe5b0495505b7fffffffffffffffffffffffffffffffff80000000000000000000000000000000860192508291506001607f1b828002049050700100000000000000000000000000000000838103830204840193506001607f1b8183028161326257fe5b049150700200000000000000000000000000000000836faaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0383028161329357fe5b04840193506001607f1b818302816132a757fe5b049150700300000000000000000000000000000000836f99999999999999999999999999999999038302816132d857fe5b04840193506001607f1b818302816132ec57fe5b049150700400000000000000000000000000000000836f924924924924924924924924924924920383028161331d57fe5b04840193506001607f1b8183028161333157fe5b049150700500000000000000000000000000000000836f8e38e38e38e38e38e38e38e38e38e38e0383028161336257fe5b04840193506001607f1b8183028161337657fe5b049150700600000000000000000000000000000000836f8ba2e8ba2e8ba2e8ba2e8ba2e8ba2e8b038302816133a757fe5b04840193506001607f1b818302816133bb57fe5b049150700700000000000000000000000000000000836f89d89d89d89d89d89d89d89d89d89d89038302816133ec57fe5b04840193506001607f1b8183028161340057fe5b049150700800000000000000000000000000000000836f888888888888888888888888888888880383028161343157fe5b049390930195945050505050565b600080700100000000000000000000000000000000831061347c57600061346b6001607f1b8504614488565b60ff1693841c936001607f1b029150505b6001607f1b83111561351357607f5b60ff811615613511576001607f1b84800204935070010000000000000000000000000000000084106134ea57600193841c9360ff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8301161b91909101905b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0161348b565b505b6f05b9de1d10bf4103d647b0955897ba806f03f80fe03f80fe03f80fe03f80fe03f88202049392505050565b6000670168244fdac780006001607f1b6f0fffffffffffffffffffffffffffffff84168080028290048082028390048083028490049485026710e1b3be415a00009092026705a0913f6b1e000091909102010192909181830204905080664807432bc1800002830192506001607f1b828202816135b857fe5b04905080660c0135dca0400002830192506001607f1b828202816135d857fe5b049050806601b707b1cdc00002830192506001607f1b828202816135f857fe5b049050806536e0f639b80002830192506001607f1b8282028161361757fe5b04905080650618fee9f80002830192506001607f1b8282028161363657fe5b04905080649c197dcc0002830192506001607f1b8282028161365457fe5b04905080640e30dce40002830192506001607f1b8282028161367257fe5b0490508064012ebd130002830192506001607f1b8282028161369057fe5b049050806317499f0002830192506001607f1b828202816136ad57fe5b049050806301a9d48002830192506001607f1b828202816136ca57fe5b04905080621c638002830192506001607f1b828202816136e657fe5b049050806201c63802830192506001607f1b8282028161370257fe5b04905080611ab802830192506001607f1b8282028161371d57fe5b0490508061017c02830192506001607f1b8282028161373857fe5b04905080601402830192506001607f1b8282028161375257fe5b6721c3677c82b400009190049384010482016001607f1b019290506f100000000000000000000000000000008516156137af5770018ebef9eac820ae8682b9793ac6d1e7767001c3d6a24ed82218787d624d3e5eba95f984020492505b6f200000000000000000000000000000008516156137f1577001368b2fc6f9609fe7aceb46aa619baed470018ebef9eac820ae8682b9793ac6d1e77884020492505b6f40000000000000000000000000000000851615613832576fbc5ab1b16779be3575bd8f0520a9f21f7001368b2fc6f9609fe7aceb46aa619baed584020492505b6001607f1b851615613866576f454aaa8efe072e7f6ddbab84b40a55c96fbc5ab1b16779be3575bd8f0520a9f21e84020492505b7001000000000000000000000000000000008516156138a7576f0960aadc109e7a3bf4578099615711ea6f454aaa8efe072e7f6ddbab84b40a55c584020492505b7002000000000000000000000000000000008516156138e7576e2bf84208204f5977f9a8cf01fdce3d6f0960aadc109e7a3bf4578099615711d784020492505b700400000000000000000000000000000000851615613925576d03c6ab775dd0b95b4cbee7e65d116e2bf84208204f5977f9a8cf01fdc30784020492505b50909392505050565b60006020607f5b8060ff168260010160ff16101561397d576000600260ff848401160490508460078260ff166080811061396457fe5b01541061397357809250613977565b8091505b50613935565b8360078260ff166080811061398e57fe5b01541061399e579150610a409050565b8360078360ff16608081106139af57fe5b0154106139be57509050610a40565bfe5b60008083905060008090508360ff16858302901c9150816f03442c4e6074a82f1797f72ac000000002810190508360ff16858302901c9150816f0116b96f757c380fb287fd0e4000000002810190508360ff16858302901c9150816e45ae5bdd5f0e03eca1ff439000000002810190508360ff16858302901c9150816e0defabf91302cd95b9ffda5000000002810190508360ff16858302901c9150816e02529ca9832b22439efff9b800000002810190508360ff16858302901c9150816d54f1cf12bd04e516b6da8800000002810190508360ff16858302901c9150816d0a9e39e257a09ca2d6db5100000002810190508360ff16858302901c9150816d012e066e7b839fa050c30900000002810190508360ff16858302901c9150816c1e33d7d926c329a1ad1a80000002810190508360ff16858302901c9150816c02bee513bdb4a6b19b5f80000002810190508360ff16858302901c9150816b3a9316fa79b88eccf2a0000002810190508360ff16858302901c9150816b048177ebe1fa81237520000002810190508360ff16858302901c9150816a5263fe90242dcbacf0000002810190508360ff16858302901c9150816a057e22099c030d9410000002810190508360ff16858302901c9150816957e22099c030d941000002810190508360ff16858302901c91508169052b6b5456997631000002810190508360ff16858302901c915081684985f67696bf74800002810190508360ff16858302901c9150816803dea12ea99e49800002810190508360ff16858302901c9150816731880f2214b6e00002810190508360ff16858302901c91508167025bcff56eb3600002810190508360ff16858302901c915081661b722e10ab100002810190508360ff16858302901c9150816601317c7007700002810190508360ff16858302901c915081650cba84aafa0002810190508360ff16858302901c9150816482573a0a0002810190508360ff16858302901c9150816405035ad90002810190508360ff16858302901c915081632f881b0002810190508360ff16858302901c9150816301b2934002810190508360ff16858302901c915081620efc4002810190508360ff16858302901c915081617fe002810190508360ff16858302901c91508161042002810190508360ff16858302901c915081602102810190508360ff16858302901c915081600102810190508360ff166001901b856f0688589cc0e9505e2f2fee55800000008381613d5157fe5b04010195945050505050565b600082613d6c57506000610a2a565b82820282848281613d7957fe5b04146116f05760405162461bcd60e51b81526004018080602001828103825260218152602001806147da6021913960400191505060405180910390fd5b60006116f083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506144e9565b60006116f083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061458b565b6000828201838110156116f0576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b600154613eab908263ffffffff613df816565b600155600082815260036020526040902054613ecd908263ffffffff613df816565b6000838152600360209081526040808320939093556002815282822033835290522054613f00908263ffffffff613df816565b60008381526002602090815260408083203380855290835281842094909455825481517fa9059cbb00000000000000000000000000000000000000000000000000000000815260048101959095526024850186905290516001600160a01b039091169363a9059cbb9360448083019493928390030190829087803b158015613f8757600080fd5b505af1158015613f9b573d6000803e3d6000fd5b505050506040513d6020811015613fb157600080fd5b50505050565b60006001600160a01b038216613ffe5760405162461bcd60e51b81526004018080602001828103825260228152602001806147fb6022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b61402f60058263ffffffff6145e516565b6040516001600160a01b038216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b600154614079908263ffffffff613e3a16565b60015560008281526003602052604090205461409b908263ffffffff613e3a16565b60008381526003602090815260408083209390935560028152828220338352905220546140ce908263ffffffff613e3a16565b60008381526002602090815260408083203380855290835281842094909455825481517f23b872dd00000000000000000000000000000000000000000000000000000000815260048101959095523060248601526044850186905290516001600160a01b03909116936323b872dd9360648083019493928390030190829087803b158015613f8757600080fd5b61416c60058263ffffffff61466a16565b6040516001600160a01b038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b6000838152600360205260409020546141c2908263ffffffff613df816565b60008481526003602090815260408083209390935560028152828220338352905220546141f5908263ffffffff613df816565b600084815260026020908152604080832033845282528083209390935584825260039052205461422b908263ffffffff613e3a16565b600083815260036020908152604080832093909355600281528282203383529052205461425e908263ffffffff613e3a16565b6000928352600260209081526040808520338652909152909220919091555050565b60008181526002602090815260408083206001600160a01b03861684529091529020546001546142b6908263ffffffff613df816565b6001556000828152600360205260409020546142d8908263ffffffff613df816565b600083815260036020908152604080832093909355600281528282206001600160a01b038716835290522054614314908263ffffffff613df816565b60008381526002602090815260408083206001600160a01b0380891680865291845282852095909555835482517fa9059cbb0000000000000000000000000000000000000000000000000000000081526004810192909252602482018790529151919094169363a9059cbb9360448083019493928390030190829087803b15801561439e57600080fd5b505af11580156143b2573d6000803e3d6000fd5b505050506040513d60208110156143c857600080fd5b5050505050565b6001600160a01b0381166144145760405162461bcd60e51b81526004018080602001828103825260268152602001806147936026913960400191505060405180910390fd5b6004546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600480547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6000806101008310156144b0575b60018311156144ab57600192831c9201614496565b610a2a565b60805b60ff8116156144e257600160ff82161b84106144d75760ff81169390931c92908117905b60011c607f166144b3565b5092915050565b600081836145755760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561453a578181015183820152602001614522565b50505050905090810190601f1680156145675780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161458157fe5b0495945050505050565b600081848411156145dd5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561453a578181015183820152602001614522565b505050900390565b6145ef8282613fb7565b61462a5760405162461bcd60e51b81526004018080602001828103825260218152602001806147b96021913960400191505060405180910390fd5b6001600160a01b031660009081526020919091526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055565b6146748282613fb7565b156146c6576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b031660009081526020919091526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b6040518060a001604052806000815260200160008152602001600081526020016000815260200160006001600160a01b031681525090565b6040518060600160405280600081526020016000815260200160008152509056fe506175736572526f6c653a2063616c6c657220646f6573206e6f742068617665207468652050617573657220726f6c654f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c65536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77526f6c65733a206163636f756e7420697320746865207a65726f2061646472657373a265627a7a723158208d07e90548d1b81b6da6f968b93dc2d9d027b2f08cf768dcd34e206113ac34fd64736f6c634300050c0032526f6c65733a206163636f756e7420697320746865207a65726f2061646472657373000000000000000000000000214bc6a17e022cff3676d3979b748f2940317957000000000000000000000000e4605d46fd0b3f8329d936a8b258d69276cba2640000000000000000000000007e7e112a68d8d2e221e11047a72ffc1065c38e1a
Deployed Bytecode
0x6080604052600436106102c55760003560e01c80638da5cb5b11610179578063e107aa17116100d6578063f2fde38b1161008a578063f77c479111610064578063f77c4791146109ac578063fb233733146109c1578063fc0c546a146109f1576102c5565b8063f2fde38b14610916578063f3f4370314610949578063f4dcb1eb1461097c576102c5565b8063e941fa78116100bb578063e941fa7814610886578063ecef6c3b1461089b578063f2e75dab146108dd576102c5565b8063e107aa1714610841578063e3d6e69f14610856576102c5565b8063be109c651161012d578063cd5cecf811610112578063cd5cecf8146107a5578063d76a386a146107d8578063e1039f4814610811576102c5565b8063be109c6514610733578063c07bf52a14610763576102c5565b806390dd26271161015e57806390dd26271461066c57806392eefe9b146106a2578063ac4afa38146106d5576102c5565b80638da5cb5b146106425780638f32d59b14610657576102c5565b806355adda3f116102275780637b0472f0116101db5780637f8661a1116101c05780637f8661a1146105d057806382dc1ec4146105fa5780638456cb591461062d576102c5565b80637b0472f01461057d5780637cbc2373146105ad576102c5565b80635c975abb1161020c5780635c975abb1461053e5780636ef8d66d14610553578063715018a614610568576102c5565b806355adda3f146104c057806355b46277146104f9576102c5565b80633e491d471161027e57806343398685116102635780634339868514610434578063441a3e701461044957806346fbf68e14610479576102c5565b80633e491d47146103e45780633f4ba83a1461041d576102c5565b806318160ddd116102af57806318160ddd1461033f57806332833d511461035457806338a63183146103b3576102c5565b8062fdd58e146102ca5780630d749cec14610315575b600080fd5b3480156102d657600080fd5b50610303600480360360408110156102ed57600080fd5b506001600160a01b038135169060200135610a06565b60408051918252519081900360200190f35b34801561032157600080fd5b506103036004803603602081101561033857600080fd5b5035610a30565b34801561034b57600080fd5b50610303610a45565b34801561036057600080fd5b506103986004803603608081101561037757600080fd5b5080359060208101359063ffffffff60408201358116916060013516610a4b565b6040805192835260ff90911660208301528051918290030190f35b3480156103bf57600080fd5b506103c8610b34565b604080516001600160a01b039092168252519081900360200190f35b3480156103f057600080fd5b506103036004803603604081101561040757600080fd5b506001600160a01b038135169060200135610b43565b34801561042957600080fd5b50610432610c7a565b005b34801561044057600080fd5b50610432610d8a565b34801561045557600080fd5b506104326004803603604081101561046c57600080fd5b508035906020013561155c565b34801561048557600080fd5b506104ac6004803603602081101561049c57600080fd5b50356001600160a01b03166116a6565b604080519115158252519081900360200190f35b3480156104cc57600080fd5b50610303600480360360408110156104e357600080fd5b506001600160a01b0381351690602001356116b9565b34801561050557600080fd5b506103036004803603608081101561051c57600080fd5b50803590602081013590604081013590606001356001600160a01b03166116f7565b34801561054a57600080fd5b506104ac61184c565b34801561055f57600080fd5b50610432611855565b34801561057457600080fd5b50610432611867565b34801561058957600080fd5b50610432600480360360408110156105a057600080fd5b5080359060200135611922565b610432600480360360408110156105c357600080fd5b5080359060200135611b95565b3480156105dc57600080fd5b50610432600480360360208110156105f357600080fd5b503561208c565b34801561060657600080fd5b506104326004803603602081101561061d57600080fd5b50356001600160a01b03166120a2565b34801561063957600080fd5b506104326120f1565b34801561064e57600080fd5b506103c86121e3565b34801561066357600080fd5b506104ac6121f2565b34801561067857600080fd5b506104326004803603606081101561068f57600080fd5b5080359060208101359060400135612218565b3480156106ae57600080fd5b50610432600480360360208110156106c557600080fd5b50356001600160a01b03166124ce565b3480156106e157600080fd5b506106ff600480360360208110156106f857600080fd5b50356125ad565b6040805195865260208601949094528484019290925260608401526001600160a01b03166080830152519081900360a00190f35b34801561073f57600080fd5b506103036004803603604081101561075657600080fd5b50803590602001356125e5565b34801561076f57600080fd5b50610303600480360360a081101561078657600080fd5b5080359060208101359060408101359060608101359060800135612606565b3480156107b157600080fd5b50610432600480360360208110156107c857600080fd5b50356001600160a01b0316612854565b3480156107e457600080fd5b50610432600480360360408110156107fb57600080fd5b50803590602001356001600160a01b03166128e7565b34801561081d57600080fd5b506104326004803603604081101561083457600080fd5b5080359060200135612a02565b34801561084d57600080fd5b506103c8612ad3565b34801561086257600080fd5b506103036004803603604081101561087957600080fd5b5080359060200135612ae2565b34801561089257600080fd5b50610432612b06565b3480156108a757600080fd5b50610432600480360360a08110156108be57600080fd5b5080359060208101359060408101359060608101359060800135612ba7565b3480156108e957600080fd5b506103036004803603604081101561090057600080fd5b506001600160a01b038135169060200135612ce4565b34801561092257600080fd5b506104326004803603602081101561093957600080fd5b50356001600160a01b0316612ebd565b34801561095557600080fd5b506103036004803603602081101561096c57600080fd5b50356001600160a01b0316612f1f565b34801561098857600080fd5b506104326004803603604081101561099f57600080fd5b5080359060200135612f31565b3480156109b857600080fd5b506103c8612f45565b3480156109cd57600080fd5b50610303600480360360408110156109e457600080fd5b5080359060200135612f54565b3480156109fd57600080fd5b506103c8612f78565b60008181526002602090815260408083206001600160a01b03861684529091529020545b92915050565b6000818152600360205260409020545b919050565b60015490565b6000807002000000000000000000000000000000008610610a6857fe5b600080866001607f1b890281610a7a57fe5b04905070015bf0a8b1457695355fb8ac404e7a79e3811015610aa657610a9f81612f87565b9150610ab2565b610aaf8161343f565b91505b60008563ffffffff168763ffffffff16840281610acb57fe5b049050700800000000000000000000000000000000811015610afe57610af08161353f565b607f94509450505050610b2b565b6000610b098261392e565b9050610b1e81607f0360ff1683901c826139c0565b95509350610b2b92505050565b94509492505050565b6089546001600160a01b031681565b6000818152608b602052604081204282610b5d8686610a06565b905066038d7ea4c68000811015610b935750506001600160a01b0384166000908152600690910160205260409020549050610a2a565b600080610bbd610bab6103e88563ffffffff613d5d16565b670de0b6b3a764000060016004610a4b565b90925090506000610bf2600160ff84161b610be685670de0b6b3a764000063ffffffff613d5d16565b9063ffffffff613db616565b90506000610c0e6283d600610be684608763ffffffff613d5d16565b6001600160a01b038b16600090815260068901602090815260408083205460058c0190925290912054919250610c6c91610c6090610c53908a9063ffffffff613df816565b849063ffffffff613d5d16565b9063ffffffff613e3a16565b9a9950505050505050505050565b610c8a610c85613e94565b6116a6565b610cc55760405162461bcd60e51b81526004018080602001828103825260308152602001806147636030913960400191505060405180910390fd5b60065460ff16610d1c576040805162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f7420706175736564000000000000000000000000604482015290519081900360640190fd5b600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610d6d613e94565b604080516001600160a01b039092168252519081900360200190a1565b701c35fedd14ffffffffffffffffffffffff602755701b0ce43b323fffffffffffffffffffffff6028557019f0028ec1ffffffffffffffffffffffff6029557018ded91f0e7fffffffffffffffffffffff602a557017d8ec7f0417ffffffffffffffffffffff602b557016ddc6556cdbffffffffffffffffffffff602c557015ecf52776a1ffffffffffffffffffffff602d557015060c256cb2ffffffffffffffffffffff602e55701428a2f98d72ffffffffffffffffffffff602f557013545598e5c23fffffffffffffffffffff603055701288c4161ce1dfffffffffffffffffffff6031557011c592761c666fffffffffffffffffffff60325570110a688680a757ffffffffffffffffffff603355701056f1b5bedf77ffffffffffffffffffff603455700faadceceeff8bffffffffffffffffffff603555700f05dc6b27edadffffffffffffffffffff603655700e67a5a25da4107fffffffffffffffffff603755700dcff115b14eedffffffffffffffffffff603855700d3e7a392431239fffffffffffffffffff603955700cb2ff529eb71e4fffffffffffffffffff603a55700c2d415c3db974afffffffffffffffffff603b55700bad03e7d883f69bffffffffffffffffff603c55700b320d03b2c343d5ffffffffffffffffff603d55700abc25204e02828dffffffffffffffffff603e55700a4b16f74ee4bb207fffffffffffffffff603f557009deaf736ac1f569ffffffffffffffffff604055700976bd9952c7aa957fffffffffffffffff6041557009131271922eaa606fffffffffffffffff6042557008b380f3558668c46fffffffffffffffff604355700857ddf0117efa215bffffffffffffffff6044557007ffffffffffffffffffffffffffffffff6045557007abbf6f6abb9d087fffffffffffffffff60465570075af62cbac95f7dfa7fffffffffffffff60475570070d7fb7452e187ac13fffffffffffffff6048557006c3390ecc8af379295fffffffffffffff60495570067c00a3b07ffc01fd6fffffffffffffff604a55700637b647c39cbb9d3d27ffffffffffffff604b557005f63b1fc104dbd39587ffffffffffffff604c557005b771955b36e12f7235ffffffffffffff604d5570057b3d49dda84556d6f6ffffffffffffff604e5570054183095b2c8ececf30ffffffffffffff604f5570050a28be635ca2b888f77fffffffffffff6050557004d5156639708c9db33c3fffffffffffff6051557004a23105873875bd52dfdfffffffffffff605255700471649d87199aa990756fffffffffffff6053557004429a21a029d4c1457cfbffffffffffff605455700415bc6d6fb7dd71af2cb3ffffffffffff6055557003eab73b3bbfe282243ce1ffffffffffff6056557003c1771ac9fb6b4c18e229ffffffffffff605755700399e96897690418f785257fffffffffff605855700373fc456c53bb779bf0ea9fffffffffff60595570034f9e8e490c48e67e6ab8bfffffffffff605a5570032cbfd4a7adc790560b3337ffffffffff605b5570030b50570f6e5d2acca94613ffffffffff605c557002eb40f9f620fda6b56c2861ffffffffff605d557002cc8340ecb0d0f520a6af58ffffffffff605e557002af09481380a0a35cf1ba02ffffffffff605f55700292c5bdd3b92ec810287b1b3fffffffff606055700277abdcdab07d5a77ac6d6b9fffffffff60615570025daf6654b1eaa55fd64df5efffffffff606255700244c49c648baa98192dce88b7ffffffff60635570022ce03cd5619a311b2471268bffffffff606455700215f77c045fbe885654a44a0fffffffff6065557001ffffffffffffffffffffffffffffffff6066557001eaefdbdaaee7421fc4d3ede5ffffffff6067557001d6bd8b2eb257df7e8ca57b09bfffffff6068557001c35fedd14b861eb0443f7f133fffffff6069557001b0ce43b322bcde4a56e8ada5afffffff606a5570019f0028ec1fff007f5a195a39dfffffff606b5570018ded91f0e72ee74f49b15ba527ffffff606c5570017d8ec7f04136f4e5615fd41a63ffffff606d5570016ddc6556cdb84bdc8d12d22e6fffffff606e5570015ecf52776a1155b5bd8395814f7fffff606f5570015060c256cb23b3b3cc3754cf40ffffff6070557001428a2f98d728ae223ddab715be3fffff60715570013545598e5c23276ccf0ede68034fffff6072557001288c4161ce1d6f54b7f61081194fffff60735570011c592761c666aa641d5a01a40f17ffff607455700110a688680a7530515f3e6e6cfdcdffff6075557001056f1b5bedf75c6bcb2ce8aed428ffff6076556ffaadceceeff8a0890f3875f008277fff6077556ff05dc6b27edad306388a600f6ba0bfff6078556fe67a5a25da41063de1495d5b18cdbfff6079556fdcff115b14eedde6fc3aa5353f2e4fff607a556fd3e7a3924312399f9aae2e0f868f8fff607b556fcb2ff529eb71e41582cccd5a1ee26fff607c556fc2d415c3db974ab32a51840c0b67edff607d556fbad03e7d883f69ad5b0a186184e06bff607e556fb320d03b2c343d4829abd6075f0cc5ff607f556fabc25204e02828d73c6e80bcdb1a95bf6080556fa4b16f74ee4bb2040a1ec6c15fbbf2df6081556f9deaf736ac1f569deb1b5ae3f36c130f6082556f976bd9952c7aa957f5937d790ef650376083556f9131271922eaa6064b73a22d0bd4f2bf6084556f8b380f3558668c46c91c49a2f8e967b96085556f857ddf0117efa215952912839f6473e6608655565b6000828152608b602052604090205482906115be576040805162461bcd60e51b815260206004820152601460248201527f706f6f6c20646f6573206e6f7420657869737473000000000000000000000000604482015290519081900360640190fd5b33838115611606576115d08282610b43565b6000828152608b602090815260408083206001600160a01b03871684526006810183528184209490945560059093019052204290555b6000841161165b576040805162461bcd60e51b815260206004820152601160248201527f63616e6e6f742077697468647261772030000000000000000000000000000000604482015290519081900360640190fd5b6116658585613e98565b6040805186815260208101869052815133927f92ccf450a286a957af52509bc1c9939d1a6a481783e142e41e2499f0bb66ebc6928290030190a25050505050565b6000610a2a60058363ffffffff613fb716565b6000818152608b602090815260408083206001600160a01b03861684526005019091528120546116f090429063ffffffff613df816565b9392505050565b60006117016121f2565b611752576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000858152608b6020526040902054156117b3576040805162461bcd60e51b815260206004820152600b60248201527f706f6f6c20657869737473000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000858152608b6020908152604091829020868155600381018690556004810180546001600160a01b0387167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116811790915583518981529283015281830187905291517f6c5d0ef1d0199b6de41ecbce95f59643be4d723ca363faf92d756e61e82fb13e9181900360600190a150949350505050565b60065460ff1690565b611865611860613e94565b61401e565b565b61186f6121f2565b6118c0576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6004546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600480547fffffffffffffffffffffffff0000000000000000000000000000000000000000169055565b6000828152608b60205260409020548290611984576040805162461bcd60e51b815260206004820152601460248201527f706f6f6c20646f6573206e6f7420657869737473000000000000000000000000604482015290519081900360640190fd5b338381156119cc576119968282610b43565b6000828152608b602090815260408083206001600160a01b03871684526006810183528184209490945560059093019052204290555b60065460ff1615611a24576040805162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b611a2c614709565b506000858152608b6020908152604091829020825160a081018452815480825260018301549382019390935260028201549381019390935260038101546060840152600401546001600160a01b03166080830152421015611ad4576040805162461bcd60e51b815260206004820152600d60248201527f706f6f6c206e6f74206f70656e00000000000000000000000000000000000000604482015290519081900360640190fd5b66038d7ea4c68000611af6611ae93389610a06565b879063ffffffff613e3a16565b1015611b49576040805162461bcd60e51b815260206004820152600e60248201527f6d757374207374616b65206d696e000000000000000000000000000000000000604482015290519081900360640190fd5b611b538686614066565b6040805187815260208101879052815133927f1449c6dd7851abc30abf37f57715f492010519147cc2652fbc38202c18a6ee90928290030190a2505050505050565b6000828152608b60205260409020548290611bf7576040805162461bcd60e51b815260206004820152601460248201527f706f6f6c20646f6573206e6f7420657869737473000000000000000000000000604482015290519081900360640190fd5b6000838152608b6020908152604080832085845260070190915290205483908390611c69576040805162461bcd60e51b815260206004820152601460248201527f6361726420646f6573206e6f7420657869737473000000000000000000000000604482015290519081900360640190fd5b33858115611cb157611c7b8282610b43565b6000828152608b602090815260408083206001600160a01b03871684526006810183528184209490945560059093019052204290555b6000878152608b60205260409020611cc7614741565b506000878152600782016020908152604091829020825160608101845281548152600182015492810183905260029091015492810192909252421015611d54576040805162461bcd60e51b815260206004820152601160248201527f63617264206e6f742072656c6561736564000000000000000000000000000000604482015290519081900360640190fd5b80513360009081526006840160205260409020541015611dbb576040805162461bcd60e51b815260206004820152601560248201527f6e6f7420656e6f7567682070696e656170706c65730000000000000000000000604482015290519081900360640190fd5b80604001513414611e13576040805162461bcd60e51b815260206004820152601d60248201527f737570706f7274206f757220617274697374732c2073656e6420657468000000604482015290519081900360640190fd5b604081015115611f5b576000611e3c6103e8610be6856003015434613d5d90919063ffffffff16565b90506000611e50348363ffffffff613df816565b905034611e63828463ffffffff613e3a16565b14611eb5576040805162461bcd60e51b815260206004820152601060248201527f70726f626c656d20776974682066656500000000000000000000000000000000604482015290519081900360640190fd5b60408301516001850154611ece9163ffffffff613e3a16565b60018501556088546001600160a01b03166000908152608a6020526040902054611efe908363ffffffff613e3a16565b6088546001600160a01b039081166000908152608a602052604080822093909355600487015490911681522054611f3b908263ffffffff613e3a16565b60048501546001600160a01b03166000908152608a602052604090205550505b8051336000908152600684016020526040902054611f7e9163ffffffff613df816565b33600090815260068401602052604090205580516002830154611fa69163ffffffff613e3a16565b6002830155608754604080517f731133e9000000000000000000000000000000000000000000000000000000008152336004820152602481018b9052600160448201526080606482015260006084820181905291516001600160a01b039093169263731133e99260c48084019391929182900301818387803b15801561202b57600080fd5b505af115801561203f573d6000803e3d6000fd5b50508251604080518d8152602081019290925280513394507ff3a670cd3af7d64b488926880889d08a8585a138ff455227af6737339a1ec2629350918290030190a2505050505050505050565b61209f8161209a3384610a06565b61155c565b50565b6120ad610c85613e94565b6120e85760405162461bcd60e51b81526004018080602001828103825260308152602001806147636030913960400191505060405180910390fd5b61209f8161415b565b6120fc610c85613e94565b6121375760405162461bcd60e51b81526004018080602001828103825260308152602001806147636030913960400191505060405180910390fd5b60065460ff161561218f576040805162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610d6d613e94565b6004546001600160a01b031690565b6004546000906001600160a01b0316612209613e94565b6001600160a01b031614905090565b6000838152608b6020526040902054839061227a576040805162461bcd60e51b815260206004820152601460248201527f706f6f6c20646f6573206e6f7420657869737473000000000000000000000000604482015290519081900360640190fd5b6000838152608b602052604090205483906122dc576040805162461bcd60e51b815260206004820152601460248201527f706f6f6c20646f6573206e6f7420657869737473000000000000000000000000604482015290519081900360640190fd5b33858115612324576122ee8282610b43565b6000828152608b602090815260408083206001600160a01b03871684526006810183528184209490945560059093019052204290555b3386811561236c576123368282610b43565b6000828152608b602090815260408083206001600160a01b03871684526006810183528184209490945560059093019052204290555b60065460ff16156123c4576040805162461bcd60e51b815260206004820152601060248201527f5061757361626c653a2070617573656400000000000000000000000000000000604482015290519081900360640190fd5b6123cc614709565b506000888152608b6020908152604091829020825160a081018452815480825260018301549382019390935260028201549381019390935260038101546060840152600401546001600160a01b03166080830152421015612474576040805162461bcd60e51b815260206004820152600d60248201527f706f6f6c206e6f74206f70656e00000000000000000000000000000000000000604482015290519081900360640190fd5b61247f8a8a8a6141a3565b604080518b8152602081018b90528082018a9052905133917f9ee37244ba9f5d4982dfc3452c1cea0d297249501a9ef8040a9e646f336717b4919081900360600190a250505050505050505050565b6124d66121f2565b612527576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6088546001600160a01b039081166000908152608a60205260408082208054908390559284168252902054612562908263ffffffff613e3a16565b6001600160a01b039092166000818152608a602052604090209290925550608880547fffffffffffffffffffffffff0000000000000000000000000000000000000000169091179055565b608b6020526000908152604090208054600182015460028301546003840154600490940154929391929091906001600160a01b031685565b6000918252608b602090815260408084209284526007909201905290205490565b60006126106121f2565b612661576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000868152608b602052604090205486906126c3576040805162461bcd60e51b815260206004820152601460248201527f706f6f6c20646f6573206e6f7420657869737473000000000000000000000000604482015290519081900360640190fd5b608754604080517fb09ddf7b00000000000000000000000000000000000000000000000000000000815260048101899052600060248201819052608060448301526084820181905260c0606483015260c48201819052915191926001600160a01b03169163b09ddf7b916101048082019260209290919082900301818787803b15801561274f57600080fd5b505af1158015612763573d6000803e3d6000fd5b505050506040513d602081101561277957600080fd5b50519050806127cf576040805162461bcd60e51b815260206004820152601e60248201527f455243313135352063726561746520646964206e6f7420737563636565640000604482015290519081900360640190fd5b6000888152608b60209081526040808320848452600701825291829020888155600181018790556002810188905582518b8152918201849052818301899052606082018890526080820187905291517f91197497bafa5606f6e9834b08c79bc7774902e4207deec0a888032bd796a54d9181900360a00190a150979650505050505050565b61285c6121f2565b6128ad576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b608980547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6128ef6121f2565b612940576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166000908152608a602052604081208054908290559061296f908263ffffffff613e3a16565b6001600160a01b0383166000818152608a6020908152604080832094909455868252608b81529083902060040180547fffffffffffffffffffffffff0000000000000000000000000000000000000000168317905582518681529081019190915281517fcf297069128b7751fcf709170966c4c654bb1d79aea8cb8f23890cda40dac923929181900390910190a1505050565b612a0a6121f2565b612a5b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000828152608b60205260409020548290612abd576040805162461bcd60e51b815260206004820152601460248201527f706f6f6c20646f6573206e6f7420657869737473000000000000000000000000604482015290519081900360640190fd5b506000918252608b602052604090912060030155565b6087546001600160a01b031681565b6000918252608b602090815260408084209284526007909201905290206002015490565b336000908152608a602052604090205480612b68576040805162461bcd60e51b815260206004820152601360248201527f6e6f7468696e6720746f20776974686472617700000000000000000000000000604482015290519081900360640190fd5b336000818152608a60205260408082208290555183156108fc0291849190818181858888f19350505050158015612ba3573d6000803e3d6000fd5b5050565b612baf6121f2565b612c00576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000858152608b60205260409020548590612c62576040805162461bcd60e51b815260206004820152601460248201527f706f6f6c20646f6573206e6f7420657869737473000000000000000000000000604482015290519081900360640190fd5b6000868152608b6020908152604080832088845260070182529182902086815560018101859055600281018690558251898152918201889052818301879052606082018690526080820185905291517f91197497bafa5606f6e9834b08c79bc7774902e4207deec0a888032bd796a54d9181900360a00190a150505050505050565b6000818152608b60205260408120548290612d46576040805162461bcd60e51b815260206004820152601460248201527f706f6f6c20646f6573206e6f7420657869737473000000000000000000000000604482015290519081900360640190fd5b83836001600160a01b03821615612d9757612d618282610b43565b6000828152608b602090815260408083206001600160a01b03871684526006810183528184209490945560059093019052204290555b6089546001600160a01b03163314612df6576040805162461bcd60e51b815260206004820152600860248201527f2172657363756572000000000000000000000000000000000000000000000000604482015290519081900360640190fd5b6000858152608b602090815260408083206001600160a01b038a16845260068101909252909120546002820154612e33908263ffffffff613e3a16565b60028301556001600160a01b03881660009081526006830160205260408120819055612e5f8989610a06565b1115612e6f57612e6f8888614280565b604080518881526020810183905281516001600160a01b038b16927ff3a670cd3af7d64b488926880889d08a8585a138ff455227af6737339a1ec262928290030190a2979650505050505050565b612ec56121f2565b612f16576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b61209f816143cf565b608a6020526000908152604090205481565b612ba38282612f403386610a06565b612218565b6088546001600160a01b031681565b6000918252608b602090815260408084209284526007909201905290206001015490565b6000546001600160a01b031681565b6000808080806fd3094c70f034de4b96ff7d5b6f99fcd88610612fdc576f40000000000000000000000000000000840193506fd3094c70f034de4b96ff7d5b6f99fcd86001607f1b870281612fd857fe5b0495505b6fa45af1e1f40c333b3de1db4dd55f29a7861061302b576f20000000000000000000000000000000840193506fa45af1e1f40c333b3de1db4dd55f29a76001607f1b87028161302757fe5b0495505b6f910b022db7ae67ce76b441c27035c6a1861061307a576f10000000000000000000000000000000840193506f910b022db7ae67ce76b441c27035c6a16001607f1b87028161307657fe5b0495505b6f88415abbe9a76bead8d00cf112e4d4a886106130c9576f08000000000000000000000000000000840193506f88415abbe9a76bead8d00cf112e4d4a86001607f1b8702816130c557fe5b0495505b6f84102b00893f64c705e841d5d4064bd38610613118576f04000000000000000000000000000000840193506f84102b00893f64c705e841d5d4064bd36001607f1b87028161311457fe5b0495505b6f8204055aaef1c8bd5c3259f4822735a28610613167576f02000000000000000000000000000000840193506f8204055aaef1c8bd5c3259f4822735a26001607f1b87028161316357fe5b0495505b6f810100ab00222d861931c15e39b44e9986106131b6576f01000000000000000000000000000000840193506f810100ab00222d861931c15e39b44e996001607f1b8702816131b257fe5b0495505b6f808040155aabbbe9451521693554f7338610613204576e800000000000000000000000000000840193506f808040155aabbbe9451521693554f7336001607f1b87028161320057fe5b0495505b7fffffffffffffffffffffffffffffffff80000000000000000000000000000000860192508291506001607f1b828002049050700100000000000000000000000000000000838103830204840193506001607f1b8183028161326257fe5b049150700200000000000000000000000000000000836faaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0383028161329357fe5b04840193506001607f1b818302816132a757fe5b049150700300000000000000000000000000000000836f99999999999999999999999999999999038302816132d857fe5b04840193506001607f1b818302816132ec57fe5b049150700400000000000000000000000000000000836f924924924924924924924924924924920383028161331d57fe5b04840193506001607f1b8183028161333157fe5b049150700500000000000000000000000000000000836f8e38e38e38e38e38e38e38e38e38e38e0383028161336257fe5b04840193506001607f1b8183028161337657fe5b049150700600000000000000000000000000000000836f8ba2e8ba2e8ba2e8ba2e8ba2e8ba2e8b038302816133a757fe5b04840193506001607f1b818302816133bb57fe5b049150700700000000000000000000000000000000836f89d89d89d89d89d89d89d89d89d89d89038302816133ec57fe5b04840193506001607f1b8183028161340057fe5b049150700800000000000000000000000000000000836f888888888888888888888888888888880383028161343157fe5b049390930195945050505050565b600080700100000000000000000000000000000000831061347c57600061346b6001607f1b8504614488565b60ff1693841c936001607f1b029150505b6001607f1b83111561351357607f5b60ff811615613511576001607f1b84800204935070010000000000000000000000000000000084106134ea57600193841c9360ff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8301161b91909101905b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0161348b565b505b6f05b9de1d10bf4103d647b0955897ba806f03f80fe03f80fe03f80fe03f80fe03f88202049392505050565b6000670168244fdac780006001607f1b6f0fffffffffffffffffffffffffffffff84168080028290048082028390048083028490049485026710e1b3be415a00009092026705a0913f6b1e000091909102010192909181830204905080664807432bc1800002830192506001607f1b828202816135b857fe5b04905080660c0135dca0400002830192506001607f1b828202816135d857fe5b049050806601b707b1cdc00002830192506001607f1b828202816135f857fe5b049050806536e0f639b80002830192506001607f1b8282028161361757fe5b04905080650618fee9f80002830192506001607f1b8282028161363657fe5b04905080649c197dcc0002830192506001607f1b8282028161365457fe5b04905080640e30dce40002830192506001607f1b8282028161367257fe5b0490508064012ebd130002830192506001607f1b8282028161369057fe5b049050806317499f0002830192506001607f1b828202816136ad57fe5b049050806301a9d48002830192506001607f1b828202816136ca57fe5b04905080621c638002830192506001607f1b828202816136e657fe5b049050806201c63802830192506001607f1b8282028161370257fe5b04905080611ab802830192506001607f1b8282028161371d57fe5b0490508061017c02830192506001607f1b8282028161373857fe5b04905080601402830192506001607f1b8282028161375257fe5b6721c3677c82b400009190049384010482016001607f1b019290506f100000000000000000000000000000008516156137af5770018ebef9eac820ae8682b9793ac6d1e7767001c3d6a24ed82218787d624d3e5eba95f984020492505b6f200000000000000000000000000000008516156137f1577001368b2fc6f9609fe7aceb46aa619baed470018ebef9eac820ae8682b9793ac6d1e77884020492505b6f40000000000000000000000000000000851615613832576fbc5ab1b16779be3575bd8f0520a9f21f7001368b2fc6f9609fe7aceb46aa619baed584020492505b6001607f1b851615613866576f454aaa8efe072e7f6ddbab84b40a55c96fbc5ab1b16779be3575bd8f0520a9f21e84020492505b7001000000000000000000000000000000008516156138a7576f0960aadc109e7a3bf4578099615711ea6f454aaa8efe072e7f6ddbab84b40a55c584020492505b7002000000000000000000000000000000008516156138e7576e2bf84208204f5977f9a8cf01fdce3d6f0960aadc109e7a3bf4578099615711d784020492505b700400000000000000000000000000000000851615613925576d03c6ab775dd0b95b4cbee7e65d116e2bf84208204f5977f9a8cf01fdc30784020492505b50909392505050565b60006020607f5b8060ff168260010160ff16101561397d576000600260ff848401160490508460078260ff166080811061396457fe5b01541061397357809250613977565b8091505b50613935565b8360078260ff166080811061398e57fe5b01541061399e579150610a409050565b8360078360ff16608081106139af57fe5b0154106139be57509050610a40565bfe5b60008083905060008090508360ff16858302901c9150816f03442c4e6074a82f1797f72ac000000002810190508360ff16858302901c9150816f0116b96f757c380fb287fd0e4000000002810190508360ff16858302901c9150816e45ae5bdd5f0e03eca1ff439000000002810190508360ff16858302901c9150816e0defabf91302cd95b9ffda5000000002810190508360ff16858302901c9150816e02529ca9832b22439efff9b800000002810190508360ff16858302901c9150816d54f1cf12bd04e516b6da8800000002810190508360ff16858302901c9150816d0a9e39e257a09ca2d6db5100000002810190508360ff16858302901c9150816d012e066e7b839fa050c30900000002810190508360ff16858302901c9150816c1e33d7d926c329a1ad1a80000002810190508360ff16858302901c9150816c02bee513bdb4a6b19b5f80000002810190508360ff16858302901c9150816b3a9316fa79b88eccf2a0000002810190508360ff16858302901c9150816b048177ebe1fa81237520000002810190508360ff16858302901c9150816a5263fe90242dcbacf0000002810190508360ff16858302901c9150816a057e22099c030d9410000002810190508360ff16858302901c9150816957e22099c030d941000002810190508360ff16858302901c91508169052b6b5456997631000002810190508360ff16858302901c915081684985f67696bf74800002810190508360ff16858302901c9150816803dea12ea99e49800002810190508360ff16858302901c9150816731880f2214b6e00002810190508360ff16858302901c91508167025bcff56eb3600002810190508360ff16858302901c915081661b722e10ab100002810190508360ff16858302901c9150816601317c7007700002810190508360ff16858302901c915081650cba84aafa0002810190508360ff16858302901c9150816482573a0a0002810190508360ff16858302901c9150816405035ad90002810190508360ff16858302901c915081632f881b0002810190508360ff16858302901c9150816301b2934002810190508360ff16858302901c915081620efc4002810190508360ff16858302901c915081617fe002810190508360ff16858302901c91508161042002810190508360ff16858302901c915081602102810190508360ff16858302901c915081600102810190508360ff166001901b856f0688589cc0e9505e2f2fee55800000008381613d5157fe5b04010195945050505050565b600082613d6c57506000610a2a565b82820282848281613d7957fe5b04146116f05760405162461bcd60e51b81526004018080602001828103825260218152602001806147da6021913960400191505060405180910390fd5b60006116f083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506144e9565b60006116f083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061458b565b6000828201838110156116f0576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b600154613eab908263ffffffff613df816565b600155600082815260036020526040902054613ecd908263ffffffff613df816565b6000838152600360209081526040808320939093556002815282822033835290522054613f00908263ffffffff613df816565b60008381526002602090815260408083203380855290835281842094909455825481517fa9059cbb00000000000000000000000000000000000000000000000000000000815260048101959095526024850186905290516001600160a01b039091169363a9059cbb9360448083019493928390030190829087803b158015613f8757600080fd5b505af1158015613f9b573d6000803e3d6000fd5b505050506040513d6020811015613fb157600080fd5b50505050565b60006001600160a01b038216613ffe5760405162461bcd60e51b81526004018080602001828103825260228152602001806147fb6022913960400191505060405180910390fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b61402f60058263ffffffff6145e516565b6040516001600160a01b038216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b600154614079908263ffffffff613e3a16565b60015560008281526003602052604090205461409b908263ffffffff613e3a16565b60008381526003602090815260408083209390935560028152828220338352905220546140ce908263ffffffff613e3a16565b60008381526002602090815260408083203380855290835281842094909455825481517f23b872dd00000000000000000000000000000000000000000000000000000000815260048101959095523060248601526044850186905290516001600160a01b03909116936323b872dd9360648083019493928390030190829087803b158015613f8757600080fd5b61416c60058263ffffffff61466a16565b6040516001600160a01b038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b6000838152600360205260409020546141c2908263ffffffff613df816565b60008481526003602090815260408083209390935560028152828220338352905220546141f5908263ffffffff613df816565b600084815260026020908152604080832033845282528083209390935584825260039052205461422b908263ffffffff613e3a16565b600083815260036020908152604080832093909355600281528282203383529052205461425e908263ffffffff613e3a16565b6000928352600260209081526040808520338652909152909220919091555050565b60008181526002602090815260408083206001600160a01b03861684529091529020546001546142b6908263ffffffff613df816565b6001556000828152600360205260409020546142d8908263ffffffff613df816565b600083815260036020908152604080832093909355600281528282206001600160a01b038716835290522054614314908263ffffffff613df816565b60008381526002602090815260408083206001600160a01b0380891680865291845282852095909555835482517fa9059cbb0000000000000000000000000000000000000000000000000000000081526004810192909252602482018790529151919094169363a9059cbb9360448083019493928390030190829087803b15801561439e57600080fd5b505af11580156143b2573d6000803e3d6000fd5b505050506040513d60208110156143c857600080fd5b5050505050565b6001600160a01b0381166144145760405162461bcd60e51b81526004018080602001828103825260268152602001806147936026913960400191505060405180910390fd5b6004546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600480547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6000806101008310156144b0575b60018311156144ab57600192831c9201614496565b610a2a565b60805b60ff8116156144e257600160ff82161b84106144d75760ff81169390931c92908117905b60011c607f166144b3565b5092915050565b600081836145755760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561453a578181015183820152602001614522565b50505050905090810190601f1680156145675780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161458157fe5b0495945050505050565b600081848411156145dd5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561453a578181015183820152602001614522565b505050900390565b6145ef8282613fb7565b61462a5760405162461bcd60e51b81526004018080602001828103825260218152602001806147b96021913960400191505060405180910390fd5b6001600160a01b031660009081526020919091526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00169055565b6146748282613fb7565b156146c6576040805162461bcd60e51b815260206004820152601f60248201527f526f6c65733a206163636f756e7420616c72656164792068617320726f6c6500604482015290519081900360640190fd5b6001600160a01b031660009081526020919091526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b6040518060a001604052806000815260200160008152602001600081526020016000815260200160006001600160a01b031681525090565b6040518060600160405280600081526020016000815260200160008152509056fe506175736572526f6c653a2063616c6c657220646f6573206e6f742068617665207468652050617573657220726f6c654f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373526f6c65733a206163636f756e7420646f6573206e6f74206861766520726f6c65536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77526f6c65733a206163636f756e7420697320746865207a65726f2061646472657373a265627a7a723158208d07e90548d1b81b6da6f968b93dc2d9d027b2f08cf768dcd34e206113ac34fd64736f6c634300050c0032
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000214bc6a17e022cff3676d3979b748f2940317957000000000000000000000000e4605d46fd0b3f8329d936a8b258d69276cba2640000000000000000000000007e7e112a68d8d2e221e11047a72ffc1065c38e1a
-----Decoded View---------------
Arg [0] : _controller (address): 0x214bc6A17E022cFF3676d3979b748F2940317957
Arg [1] : _memeLtdAddress (address): 0xe4605d46Fd0B3f8329d936a8b258D69276cBa264
Arg [2] : _tokenAddress (address): 0x7e7E112A68d8D2E221E11047a72fFC1065c38e1a
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000214bc6a17e022cff3676d3979b748f2940317957
Arg [1] : 000000000000000000000000e4605d46fd0b3f8329d936a8b258d69276cba264
Arg [2] : 0000000000000000000000007e7e112a68d8d2e221e11047a72ffc1065c38e1a
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.