Address Details
contract
0xE5b6ffEB590950A1831f6725F5212306FcA2Af43
- Contract Name
- TestAdmin
- Creator
- 0xa20c11–f1ddd5 at 0x3b57a2–865f3e
- Balance
- 0 CELO ( )
- Locked CELO Balance
- 0.00 CELO
- Voting CELO Balance
- 0.00 CELO
- Pending Unlocked Gold
- 0.00 CELO
- Tokens
-
Fetching tokens...
- Transactions
- 203 Transactions
- Transfers
- 0 Transfers
- Gas Used
- 16,765,375
- Last Balance Update
- 18733396
This contract has been verified via Sourcify.
View contract in Sourcify repository
- Contract name:
- TestAdmin
- Optimization enabled
- true
- Compiler version
- v0.8.1+commit.df193b15
- Optimization runs
- 200
- EVM Version
- istanbul
- Verified at
- 2023-05-23T02:02:43.755514Z
contracts/TestAdmin.sol
// contracts/TestAdmin.sol // SPDX-License-Identifier: MIT Licensed pragma solidity 0.8.1; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; contract TestAdmin is Ownable, ReentrancyGuard { using Counters for Counters.Counter; struct Commit { address payable owner; uint256 numberOfTrees; uint256 budget; uint256 balance; uint256 spent; } event CommitCreated( address indexed owner, uint256 indexed timestamp, uint256 commitId, uint256 budget, uint256 numberOfTrees ); event PayoutSent( uint256 indexed commitId, address indexed owner, uint256 indexed timestamp, bool isFronted, uint256 balance, uint256 payoutAmount, string payoutMetadata ); IERC20 private immutable _stableToken; uint256 private constant MAX_PERCENTAGE = 10000; Counters.Counter private _commitIdTracker; mapping(uint256 => Commit) private _commits; constructor(address stableTokenAddress) { require( stableTokenAddress != address(0), "Zero address for stabletoken" ); _stableToken = IERC20(stableTokenAddress); } function commitTree( address owner, uint256 budget, uint256 numberOfTrees, uint256 timestamp ) external nonReentrant { require(owner != address(0), "Zero address for owner"); require(budget > 0, "Budget must be greater than 0"); require(numberOfTrees > 0, "Number of trees must be greater than 0"); uint256 commitId = _commitIdTracker.current(); _commits[commitId] = Commit({ owner: payable(owner), numberOfTrees: numberOfTrees, budget: budget, balance: 0, spent: 0 }); _commitIdTracker.increment(); emit CommitCreated(owner, timestamp, commitId, budget, numberOfTrees); } function frontPayout( uint256 commitId, uint256 payoutAmount, uint256 timestamp ) external nonReentrant { require( _commits[commitId].owner != address(0), "No commits exist for that id" ); Commit storage commit = _commits[commitId]; require(commit.spent <= commit.budget, "Budget has been fully spent"); commit.spent += payoutAmount; require(commit.spent <= commit.budget, "Payout will exceed the budget"); commit.balance += payoutAmount; require( _stableToken.transferFrom(msg.sender, commit.owner, payoutAmount), "Transfer failed" ); emit PayoutSent( commitId, commit.owner, timestamp, true, commit.balance, payoutAmount, "" ); } function approvePayout( uint256 commitId, uint256 payoutAmount, string calldata payoutMetadata, uint256 timestamp ) external nonReentrant { require( _commits[commitId].owner != address(0), "No commits exist for that id" ); Commit storage commit = _commits[commitId]; require(commit.spent <= commit.budget, "Budget has been fully spent"); commit.spent += payoutAmount; require(commit.spent <= commit.budget, "Payout will exceed the budget"); commit.balance += payoutAmount; emit PayoutSent( commitId, commit.owner, timestamp, false, commit.balance, payoutAmount, payoutMetadata ); } }
/_openzeppelin/contracts/access/Ownable.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @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. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * 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. */ abstract 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() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the 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 virtual onlyOwner { _transferOwnership(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 virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
/_openzeppelin/contracts/security/ReentrancyGuard.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
/_openzeppelin/contracts/token/ERC20/IERC20.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ 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 `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, 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 `from` to `to` 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 from, address to, 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); }
/_openzeppelin/contracts/utils/Context.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @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 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. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
/_openzeppelin/contracts/utils/Counters.sol
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
Contract ABI
[{"type":"constructor","stateMutability":"nonpayable","inputs":[{"type":"address","name":"stableTokenAddress","internalType":"address"}]},{"type":"event","name":"CommitCreated","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"uint256","name":"timestamp","internalType":"uint256","indexed":true},{"type":"uint256","name":"commitId","internalType":"uint256","indexed":false},{"type":"uint256","name":"budget","internalType":"uint256","indexed":false},{"type":"uint256","name":"numberOfTrees","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"PayoutSent","inputs":[{"type":"uint256","name":"commitId","internalType":"uint256","indexed":true},{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"uint256","name":"timestamp","internalType":"uint256","indexed":true},{"type":"bool","name":"isFronted","internalType":"bool","indexed":false},{"type":"uint256","name":"balance","internalType":"uint256","indexed":false},{"type":"uint256","name":"payoutAmount","internalType":"uint256","indexed":false},{"type":"string","name":"payoutMetadata","internalType":"string","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"approvePayout","inputs":[{"type":"uint256","name":"commitId","internalType":"uint256"},{"type":"uint256","name":"payoutAmount","internalType":"uint256"},{"type":"string","name":"payoutMetadata","internalType":"string"},{"type":"uint256","name":"timestamp","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"commitTree","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"uint256","name":"budget","internalType":"uint256"},{"type":"uint256","name":"numberOfTrees","internalType":"uint256"},{"type":"uint256","name":"timestamp","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"frontPayout","inputs":[{"type":"uint256","name":"commitId","internalType":"uint256"},{"type":"uint256","name":"payoutAmount","internalType":"uint256"},{"type":"uint256","name":"timestamp","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]}]
Contract Creation Code
0x60a060405234801561001057600080fd5b50604051610cb5380380610cb583398101604081905261002f916100db565b61003f61003a610087565b61008b565b600180556001600160a01b0381166100725760405162461bcd60e51b815260040161006990610109565b60405180910390fd5b60601b6001600160601b031916608052610140565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100ec578081fd5b81516001600160a01b0381168114610102578182fd5b9392505050565b6020808252601c908201527f5a65726f206164647265737320666f7220737461626c65746f6b656e00000000604082015260600190565b60805160601c610b5761015e60003960006103b10152610b576000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c80630db8ff7414610067578063715018a61461007c5780638da5cb5b14610084578063d5907ad0146100a2578063de89dbbc146100b5578063f2fde38b146100c8575b600080fd5b61007a61007536600461070f565b6100db565b005b61007a610252565b61008c61029d565b6040516100999190610815565b60405180910390f35b61007a6100b03660046107ea565b6102ac565b61007a6100c3366004610767565b6104b4565b61007a6100d63660046106ee565b610601565b600260015414156101075760405162461bcd60e51b81526004016100fe90610ab0565b60405180910390fd5b60026001556001600160a01b0384166101325760405162461bcd60e51b81526004016100fe90610a80565b600083116101525760405162461bcd60e51b81526004016100fe906109dd565b600082116101725760405162461bcd60e51b81526004016100fe90610960565b600061017e6002610672565b6040805160a0810182526001600160a01b03888116825260208083018881528385018a81526000606086018181526080870182815289835260039586905297909120955186546001600160a01b0319169516949094178555905160018501555160028085019190915591519083015591516004909101559091506102019061067a565b81856001600160a01b03167ff08d9de3fd9b58105c7edf027bedafcd498784624a7ec29f214e9d23d09df25e83878760405161023f93929190610ae7565b60405180910390a3505060018055505050565b61025a610683565b6001600160a01b031661026b61029d565b6001600160a01b0316146102915760405162461bcd60e51b81526004016100fe90610a14565b61029b6000610687565b565b6000546001600160a01b031690565b600260015414156102cf5760405162461bcd60e51b81526004016100fe90610ab0565b60026001556000838152600360205260409020546001600160a01b03166103085760405162461bcd60e51b81526004016100fe906109a6565b600083815260036020526040902060028101546004820154111561033e5760405162461bcd60e51b81526004016100fe90610a49565b828160040160008282546103529190610afd565b909155505060028101546004820154111561037f5760405162461bcd60e51b81526004016100fe906108ba565b828160030160008282546103939190610afd565b909155505080546040516323b872dd60e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116926323b872dd926103eb92339216908890600401610829565b602060405180830381600087803b15801561040557600080fd5b505af1158015610419573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043d9190610747565b6104595760405162461bcd60e51b81526004016100fe90610937565b8054600382015460405184926001600160a01b03169187917f757e50e96cf121ae2ea308d2aca4afb350efa2e7fc62f7fe0efb71cbb9b566cd916104a291600191908a90610893565b60405180910390a45050600180555050565b600260015414156104d75760405162461bcd60e51b81526004016100fe90610ab0565b60026001556000858152600360205260409020546001600160a01b03166105105760405162461bcd60e51b81526004016100fe906109a6565b60008581526003602052604090206002810154600482015411156105465760405162461bcd60e51b81526004016100fe90610a49565b8481600401600082825461055a9190610afd565b90915550506002810154600482015411156105875760405162461bcd60e51b81526004016100fe906108ba565b8481600301600082825461059b9190610afd565b90915550508054600382015460405184926001600160a01b03169189917f757e50e96cf121ae2ea308d2aca4afb350efa2e7fc62f7fe0efb71cbb9b566cd916105ed91600091908c908c908c9061084d565b60405180910390a450506001805550505050565b610609610683565b6001600160a01b031661061a61029d565b6001600160a01b0316146106405760405162461bcd60e51b81526004016100fe90610a14565b6001600160a01b0381166106665760405162461bcd60e51b81526004016100fe906108f1565b61066f81610687565b50565b80545b919050565b80546001019055565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b038116811461067557600080fd5b6000602082840312156106ff578081fd5b610708826106d7565b9392505050565b60008060008060808587031215610724578283fd5b61072d856106d7565b966020860135965060408601359560600135945092505050565b600060208284031215610758578081fd5b81518015158114610708578182fd5b60008060008060006080868803121561077e578081fd5b8535945060208601359350604086013567ffffffffffffffff808211156107a3578283fd5b818801915088601f8301126107b6578283fd5b8135818111156107c4578384fd5b8960208285010111156107d5578384fd5b96999598505060200195606001359392505050565b6000806000606084860312156107fe578283fd5b505081359360208301359350604090920135919050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6000861515825285602083015284604083015260806060830152826080830152828460a084013781830160a090810191909152601f909201601f19160101949350505050565b92151583526020830191909152604082015260806060820181905260009082015260a00190565b6020808252601d908201527f5061796f75742077696c6c206578636565642074686520627564676574000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252600f908201526e151c985b9cd9995c8819985a5b1959608a1b604082015260600190565b60208082526026908201527f4e756d626572206f66207472656573206d75737420626520677265617465722060408201526507468616e20360d41b606082015260800190565b6020808252601c908201527f4e6f20636f6d6d69747320657869737420666f72207468617420696400000000604082015260600190565b6020808252601d908201527f427564676574206d7573742062652067726561746572207468616e2030000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601b908201527f42756467657420686173206265656e2066756c6c79207370656e740000000000604082015260600190565b6020808252601690820152752d32b9379030b2323932b9b9903337b91037bbb732b960511b604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b9283526020830191909152604082015260600190565b60008219821115610b1c57634e487b7160e01b81526011600452602481fd5b50019056fea2646970667358221220fc7c8f56014750b6e77f55113425c61f42c0483fcebc634a97a785457715a26c64736f6c63430008010033000000000000000000000000874069fa1eb16d44d622f2e0ca25eea172369bc1
Deployed ByteCode
0x608060405234801561001057600080fd5b50600436106100625760003560e01c80630db8ff7414610067578063715018a61461007c5780638da5cb5b14610084578063d5907ad0146100a2578063de89dbbc146100b5578063f2fde38b146100c8575b600080fd5b61007a61007536600461070f565b6100db565b005b61007a610252565b61008c61029d565b6040516100999190610815565b60405180910390f35b61007a6100b03660046107ea565b6102ac565b61007a6100c3366004610767565b6104b4565b61007a6100d63660046106ee565b610601565b600260015414156101075760405162461bcd60e51b81526004016100fe90610ab0565b60405180910390fd5b60026001556001600160a01b0384166101325760405162461bcd60e51b81526004016100fe90610a80565b600083116101525760405162461bcd60e51b81526004016100fe906109dd565b600082116101725760405162461bcd60e51b81526004016100fe90610960565b600061017e6002610672565b6040805160a0810182526001600160a01b03888116825260208083018881528385018a81526000606086018181526080870182815289835260039586905297909120955186546001600160a01b0319169516949094178555905160018501555160028085019190915591519083015591516004909101559091506102019061067a565b81856001600160a01b03167ff08d9de3fd9b58105c7edf027bedafcd498784624a7ec29f214e9d23d09df25e83878760405161023f93929190610ae7565b60405180910390a3505060018055505050565b61025a610683565b6001600160a01b031661026b61029d565b6001600160a01b0316146102915760405162461bcd60e51b81526004016100fe90610a14565b61029b6000610687565b565b6000546001600160a01b031690565b600260015414156102cf5760405162461bcd60e51b81526004016100fe90610ab0565b60026001556000838152600360205260409020546001600160a01b03166103085760405162461bcd60e51b81526004016100fe906109a6565b600083815260036020526040902060028101546004820154111561033e5760405162461bcd60e51b81526004016100fe90610a49565b828160040160008282546103529190610afd565b909155505060028101546004820154111561037f5760405162461bcd60e51b81526004016100fe906108ba565b828160030160008282546103939190610afd565b909155505080546040516323b872dd60e01b81526001600160a01b037f000000000000000000000000874069fa1eb16d44d622f2e0ca25eea172369bc18116926323b872dd926103eb92339216908890600401610829565b602060405180830381600087803b15801561040557600080fd5b505af1158015610419573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043d9190610747565b6104595760405162461bcd60e51b81526004016100fe90610937565b8054600382015460405184926001600160a01b03169187917f757e50e96cf121ae2ea308d2aca4afb350efa2e7fc62f7fe0efb71cbb9b566cd916104a291600191908a90610893565b60405180910390a45050600180555050565b600260015414156104d75760405162461bcd60e51b81526004016100fe90610ab0565b60026001556000858152600360205260409020546001600160a01b03166105105760405162461bcd60e51b81526004016100fe906109a6565b60008581526003602052604090206002810154600482015411156105465760405162461bcd60e51b81526004016100fe90610a49565b8481600401600082825461055a9190610afd565b90915550506002810154600482015411156105875760405162461bcd60e51b81526004016100fe906108ba565b8481600301600082825461059b9190610afd565b90915550508054600382015460405184926001600160a01b03169189917f757e50e96cf121ae2ea308d2aca4afb350efa2e7fc62f7fe0efb71cbb9b566cd916105ed91600091908c908c908c9061084d565b60405180910390a450506001805550505050565b610609610683565b6001600160a01b031661061a61029d565b6001600160a01b0316146106405760405162461bcd60e51b81526004016100fe90610a14565b6001600160a01b0381166106665760405162461bcd60e51b81526004016100fe906108f1565b61066f81610687565b50565b80545b919050565b80546001019055565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b038116811461067557600080fd5b6000602082840312156106ff578081fd5b610708826106d7565b9392505050565b60008060008060808587031215610724578283fd5b61072d856106d7565b966020860135965060408601359560600135945092505050565b600060208284031215610758578081fd5b81518015158114610708578182fd5b60008060008060006080868803121561077e578081fd5b8535945060208601359350604086013567ffffffffffffffff808211156107a3578283fd5b818801915088601f8301126107b6578283fd5b8135818111156107c4578384fd5b8960208285010111156107d5578384fd5b96999598505060200195606001359392505050565b6000806000606084860312156107fe578283fd5b505081359360208301359350604090920135919050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6000861515825285602083015284604083015260806060830152826080830152828460a084013781830160a090810191909152601f909201601f19160101949350505050565b92151583526020830191909152604082015260806060820181905260009082015260a00190565b6020808252601d908201527f5061796f75742077696c6c206578636565642074686520627564676574000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252600f908201526e151c985b9cd9995c8819985a5b1959608a1b604082015260600190565b60208082526026908201527f4e756d626572206f66207472656573206d75737420626520677265617465722060408201526507468616e20360d41b606082015260800190565b6020808252601c908201527f4e6f20636f6d6d69747320657869737420666f72207468617420696400000000604082015260600190565b6020808252601d908201527f427564676574206d7573742062652067726561746572207468616e2030000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252601b908201527f42756467657420686173206265656e2066756c6c79207370656e740000000000604082015260600190565b6020808252601690820152752d32b9379030b2323932b9b9903337b91037bbb732b960511b604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b9283526020830191909152604082015260600190565b60008219821115610b1c57634e487b7160e01b81526011600452602481fd5b50019056fea2646970667358221220fc7c8f56014750b6e77f55113425c61f42c0483fcebc634a97a785457715a26c64736f6c63430008010033