More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 1,393 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Emergency Withdr... | 18075197 | 491 days ago | IN | 0 ETH | 0.00080666 | ||||
Emergency Withdr... | 11993881 | 1403 days ago | IN | 0 ETH | 0.00384415 | ||||
Emergency Withdr... | 11222107 | 1521 days ago | IN | 0 ETH | 0.00086003 | ||||
Emergency Withdr... | 11141812 | 1534 days ago | IN | 0 ETH | 0.00069893 | ||||
Deposit | 11134870 | 1535 days ago | IN | 0 ETH | 0.18192128 | ||||
Emergency Withdr... | 11134726 | 1535 days ago | IN | 0 ETH | 0.00067205 | ||||
Deposit | 11134433 | 1535 days ago | IN | 0 ETH | 0.33807208 | ||||
Emergency Withdr... | 11134411 | 1535 days ago | IN | 0 ETH | 0.00040323 | ||||
Emergency Withdr... | 11133775 | 1535 days ago | IN | 0 ETH | 0.00048387 | ||||
Emergency Withdr... | 11131963 | 1535 days ago | IN | 0 ETH | 0.00063555 | ||||
Emergency Withdr... | 11131772 | 1535 days ago | IN | 0 ETH | 0.00100197 | ||||
Emergency Withdr... | 11131770 | 1535 days ago | IN | 0 ETH | 0.00158879 | ||||
Emergency Withdr... | 11131596 | 1535 days ago | IN | 0 ETH | 0.00143554 | ||||
Emergency Withdr... | 11131583 | 1535 days ago | IN | 0 ETH | 0.00143554 | ||||
Emergency Withdr... | 11131461 | 1535 days ago | IN | 0 ETH | 0.00136718 | ||||
Emergency Withdr... | 11131237 | 1535 days ago | IN | 0 ETH | 0.00118243 | ||||
Emergency Withdr... | 11131236 | 1535 days ago | IN | 0 ETH | 0.00086003 | ||||
Emergency Withdr... | 11131070 | 1535 days ago | IN | 0 ETH | 0.00076022 | ||||
Emergency Withdr... | 11130540 | 1535 days ago | IN | 0 ETH | 0.00120969 | ||||
Deposit | 11130472 | 1536 days ago | IN | 0 ETH | 0.00522495 | ||||
Emergency Withdr... | 11130411 | 1536 days ago | IN | 0 ETH | 0.00190862 | ||||
Emergency Withdr... | 11130274 | 1536 days ago | IN | 0 ETH | 0.00182797 | ||||
Deposit | 11130266 | 1536 days ago | IN | 0 ETH | 1.2 | ||||
Deposit | 11130212 | 1536 days ago | IN | 0 ETH | 0.768 | ||||
Emergency Withdr... | 11130186 | 1536 days ago | IN | 0 ETH | 0.00158865 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
ChargedChef
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-10-19 */ /* website: charged.finance _______ __ __ _______ ______ _______ _______ ______ | || | | || _ || _ | | || || | | || |_| || |_| || | || | ___|| ___|| _ | | || || || |_||_ | | __ | |___ | | | | | _|| || || __ || || || ___|| |_| | | |_ | _ || _ || | | || |_| || |___ | | |_______||__| |__||__| |__||___| |_||_______||_______||______| forked from KIMCHI, SUSHI, KIMBAP and PRINT but without public mint() function or bug */ pragma solidity ^0.6.12; /* * @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. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } /** * @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 `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); } /** * @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. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } /** * @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. */ contract Ownable is Context { /** * @dev So here we seperate the rights of the classic ownership into 'owner' and 'minter' * this way the developer/owner stays the 'owner' and can make changes like adding a pool * at any time but cannot mint anymore as soon as the 'minter' gets changes (to the chef contract) */ 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(_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 { 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 virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an minter) that can be granted exclusive access to * specific functions. * * By default, the minter account will be the one that deploys the contract. This * can later be changed with {transferMintership}. * * This module is used through inheritance. It will make available the modifier * `onlyMinter`, which can be applied to your functions to restrict their use to * the minter. */ contract Mintable is Context { /** * @dev So here we seperate the rights of the classic ownership into 'owner' and 'minter' * this way the developer/owner stays the 'owner' and can make changes like adding a pool * at any time but cannot mint anymore as soon as the 'minter' gets changes (to the chef contract) */ address private _minter; event MintershipTransferred(address indexed previousMinter, address indexed newMinter); /** * @dev Initializes the contract setting the deployer as the initial minter. */ constructor () internal { address msgSender = _msgSender(); _minter = msgSender; emit MintershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current minter. */ function minter() public view returns (address) { return _minter; } /** * @dev Throws if called by any account other than the minter. */ modifier onlyMinter() { require(_minter == _msgSender(), "Mintable: caller is not the minter"); _; } /** * @dev Transfers mintership of the contract to a new account (`newMinter`). * Can only be called by the current minter. */ function transferMintership(address newMinter) public virtual onlyMinter { require(newMinter != address(0), "Mintable: new minter is the zero address"); emit MintershipTransferred(_minter, newMinter); _minter = newMinter; } } /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; using Address for address; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; uint256 private _burnedSupply; uint256 private _burnRate; string private _name; string private _symbol; uint256 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name, string memory symbol, uint256 decimals, uint256 burnrate, uint256 initSupply) public { _name = name; _symbol = symbol; _decimals = decimals; _burnRate = burnrate; _totalSupply = 0; _mint(msg.sender, initSupply*(10**_decimals)); _burnedSupply = 0; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view returns (uint256) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev Returns the amount of burned tokens. */ function burnedSupply() public view returns (uint256) { return _burnedSupply; } /** * @dev Returns the burnrate. */ function burnRate() public view returns (uint256) { return _burnRate; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `account` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function burn(uint256 amount) public virtual returns (bool) { _burn(_msgSender(), amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); uint256 amount_burn = amount.mul(_burnRate).div(100); uint256 amount_send = amount.sub(amount_burn); require(amount == amount_send + amount_burn, "Burn value invalid"); _burn(sender, amount_burn); amount = amount_send; _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements * * - `to` cannot be the zero address. * * HINT: This function is 'internal' and therefore can only be called from another * function inside this contract! */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); _burnedSupply = _burnedSupply.add(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens. * * This is internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {burnRate} to a value other than the initial one. */ function _setupBurnrate(uint8 burnrate_) internal virtual { _burnRate = burnrate_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } } // ChargedToken with Governance. // ERC20 (name, symbol, decimals, burnrate, initSupply) contract Token is ERC20("Charged.Finance", "CHARGED", 18, 0, 1200), Ownable, Mintable { function mint(address _to, uint256 _amount) public onlyMinter { _mint(_to, _amount); } function setupBurnrate(uint8 burnrate_) public onlyOwner { _setupBurnrate(burnrate_); } } contract ChargedChef is Ownable { using SafeMath for uint256; using SafeERC20 for IERC20; // Info of each user. struct UserInfo { uint256 amount; // How many LP tokens the user has provided. uint256 rewardDebt; // Reward debt. See explanation below. // // We do some fancy math here. Basically, any point in time, the amount of // claimable CHARGED by a user is: // // pending reward = (user.amount * pool.accChargedPerLPShare) - user.rewardDebt // // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens: // 1. The pool's `accChargedPerLPShare` (and `lastRewardedBlock`) gets updated. // 2. User receives the pending reward sent to his/her address. // 3. User's `amount` gets updated. // 4. User's `rewardDebt` gets updated. } // Info of each pool. struct PoolInfo { IERC20 lpTokenContract; // Address of LP token contract. string name; // Name of the pool/pair. uint256 allocPoints; // Allocation points from the pool. uint256 lastRewardedBlock; // Last block number where CHARGW distribution occured. uint256 accChargedPerLPShare; // Accumulated Charged per share. uint256 lpTokenHolding; // Amount of LP token hold by this pool } // Info of Charged minting struct MintInfo { uint256 ChargedPerBlock; // Amount of minted Charged each block. uint256 mintStartBlock; // Minting of this amount starts here. } // The Charged token contract Token public Charged; // Dev address. (Only needed for secretly minting. We don't do that!) // address public devaddr; // Info of each pool. PoolInfo[] public poolInfo; // Info of Charged minting block span. MintInfo[] public mintInfo; // Info of each user that stakes LP tokens. mapping (uint256 => mapping (address => UserInfo)) public userInfo; // Total allocation points. Must be the sum of all allocation points in all pools. uint256 public totalAllocPoints = 0; event Deposit(address indexed user, uint256 indexed pid, uint256 amount); event Withdraw(address indexed user, uint256 indexed pid, uint256 amount); event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount); constructor( Token _Charged, // address _devaddr, uint256 _ChargedPerBlock, uint256 _mintStartBlock ) public { Charged = _Charged; // devaddr = _devaddr; mintInfo.push(MintInfo({ ChargedPerBlock: _ChargedPerBlock, mintStartBlock: _mintStartBlock })); } // Get current mint per block function currentMint() external view returns (uint256){ for(uint256 i = 0; i < mintInfo.length-1; i++){ if(mintInfo[i].mintStartBlock <= block.number && mintInfo[i+1].mintStartBlock > block.number){ return i; } } if(block.number < mintInfo[0].mintStartBlock) { return 99999; } return mintInfo.length-1; } // Amount of block spans for minting different amounts of Charged function mintLength() external view returns (uint256) { return mintInfo.length; } // Return if farming already started or not function farmingActive() external view returns (bool){ return block.number >= mintInfo[0].mintStartBlock; } // Add a new block and mint amount to the mintInfo list. Can only be called by the owner. // Only possible to change for blocks not already mined. function addMint(uint256 _block, uint256 _amount) public onlyOwner { require(_block > block.number + 10, "_block is already mined or too close on getting mined."); mintInfo.push(MintInfo({ ChargedPerBlock: _amount, mintStartBlock: _block })); } // Update the fiven blockspans startblock and mint amount. Can only be called by the owner. // Only possible to change for blocks not already mined. function setMint(uint256 _mid, uint256 _block, uint256 _amount) public onlyOwner { require(_block > block.number + 10, "_block is already mined or too close on getting mined."); require(mintInfo[_mid].mintStartBlock > block.number + 10, "mintStartBlock is already mined or too close on getting mined."); mintInfo[_mid].ChargedPerBlock = _amount; mintInfo[_mid].mintStartBlock = _block; } // Deletes a given blockspan for minting. You can't delete first one. Can only be called by the owner. // Only possible to change for blocks not already mined. function deleteMint(uint256 _mid) public onlyOwner { require(_mid != 0, "You can't delete the first blockspan!"); require(_mid < mintInfo.length, "_mid is invalid!"); require(mintInfo[_mid].mintStartBlock > block.number + 10, "_block is already mined or too close on getting mined."); for(uint256 i = _mid; i < mintInfo.length - 1; i++){ mintInfo[i] = mintInfo[i+1]; } mintInfo.pop(); } // Amount of pairs available for farming function poolLength() external view returns (uint256) { return poolInfo.length; } // Add a new LP contract to the pool. Can only be called by the owner. // !!! DO NOT add the same LP token more than once. Rewards will be messed up if you do !!! function addLP(string memory _name, uint256 _allocPoints, IERC20 _lpTokenContract, bool _withUpdate) public onlyOwner { if (_withUpdate) { massUpdatePools(); } uint256 lastRewardedBlock = block.number > mintInfo[0].mintStartBlock ? block.number : mintInfo[0].mintStartBlock; totalAllocPoints = totalAllocPoints.add(_allocPoints); poolInfo.push(PoolInfo({ lpTokenContract: _lpTokenContract, name: _name, allocPoints: _allocPoints, lastRewardedBlock: lastRewardedBlock, accChargedPerLPShare: 0, lpTokenHolding: 0 })); } // Update the given pools allocation points. Can only be called by the owner. function setLP(uint256 _pid, string memory _name, uint256 _allocPoints, bool _withUpdate) public onlyOwner { if (_withUpdate) { massUpdatePools(); } totalAllocPoints = totalAllocPoints.sub(poolInfo[_pid].allocPoints).add(_allocPoints); poolInfo[_pid].name = _name; poolInfo[_pid].allocPoints = _allocPoints; } // Return rewards over the given span from _from block to _to block. function getChargedAmountInRange(uint256 _from, uint256 _to) public view returns (uint256) { if(_from >= _to){ return 0; } uint256 reward = 0; uint256 blocksleft = _to.sub(_from); for( uint256 cblock = _from+1; cblock <= _to; cblock++){ if(cblock < mintInfo[0].mintStartBlock){ blocksleft--; } } for( uint256 i = 0; i < mintInfo.length-1; i++){ for( uint256 cblock = _from+1; cblock <= _to; cblock++){ if(cblock >= mintInfo[i].mintStartBlock && cblock < mintInfo[i+1].mintStartBlock){ reward += mintInfo[i].ChargedPerBlock; blocksleft--; } } } reward += blocksleft.mul(mintInfo[mintInfo.length-1].ChargedPerBlock); return reward; } // View function to see pending Charged on frontend. function pendingCharged(uint256 _pid, address _user) public returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accChargedPerLPShare = pool.accChargedPerLPShare; // Users LP tokens who is connected to the site uint256 lpSupply = pool.lpTokenContract.balanceOf(address(this)); pool.lpTokenHolding = lpSupply; if (block.number > pool.lastRewardedBlock && lpSupply > 0) { uint256 ChargedReward = getChargedAmountInRange(pool.lastRewardedBlock, block.number).mul(pool.allocPoints).div(totalAllocPoints); ChargedReward = ChargedReward.mul(1e18); accChargedPerLPShare = accChargedPerLPShare.add(ChargedReward.div(lpSupply)); } return user.amount.mul(accChargedPerLPShare).div(1e18).sub(user.rewardDebt); } // Update reward vairables for all pools. Be careful of gas spending! function massUpdatePools() public { uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; ++pid) { updatePool(pid); } } // Update reward variables of the given pool to be up-to-date. function updatePool(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; if (block.number <= pool.lastRewardedBlock) { return; } uint256 lpSupply = pool.lpTokenContract.balanceOf(address(this)); pool.lpTokenHolding = lpSupply; if (lpSupply == 0) { pool.lastRewardedBlock = block.number; return; } uint256 ChargedReward = getChargedAmountInRange(pool.lastRewardedBlock, block.number).mul(pool.allocPoints).div(totalAllocPoints); //Charged.mint(devaddr, ChargedReward.div(5)); // (Sushi has 10% of this shit!) Charged.mint(address(this), ChargedReward); ChargedReward = ChargedReward.mul(1e18); pool.accChargedPerLPShare = pool.accChargedPerLPShare.add(ChargedReward.div(lpSupply)); pool.lastRewardedBlock = block.number; } // Deposit LP tokens to Chef for Charged allocation. // Also used to claim the users pending Charged tokens (_amount = 0) function deposit(uint256 _pid, uint256 _amount) public { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; updatePool(_pid); if (user.amount > 0) { uint256 pending = user.amount.mul(pool.accChargedPerLPShare).div(1e18).sub(user.rewardDebt); safeChargedTransfer(msg.sender, pending); } pool.lpTokenContract.safeTransferFrom(address(msg.sender), address(this), _amount); user.amount = user.amount.add(_amount); user.rewardDebt = user.amount.mul(pool.accChargedPerLPShare).div(1e18); emit Deposit(msg.sender, _pid, _amount); } // Withdraw LP tokens from Chef. // Also used to claim the users pending Charged tokens function withdraw(uint256 _pid, uint256 _amount) public { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; require(user.amount >= _amount, "withdraw: not good"); updatePool(_pid); uint256 pending = user.amount.mul(pool.accChargedPerLPShare).div(1e18).sub(user.rewardDebt); safeChargedTransfer(msg.sender, pending); user.amount = user.amount.sub(_amount); user.rewardDebt = user.amount.mul(pool.accChargedPerLPShare).div(1e18); pool.lpTokenContract.safeTransfer(address(msg.sender), _amount); emit Withdraw(msg.sender, _pid, _amount); } // Withdraw without caring about rewards. EMERGENCY ONLY. function emergencyWithdraw(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; pool.lpTokenContract.safeTransfer(address(msg.sender), user.amount); emit EmergencyWithdraw(msg.sender, _pid, user.amount); user.amount = 0; user.rewardDebt = 0; } // Safe Charged transfer function, just in case if rounding error causes pool to not have enough charged. function safeChargedTransfer(address _to, uint256 _amount) internal { uint256 ChargedBal = Charged.balanceOf(address(this)); if (_amount > ChargedBal) { Charged.transfer(_to, ChargedBal); } else { Charged.transfer(_to, _amount); } } // Update dev address by the previous dev. (We don't need this here!) // function dev(address _devaddr) public { // require(msg.sender == devaddr, "dev: wut?"); // devaddr = _devaddr; //} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract Token","name":"_Charged","type":"address"},{"internalType":"uint256","name":"_ChargedPerBlock","type":"uint256"},{"internalType":"uint256","name":"_mintStartBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","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":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"Charged","outputs":[{"internalType":"contract Token","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"uint256","name":"_allocPoints","type":"uint256"},{"internalType":"contract IERC20","name":"_lpTokenContract","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"addLP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_block","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"addMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mid","type":"uint256"}],"name":"deleteMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"farmingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getChargedAmountInRange","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintInfo","outputs":[{"internalType":"uint256","name":"ChargedPerBlock","type":"uint256"},{"internalType":"uint256","name":"mintStartBlock","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingCharged","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"lpTokenContract","type":"address"},{"internalType":"string","name":"name","type":"string"},{"internalType":"uint256","name":"allocPoints","type":"uint256"},{"internalType":"uint256","name":"lastRewardedBlock","type":"uint256"},{"internalType":"uint256","name":"accChargedPerLPShare","type":"uint256"},{"internalType":"uint256","name":"lpTokenHolding","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"uint256","name":"_allocPoints","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"}],"name":"setLP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mid","type":"uint256"},{"internalType":"uint256","name":"_block","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalAllocPoints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600060055534801561001557600080fd5b506040516122153803806122158339818101604052606081101561003857600080fd5b50805160208201516040909201519091906000610053610134565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b0319166001600160a01b0394909416939093178355604080518082019091529182526020820190815260038054938401815560005290517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b600290930292830155517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85c90910155610138565b3390565b6120ce806101476000396000f3fe608060405234801561001057600080fd5b50600436106101585760003560e01c80638ce0519b116100c3578063b501eaf51161007c578063b501eaf5146104aa578063d5648507146104b2578063e2bbb158146104ba578063e42907db146104dd578063f2fde38b14610591578063fc50e0e2146105b757610158565b80638ce0519b146103e65780638da5cb5b1461040957806393f1a40b1461042d578063aa30298c14610459578063ab55212a14610461578063b1982b9b1461047e57610158565b806351eb05a61161011557806351eb05a6146102c45780635312ea8e146102e1578063630b5ba1146102fe578063715018a6146103065780637bed3bc21461030e578063886374351461032a57610158565b8063081e3eda1461015d5780631526fe27146101775780631fa36cbe14610238578063441a3e7014610240578063443aa5331461026557806344f380081461029b575b600080fd5b6101656105da565b60408051918252519081900360200190f35b6101946004803603602081101561018d57600080fd5b50356105e1565b60405180876001600160a01b0316815260200180602001868152602001858152602001848152602001838152602001828103825287818151815260200191508051906020019080838360005b838110156101f85781810151838201526020016101e0565b50505050905090810190601f1680156102255780820380516001836020036101000a031916815260200191505b5097505050505050505060405180910390f35b6101656106bd565b6102636004803603604081101561025657600080fd5b50803590602001356106c3565b005b6102826004803603602081101561027b57600080fd5b503561081c565b6040805192835260208301919091528051918290030190f35b610263600480360360608110156102b157600080fd5b5080359060208101359060400135610847565b610263600480360360208110156102da57600080fd5b503561098a565b610263600480360360208110156102f757600080fd5b5035610b24565b610263610bbf565b610263610be2565b610316610c84565b604080519115158252519081900360200190f35b6102636004803603608081101561034057600080fd5b81019060208101813564010000000081111561035b57600080fd5b82018360208201111561036d57600080fd5b8035906020019184600183028401116401000000008311171561038f57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505082359350505060208101356001600160a01b031690604001351515610cae565b610263600480360360408110156103fc57600080fd5b5080359060200135610e67565b610411610f79565b604080516001600160a01b039092168252519081900360200190f35b6102826004803603604081101561044357600080fd5b50803590602001356001600160a01b0316610f88565b610165610fac565b6102636004803603602081101561047757600080fd5b5035610fb2565b6101656004803603604081101561049457600080fd5b50803590602001356001600160a01b031661117b565b6101656112d8565b610411611389565b610263600480360360408110156104d057600080fd5b5080359060200135611398565b610263600480360360808110156104f357600080fd5b8135919081019060408101602082013564010000000081111561051557600080fd5b82018360208201111561052757600080fd5b8035906020019184600183028401116401000000008311171561054957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550508235935050506020013515156114a3565b610263600480360360208110156105a757600080fd5b50356001600160a01b03166115a8565b610165600480360360408110156105cd57600080fd5b50803590602001356116a0565b6002545b90565b600281815481106105ee57fe5b600091825260209182902060069091020180546001808301805460408051601f60026000199685161561010002969096019093169490940491820187900487028401870190528083526001600160a01b03909316955092939092919083018282801561069b5780601f106106705761010080835404028352916020019161069b565b820191906000526020600020905b81548152906001019060200180831161067e57829003601f168201915b5050505050908060020154908060030154908060040154908060050154905086565b60055481565b6000600283815481106106d257fe5b600091825260208083208684526004825260408085203386529092529220805460069092029092019250831115610745576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b61074e8461098a565b600061078b8260010154610785670de0b6b3a764000061077f876004015487600001546117ec90919063ffffffff16565b9061184c565b9061188e565b905061079733826118d0565b81546107a3908561188e565b80835560048401546107c391670de0b6b3a76400009161077f91906117ec565b600183015582546107de906001600160a01b03163386611a61565b604080518581529051869133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050505050565b6003818154811061082957fe5b60009182526020909120600290910201805460019091015490915082565b61084f611ab3565b6000546001600160a01b0390811691161461089f576040805162461bcd60e51b81526020600482018190526024820152600080516020611fec833981519152604482015290519081900360640190fd5b43600a0182116108e05760405162461bcd60e51b8152600401808060200182810382526036815260200180611f956036913960400191505060405180910390fd5b43600a01600384815481106108f157fe5b9060005260206000209060020201600101541161093f5760405162461bcd60e51b815260040180806020018281038252603e81526020018061200c603e913960400191505060405180910390fd5b806003848154811061094d57fe5b906000526020600020906002020160000181905550816003848154811061097057fe5b906000526020600020906002020160010181905550505050565b60006002828154811061099957fe5b90600052602060002090600602019050806003015443116109ba5750610b21565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610a0457600080fd5b505afa158015610a18573d6000803e3d6000fd5b505050506040513d6020811015610a2e57600080fd5b505160058301819055905080610a4b575043600390910155610b21565b6000610a6f60055461077f8560020154610a698760030154436116a0565b906117ec565b600154604080516340c10f1960e01b81523060048201526024810184905290519293506001600160a01b03909116916340c10f199160448082019260009290919082900301818387803b158015610ac557600080fd5b505af1158015610ad9573d6000803e3d6000fd5b50505050610af8670de0b6b3a7640000826117ec90919063ffffffff16565b9050610b12610b07828461184c565b600485015490611ab7565b60048401555050436003909101555b50565b600060028281548110610b3357fe5b60009182526020808320858452600482526040808520338087529352909320805460069093029093018054909450610b78926001600160a01b03919091169190611a61565b80546040805191825251849133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a360008082556001909101555050565b60025460005b81811015610bde57610bd68161098a565b600101610bc5565b5050565b610bea611ab3565b6000546001600160a01b03908116911614610c3a576040805162461bcd60e51b81526020600482018190526024820152600080516020611fec833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60006003600081548110610c9457fe5b906000526020600020906002020160010154431015905090565b610cb6611ab3565b6000546001600160a01b03908116911614610d06576040805162461bcd60e51b81526020600482018190526024820152600080516020611fec833981519152604482015290519081900360640190fd5b8015610d1457610d14610bbf565b60006003600081548110610d2457fe5b9060005260206000209060020201600101544311610d61576003600081548110610d4a57fe5b906000526020600020906002020160010154610d63565b435b600554909150610d739085611ab7565b6005556040805160c0810182526001600160a01b03858116825260208083018981529383018890526060830185905260006080840181905260a0840181905260028054600181018255915283517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace600690920291820180546001600160a01b031916919094161783559351805193949293610e35937f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5acf01929190910190611edb565b5060408201518160020155606082015181600301556080820151816004015560a0820151816005015550505050505050565b610e6f611ab3565b6000546001600160a01b03908116911614610ebf576040805162461bcd60e51b81526020600482018190526024820152600080516020611fec833981519152604482015290519081900360640190fd5b43600a018211610f005760405162461bcd60e51b8152600401808060200182810382526036815260200180611f956036913960400191505060405180910390fd5b60408051808201909152908152602081019182526003805460018101825560009190915290517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b60029092029182015590517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85c90910155565b6000546001600160a01b031690565b60046020908152600092835260408084209091529082529020805460019091015482565b60035490565b610fba611ab3565b6000546001600160a01b0390811691161461100a576040805162461bcd60e51b81526020600482018190526024820152600080516020611fec833981519152604482015290519081900360640190fd5b806110465760405162461bcd60e51b81526004018080602001828103825260258152602001806120746025913960400191505060405180910390fd5b600354811061108f576040805162461bcd60e51b815260206004820152601060248201526f5f6d696420697320696e76616c69642160801b604482015290519081900360640190fd5b43600a01600382815481106110a057fe5b906000526020600020906002020160010154116110ee5760405162461bcd60e51b8152600401808060200182810382526036815260200180611f956036913960400191505060405180910390fd5b805b6003546000190181101561114e576003816001018154811061110e57fe5b90600052602060002090600202016003828154811061112957fe5b60009182526020909120825460029092020190815560019182015490820155016110f0565b50600380548061115a57fe5b60008281526020812060026000199093019283020181815560010155905550565b6000806002848154811061118b57fe5b60009182526020808320878452600480835260408086206001600160a01b03808b168852908552818720600690960290930182810154815483516370a0823160e01b81523095810195909552925191985095969491909316926370a08231926024808201939291829003018186803b15801561120657600080fd5b505afa15801561121a573d6000803e3d6000fd5b505050506040513d602081101561123057600080fd5b50516005850181905560038501549091504311801561124f5750600081115b156112a057600061127260055461077f8760020154610a698960030154436116a0565b905061128681670de0b6b3a76400006117ec565b905061129c611295828461184c565b8490611ab7565b9250505b6112cb8360010154610785670de0b6b3a764000061077f8688600001546117ec90919063ffffffff16565b9450505050505b92915050565b6000805b6003546000190181101561134c5743600382815481106112f857fe5b906000526020600020906002020160010154111580156113385750436003826001018154811061132457fe5b906000526020600020906002020160010154115b156113445790506105de565b6001016112dc565b50600360008154811061135b57fe5b90600052602060002090600202016001015443101561137e57506201869f6105de565b506003546000190190565b6001546001600160a01b031681565b6000600283815481106113a757fe5b600091825260208083208684526004825260408085203386529092529220600690910290910191506113d88461098a565b80541561141e5760006114108260010154610785670de0b6b3a764000061077f876004015487600001546117ec90919063ffffffff16565b905061141c33826118d0565b505b8154611435906001600160a01b0316333086611b11565b80546114419084611ab7565b808255600483015461146191670de0b6b3a76400009161077f91906117ec565b6001820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a350505050565b6114ab611ab3565b6000546001600160a01b039081169116146114fb576040805162461bcd60e51b81526020600482018190526024820152600080516020611fec833981519152604482015290519081900360640190fd5b801561150957611509610bbf565b611546826115406002878154811061151d57fe5b90600052602060002090600602016002015460055461188e90919063ffffffff16565b90611ab7565b600581905550826002858154811061155a57fe5b9060005260206000209060060201600101908051906020019061157e929190611edb565b50816002858154811061158d57fe5b90600052602060002090600602016002018190555050505050565b6115b0611ab3565b6000546001600160a01b03908116911614611600576040805162461bcd60e51b81526020600482018190526024820152600080516020611fec833981519152604482015290519081900360640190fd5b6001600160a01b0381166116455760405162461bcd60e51b8152600401808060200182810382526026815260200180611f6f6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008183106116b1575060006112d2565b6000806116be848661188e565b9050600185015b8481116117035760036000815481106116da57fe5b9060005260206000209060020201600101548110156116fb57600019909101905b6001016116c5565b5060005b600354600019018110156117b057600186015b8581116117a7576003828154811061172e57fe5b906000526020600020906002020160010154811015801561176f57506003826001018154811061175a57fe5b90600052602060002090600202016001015481105b1561179f576003828154811061178157fe5b60009182526020909120600290910201549390930192600019909201915b60010161171a565b50600101611707565b50600380546117e0919060001981019081106117c857fe5b600091825260209091206002909102015482906117ec565b90910191505092915050565b6000826117fb575060006112d2565b8282028284828161180857fe5b04146118455760405162461bcd60e51b8152600401808060200182810382526021815260200180611fcb6021913960400191505060405180910390fd5b9392505050565b600061184583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611b71565b600061184583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611c13565b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561191b57600080fd5b505afa15801561192f573d6000803e3d6000fd5b505050506040513d602081101561194557600080fd5b50519050808211156119d9576001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156119a757600080fd5b505af11580156119bb573d6000803e3d6000fd5b505050506040513d60208110156119d157600080fd5b50611a5c9050565b6001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015611a2f57600080fd5b505af1158015611a43573d6000803e3d6000fd5b505050506040513d6020811015611a5957600080fd5b50505b505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611a5c908490611c6d565b3390565b600082820183811015611845576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611b6b908590611c6d565b50505050565b60008183611bfd5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611bc2578181015183820152602001611baa565b50505050905090810190601f168015611bef5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581611c0957fe5b0495945050505050565b60008184841115611c655760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611bc2578181015183820152602001611baa565b505050900390565b6060611cc2826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611d1e9092919063ffffffff16565b805190915015611a5c57808060200190516020811015611ce157600080fd5b5051611a5c5760405162461bcd60e51b815260040180806020018281038252602a81526020018061204a602a913960400191505060405180910390fd5b6060611d2d8484600085611d35565b949350505050565b6060611d4085611ea2565b611d91576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611dd05780518252601f199092019160209182019101611db1565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611e32576040519150601f19603f3d011682016040523d82523d6000602084013e611e37565b606091505b50915091508115611e4b579150611d2d9050565b805115611e5b5780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315611bc2578181015183820152602001611baa565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611d2d575050151592915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611f1c57805160ff1916838001178555611f49565b82800160010185558215611f49579182015b82811115611f49578251825591602001919060010190611f2e565b50611f55929150611f59565b5090565b5b80821115611f555760008155600101611f5a56fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735f626c6f636b20697320616c7265616479206d696e6564206f7220746f6f20636c6f7365206f6e2067657474696e67206d696e65642e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726d696e745374617274426c6f636b20697320616c7265616479206d696e6564206f7220746f6f20636c6f7365206f6e2067657474696e67206d696e65642e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564596f752063616e27742064656c6574652074686520666972737420626c6f636b7370616e21a2646970667358221220774fdaaa5f9b3bc1c2162e501278c7576c24f49b53b6b989bab501e3a0e1953e64736f6c634300060c00330000000000000000000000000dafe2b22323dac2940d43cede16cd8790c5d4e6000000000000000000000000000000000000000000000000002386f26fc100000000000000000000000000000000000000000000000000000000000000a98670
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101585760003560e01c80638ce0519b116100c3578063b501eaf51161007c578063b501eaf5146104aa578063d5648507146104b2578063e2bbb158146104ba578063e42907db146104dd578063f2fde38b14610591578063fc50e0e2146105b757610158565b80638ce0519b146103e65780638da5cb5b1461040957806393f1a40b1461042d578063aa30298c14610459578063ab55212a14610461578063b1982b9b1461047e57610158565b806351eb05a61161011557806351eb05a6146102c45780635312ea8e146102e1578063630b5ba1146102fe578063715018a6146103065780637bed3bc21461030e578063886374351461032a57610158565b8063081e3eda1461015d5780631526fe27146101775780631fa36cbe14610238578063441a3e7014610240578063443aa5331461026557806344f380081461029b575b600080fd5b6101656105da565b60408051918252519081900360200190f35b6101946004803603602081101561018d57600080fd5b50356105e1565b60405180876001600160a01b0316815260200180602001868152602001858152602001848152602001838152602001828103825287818151815260200191508051906020019080838360005b838110156101f85781810151838201526020016101e0565b50505050905090810190601f1680156102255780820380516001836020036101000a031916815260200191505b5097505050505050505060405180910390f35b6101656106bd565b6102636004803603604081101561025657600080fd5b50803590602001356106c3565b005b6102826004803603602081101561027b57600080fd5b503561081c565b6040805192835260208301919091528051918290030190f35b610263600480360360608110156102b157600080fd5b5080359060208101359060400135610847565b610263600480360360208110156102da57600080fd5b503561098a565b610263600480360360208110156102f757600080fd5b5035610b24565b610263610bbf565b610263610be2565b610316610c84565b604080519115158252519081900360200190f35b6102636004803603608081101561034057600080fd5b81019060208101813564010000000081111561035b57600080fd5b82018360208201111561036d57600080fd5b8035906020019184600183028401116401000000008311171561038f57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505082359350505060208101356001600160a01b031690604001351515610cae565b610263600480360360408110156103fc57600080fd5b5080359060200135610e67565b610411610f79565b604080516001600160a01b039092168252519081900360200190f35b6102826004803603604081101561044357600080fd5b50803590602001356001600160a01b0316610f88565b610165610fac565b6102636004803603602081101561047757600080fd5b5035610fb2565b6101656004803603604081101561049457600080fd5b50803590602001356001600160a01b031661117b565b6101656112d8565b610411611389565b610263600480360360408110156104d057600080fd5b5080359060200135611398565b610263600480360360808110156104f357600080fd5b8135919081019060408101602082013564010000000081111561051557600080fd5b82018360208201111561052757600080fd5b8035906020019184600183028401116401000000008311171561054957600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550508235935050506020013515156114a3565b610263600480360360208110156105a757600080fd5b50356001600160a01b03166115a8565b610165600480360360408110156105cd57600080fd5b50803590602001356116a0565b6002545b90565b600281815481106105ee57fe5b600091825260209182902060069091020180546001808301805460408051601f60026000199685161561010002969096019093169490940491820187900487028401870190528083526001600160a01b03909316955092939092919083018282801561069b5780601f106106705761010080835404028352916020019161069b565b820191906000526020600020905b81548152906001019060200180831161067e57829003601f168201915b5050505050908060020154908060030154908060040154908060050154905086565b60055481565b6000600283815481106106d257fe5b600091825260208083208684526004825260408085203386529092529220805460069092029092019250831115610745576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b61074e8461098a565b600061078b8260010154610785670de0b6b3a764000061077f876004015487600001546117ec90919063ffffffff16565b9061184c565b9061188e565b905061079733826118d0565b81546107a3908561188e565b80835560048401546107c391670de0b6b3a76400009161077f91906117ec565b600183015582546107de906001600160a01b03163386611a61565b604080518581529051869133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050505050565b6003818154811061082957fe5b60009182526020909120600290910201805460019091015490915082565b61084f611ab3565b6000546001600160a01b0390811691161461089f576040805162461bcd60e51b81526020600482018190526024820152600080516020611fec833981519152604482015290519081900360640190fd5b43600a0182116108e05760405162461bcd60e51b8152600401808060200182810382526036815260200180611f956036913960400191505060405180910390fd5b43600a01600384815481106108f157fe5b9060005260206000209060020201600101541161093f5760405162461bcd60e51b815260040180806020018281038252603e81526020018061200c603e913960400191505060405180910390fd5b806003848154811061094d57fe5b906000526020600020906002020160000181905550816003848154811061097057fe5b906000526020600020906002020160010181905550505050565b60006002828154811061099957fe5b90600052602060002090600602019050806003015443116109ba5750610b21565b8054604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b158015610a0457600080fd5b505afa158015610a18573d6000803e3d6000fd5b505050506040513d6020811015610a2e57600080fd5b505160058301819055905080610a4b575043600390910155610b21565b6000610a6f60055461077f8560020154610a698760030154436116a0565b906117ec565b600154604080516340c10f1960e01b81523060048201526024810184905290519293506001600160a01b03909116916340c10f199160448082019260009290919082900301818387803b158015610ac557600080fd5b505af1158015610ad9573d6000803e3d6000fd5b50505050610af8670de0b6b3a7640000826117ec90919063ffffffff16565b9050610b12610b07828461184c565b600485015490611ab7565b60048401555050436003909101555b50565b600060028281548110610b3357fe5b60009182526020808320858452600482526040808520338087529352909320805460069093029093018054909450610b78926001600160a01b03919091169190611a61565b80546040805191825251849133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a360008082556001909101555050565b60025460005b81811015610bde57610bd68161098a565b600101610bc5565b5050565b610bea611ab3565b6000546001600160a01b03908116911614610c3a576040805162461bcd60e51b81526020600482018190526024820152600080516020611fec833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b60006003600081548110610c9457fe5b906000526020600020906002020160010154431015905090565b610cb6611ab3565b6000546001600160a01b03908116911614610d06576040805162461bcd60e51b81526020600482018190526024820152600080516020611fec833981519152604482015290519081900360640190fd5b8015610d1457610d14610bbf565b60006003600081548110610d2457fe5b9060005260206000209060020201600101544311610d61576003600081548110610d4a57fe5b906000526020600020906002020160010154610d63565b435b600554909150610d739085611ab7565b6005556040805160c0810182526001600160a01b03858116825260208083018981529383018890526060830185905260006080840181905260a0840181905260028054600181018255915283517f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace600690920291820180546001600160a01b031916919094161783559351805193949293610e35937f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5acf01929190910190611edb565b5060408201518160020155606082015181600301556080820151816004015560a0820151816005015550505050505050565b610e6f611ab3565b6000546001600160a01b03908116911614610ebf576040805162461bcd60e51b81526020600482018190526024820152600080516020611fec833981519152604482015290519081900360640190fd5b43600a018211610f005760405162461bcd60e51b8152600401808060200182810382526036815260200180611f956036913960400191505060405180910390fd5b60408051808201909152908152602081019182526003805460018101825560009190915290517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b60029092029182015590517fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85c90910155565b6000546001600160a01b031690565b60046020908152600092835260408084209091529082529020805460019091015482565b60035490565b610fba611ab3565b6000546001600160a01b0390811691161461100a576040805162461bcd60e51b81526020600482018190526024820152600080516020611fec833981519152604482015290519081900360640190fd5b806110465760405162461bcd60e51b81526004018080602001828103825260258152602001806120746025913960400191505060405180910390fd5b600354811061108f576040805162461bcd60e51b815260206004820152601060248201526f5f6d696420697320696e76616c69642160801b604482015290519081900360640190fd5b43600a01600382815481106110a057fe5b906000526020600020906002020160010154116110ee5760405162461bcd60e51b8152600401808060200182810382526036815260200180611f956036913960400191505060405180910390fd5b805b6003546000190181101561114e576003816001018154811061110e57fe5b90600052602060002090600202016003828154811061112957fe5b60009182526020909120825460029092020190815560019182015490820155016110f0565b50600380548061115a57fe5b60008281526020812060026000199093019283020181815560010155905550565b6000806002848154811061118b57fe5b60009182526020808320878452600480835260408086206001600160a01b03808b168852908552818720600690960290930182810154815483516370a0823160e01b81523095810195909552925191985095969491909316926370a08231926024808201939291829003018186803b15801561120657600080fd5b505afa15801561121a573d6000803e3d6000fd5b505050506040513d602081101561123057600080fd5b50516005850181905560038501549091504311801561124f5750600081115b156112a057600061127260055461077f8760020154610a698960030154436116a0565b905061128681670de0b6b3a76400006117ec565b905061129c611295828461184c565b8490611ab7565b9250505b6112cb8360010154610785670de0b6b3a764000061077f8688600001546117ec90919063ffffffff16565b9450505050505b92915050565b6000805b6003546000190181101561134c5743600382815481106112f857fe5b906000526020600020906002020160010154111580156113385750436003826001018154811061132457fe5b906000526020600020906002020160010154115b156113445790506105de565b6001016112dc565b50600360008154811061135b57fe5b90600052602060002090600202016001015443101561137e57506201869f6105de565b506003546000190190565b6001546001600160a01b031681565b6000600283815481106113a757fe5b600091825260208083208684526004825260408085203386529092529220600690910290910191506113d88461098a565b80541561141e5760006114108260010154610785670de0b6b3a764000061077f876004015487600001546117ec90919063ffffffff16565b905061141c33826118d0565b505b8154611435906001600160a01b0316333086611b11565b80546114419084611ab7565b808255600483015461146191670de0b6b3a76400009161077f91906117ec565b6001820155604080518481529051859133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a350505050565b6114ab611ab3565b6000546001600160a01b039081169116146114fb576040805162461bcd60e51b81526020600482018190526024820152600080516020611fec833981519152604482015290519081900360640190fd5b801561150957611509610bbf565b611546826115406002878154811061151d57fe5b90600052602060002090600602016002015460055461188e90919063ffffffff16565b90611ab7565b600581905550826002858154811061155a57fe5b9060005260206000209060060201600101908051906020019061157e929190611edb565b50816002858154811061158d57fe5b90600052602060002090600602016002018190555050505050565b6115b0611ab3565b6000546001600160a01b03908116911614611600576040805162461bcd60e51b81526020600482018190526024820152600080516020611fec833981519152604482015290519081900360640190fd5b6001600160a01b0381166116455760405162461bcd60e51b8152600401808060200182810382526026815260200180611f6f6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008183106116b1575060006112d2565b6000806116be848661188e565b9050600185015b8481116117035760036000815481106116da57fe5b9060005260206000209060020201600101548110156116fb57600019909101905b6001016116c5565b5060005b600354600019018110156117b057600186015b8581116117a7576003828154811061172e57fe5b906000526020600020906002020160010154811015801561176f57506003826001018154811061175a57fe5b90600052602060002090600202016001015481105b1561179f576003828154811061178157fe5b60009182526020909120600290910201549390930192600019909201915b60010161171a565b50600101611707565b50600380546117e0919060001981019081106117c857fe5b600091825260209091206002909102015482906117ec565b90910191505092915050565b6000826117fb575060006112d2565b8282028284828161180857fe5b04146118455760405162461bcd60e51b8152600401808060200182810382526021815260200180611fcb6021913960400191505060405180910390fd5b9392505050565b600061184583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611b71565b600061184583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611c13565b600154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561191b57600080fd5b505afa15801561192f573d6000803e3d6000fd5b505050506040513d602081101561194557600080fd5b50519050808211156119d9576001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156119a757600080fd5b505af11580156119bb573d6000803e3d6000fd5b505050506040513d60208110156119d157600080fd5b50611a5c9050565b6001546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015611a2f57600080fd5b505af1158015611a43573d6000803e3d6000fd5b505050506040513d6020811015611a5957600080fd5b50505b505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611a5c908490611c6d565b3390565b600082820183811015611845576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052611b6b908590611c6d565b50505050565b60008183611bfd5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611bc2578181015183820152602001611baa565b50505050905090810190601f168015611bef5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581611c0957fe5b0495945050505050565b60008184841115611c655760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315611bc2578181015183820152602001611baa565b505050900390565b6060611cc2826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316611d1e9092919063ffffffff16565b805190915015611a5c57808060200190516020811015611ce157600080fd5b5051611a5c5760405162461bcd60e51b815260040180806020018281038252602a81526020018061204a602a913960400191505060405180910390fd5b6060611d2d8484600085611d35565b949350505050565b6060611d4085611ea2565b611d91576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310611dd05780518252601f199092019160209182019101611db1565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611e32576040519150601f19603f3d011682016040523d82523d6000602084013e611e37565b606091505b50915091508115611e4b579150611d2d9050565b805115611e5b5780518082602001fd5b60405162461bcd60e51b8152602060048201818152865160248401528651879391928392604401919085019080838360008315611bc2578181015183820152602001611baa565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590611d2d575050151592915050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611f1c57805160ff1916838001178555611f49565b82800160010185558215611f49579182015b82811115611f49578251825591602001919060010190611f2e565b50611f55929150611f59565b5090565b5b80821115611f555760008155600101611f5a56fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735f626c6f636b20697320616c7265616479206d696e6564206f7220746f6f20636c6f7365206f6e2067657474696e67206d696e65642e536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726d696e745374617274426c6f636b20697320616c7265616479206d696e6564206f7220746f6f20636c6f7365206f6e2067657474696e67206d696e65642e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564596f752063616e27742064656c6574652074686520666972737420626c6f636b7370616e21a2646970667358221220774fdaaa5f9b3bc1c2162e501278c7576c24f49b53b6b989bab501e3a0e1953e64736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000dafe2b22323dac2940d43cede16cd8790c5d4e6000000000000000000000000000000000000000000000000002386f26fc100000000000000000000000000000000000000000000000000000000000000a98670
-----Decoded View---------------
Arg [0] : _Charged (address): 0x0dafE2b22323dAc2940D43CeDe16cD8790C5D4e6
Arg [1] : _ChargedPerBlock (uint256): 10000000000000000
Arg [2] : _mintStartBlock (uint256): 11110000
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000dafe2b22323dac2940d43cede16cd8790c5d4e6
Arg [1] : 000000000000000000000000000000000000000000000000002386f26fc10000
Arg [2] : 0000000000000000000000000000000000000000000000000000000000a98670
Deployed Bytecode Sourcemap
36357:12636:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41758:95;;;:::i;:::-;;;;;;;;;;;;;;;;38200:26;;;;;;;;;;;;;;;;-1:-1:-1;38200:26:0;;:::i;:::-;;;;;-1:-1:-1;;;;;38200:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38526:35;;;:::i;47241:673::-;;;;;;;;;;;;;;;;-1:-1:-1;47241:673:0;;;;;;;:::i;:::-;;38277:26;;;;;;;;;;;;;;;;-1:-1:-1;38277:26:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;40636:428;;;;;;;;;;;;;;;;-1:-1:-1;40636:428:0;;;;;;;;;;;;:::i;45426:892::-;;;;;;;;;;;;;;;;-1:-1:-1;45426:892:0;;:::i;47985:364::-;;;;;;;;;;;;;;;;-1:-1:-1;47985:364:0;;:::i;45170:180::-;;;:::i;21285:148::-;;;:::i;39873:121::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;42038:667;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42038:667:0;;-1:-1:-1;;42038:667:0;;;-1:-1:-1;;;42038:667:0;;;;-1:-1:-1;;;;;42038:667:0;;;;;;;;:::i;40163:302::-;;;;;;;;;;;;;;;;-1:-1:-1;40163:302:0;;;;;;;:::i;20643:79::-;;;:::i;:::-;;;;-1:-1:-1;;;;;20643:79:0;;;;;;;;;;;;;;38365:66;;;;;;;;;;;;;;;;-1:-1:-1;38365:66:0;;;;;;-1:-1:-1;;;;;38365:66:0;;:::i;39716:95::-;;;:::i;41246:458::-;;;;;;;;;;;;;;;;-1:-1:-1;41246:458:0;;:::i;44200:887::-;;;;;;;;;;;;;;;;-1:-1:-1;44200:887:0;;;;;;-1:-1:-1;;;;;44200:887:0;;:::i;39227:410::-;;;:::i;38031:20::-;;;:::i;46458:677::-;;;;;;;;;;;;;;;;-1:-1:-1;46458:677:0;;;;;;;:::i;42796:372::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42796:372:0;;-1:-1:-1;;42796:372:0;;;-1:-1:-1;;;42796:372:0;;;;;;:::i;21588:244::-;;;;;;;;;;;;;;;;-1:-1:-1;21588:244:0;-1:-1:-1;;;;;21588:244:0;;:::i;43250:884::-;;;;;;;;;;;;;;;;-1:-1:-1;43250:884:0;;;;;;;:::i;41758:95::-;41830:8;:15;41758:95;;:::o;38200:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;38200:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;38200:26:0;;;;-1:-1:-1;38200:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;38526:35::-;;;;:::o;47241:673::-;47308:21;47332:8;47341:4;47332:14;;;;;;;;;;;;;;;;47381;;;:8;:14;;;;;;47396:10;47381:26;;;;;;;47426:11;;47332:14;;;;;;;;-1:-1:-1;47426:22:0;-1:-1:-1;47426:22:0;47418:53;;;;;-1:-1:-1;;;47418:53:0;;;;;;;;;;;;-1:-1:-1;;;47418:53:0;;;;;;;;;;;;;;;47482:16;47493:4;47482:10;:16::i;:::-;47509:15;47527:73;47584:4;:15;;;47527:52;47574:4;47527:42;47543:4;:25;;;47527:4;:11;;;:15;;:42;;;;:::i;:::-;:46;;:52::i;:::-;:56;;:73::i;:::-;47509:91;;47611:40;47631:10;47643:7;47611:19;:40::i;:::-;47676:11;;:24;;47692:7;47676:15;:24::i;:::-;47662:38;;;47745:25;;;;47729:52;;47776:4;;47729:42;;47662:38;47729:15;:42::i;:52::-;47711:15;;;:70;47792:20;;:63;;-1:-1:-1;;;;;47792:20:0;47834:10;47847:7;47792:33;:63::i;:::-;47871:35;;;;;;;;47892:4;;47880:10;;47871:35;;;;;;;;;47241:673;;;;;:::o;38277:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38277:26:0;:::o;40636:428::-;20865:12;:10;:12::i;:::-;20855:6;;-1:-1:-1;;;;;20855:6:0;;;:22;;;20847:67;;;;;-1:-1:-1;;;20847:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20847:67:0;;;;;;;;;;;;;;;40745:12:::1;40760:2;40745:17;40736:6;:26;40728:93;;;;-1:-1:-1::0;;;40728:93:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40872:12;40887:2;40872:17;40840:8;40849:4;40840:14;;;;;;;;;;;;;;;;;;:29;;;:49;40832:124;;;;-1:-1:-1::0;;;40832:124:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41000:7;40967:8;40976:4;40967:14;;;;;;;;;;;;;;;;;;:30;;:40;;;;41050:6;41018:8;41027:4;41018:14;;;;;;;;;;;;;;;;;;:29;;:38;;;;40636:428:::0;;;:::o;45426:892::-;45478:21;45502:8;45511:4;45502:14;;;;;;;;;;;;;;;;;;45478:38;;45547:4;:22;;;45531:12;:38;45527:77;;45586:7;;;45527:77;45633:20;;:45;;;-1:-1:-1;;;45633:45:0;;45672:4;45633:45;;;;;;45614:16;;-1:-1:-1;;;;;45633:20:0;;:30;;:45;;;;;;;;;;;;;;:20;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45633:45:0;45689:19;;;:30;;;45633:45;-1:-1:-1;45734:13:0;45730:104;;-1:-1:-1;45789:12:0;45764:22;;;;:37;45816:7;;45730:104;45844:21;45868:105;45956:16;;45868:83;45934:4;:16;;;45868:61;45892:4;:22;;;45916:12;45868:23;:61::i;:::-;:65;;:83::i;:105::-;46073:7;;:42;;;-1:-1:-1;;;46073:42:0;;46094:4;46073:42;;;;;;;;;;;;45844:129;;-1:-1:-1;;;;;;46073:7:0;;;;:12;;:42;;;;;:7;;:42;;;;;;;;:7;;:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46142:23;46160:4;46142:13;:17;;:23;;;;:::i;:::-;46126:39;-1:-1:-1;46204:58:0;46234:27;46126:39;46252:8;46234:17;:27::i;:::-;46204:25;;;;;:29;:58::i;:::-;46176:25;;;:86;-1:-1:-1;;46298:12:0;46273:22;;;;:37;45426:892;;:::o;47985:364::-;48044:21;48068:8;48077:4;48068:14;;;;;;;;;;;;;;;;48117;;;:8;:14;;;;;;48132:10;48117:26;;;;;;;;48209:11;;48068:14;;;;;;;48154:20;;48068:14;;-1:-1:-1;48154:67:0;;-1:-1:-1;;;;;48154:20:0;;;;;48132:10;48154:33;:67::i;:::-;48273:11;;48237:48;;;;;;;48267:4;;48255:10;;48237:48;;;;;;;;;48310:1;48296:15;;;48322;;;;:19;-1:-1:-1;;47985:364:0:o;45170:180::-;45232:8;:15;45215:14;45258:85;45286:6;45280:3;:12;45258:85;;;45316:15;45327:3;45316:10;:15::i;:::-;45294:5;;45258:85;;;;45170:180;:::o;21285:148::-;20865:12;:10;:12::i;:::-;20855:6;;-1:-1:-1;;;;;20855:6:0;;;:22;;;20847:67;;;;;-1:-1:-1;;;20847:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20847:67:0;;;;;;;;;;;;;;;21392:1:::1;21376:6:::0;;21355:40:::1;::::0;-1:-1:-1;;;;;21376:6:0;;::::1;::::0;21355:40:::1;::::0;21392:1;;21355:40:::1;21423:1;21406:19:::0;;-1:-1:-1;;;;;;21406:19:0::1;::::0;;21285:148::o;39873:121::-;39921:4;39960:8;39969:1;39960:11;;;;;;;;;;;;;;;;;;:26;;;39944:12;:42;;39937:49;;39873:121;:::o;42038:667::-;20865:12;:10;:12::i;:::-;20855:6;;-1:-1:-1;;;;;20855:6:0;;;:22;;;20847:67;;;;;-1:-1:-1;;;20847:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20847:67:0;;;;;;;;;;;;;;;42171:11:::1;42167:61;;;42199:17;:15;:17::i;:::-;42238:25;42281:8;42290:1;42281:11;;;;;;;;;;;;;;;;;;:26;;;42266:12;:41;:85;;42325:8;42334:1;42325:11;;;;;;;;;;;;;;;;;;:26;;;42266:85;;;42310:12;42266:85;42381:16;::::0;42238:113;;-1:-1:-1;42381:34:0::1;::::0;42402:12;42381:20:::1;:34::i;:::-;42362:16;:53:::0;42440:256:::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;42440:256:0;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;;;;;;;;;;-1:-1:-1;42440:256:0;;;;;;;;;;;;42426:8:::1;:271:::0;;::::1;::::0;::::1;::::0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;-1:-1:-1;;;;;;42426:271:0::1;::::0;;;::::1;;::::0;;;;;;42440:256;;42426:271;;::::1;::::0;;;;;;;::::1;::::0;::::1;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20925:1;42038:667:::0;;;;:::o;40163:302::-;20865:12;:10;:12::i;:::-;20855:6;;-1:-1:-1;;;;;20855:6:0;;;:22;;;20847:67;;;;;-1:-1:-1;;;20847:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20847:67:0;;;;;;;;;;;;;;;40258:12:::1;40273:2;40258:17;40249:6;:26;40241:93;;;;-1:-1:-1::0;;;40241:93:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40359:97;::::0;;;;::::1;::::0;;;;;;::::1;::::0;::::1;::::0;;;40345:8:::1;:112:::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;40345:112:0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;;;40163:302::o;20643:79::-;20681:7;20708:6;-1:-1:-1;;;;;20708:6:0;20643:79;:::o;38365:66::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;39716:95::-;39788:8;:15;39716:95;:::o;41246:458::-;20865:12;:10;:12::i;:::-;20855:6;;-1:-1:-1;;;;;20855:6:0;;;:22;;;20847:67;;;;;-1:-1:-1;;;20847:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20847:67:0;;;;;;;;;;;;;;;41316:9;41308:59:::1;;;;-1:-1:-1::0;;;41308:59:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41393:8;:15:::0;41386:22;::::1;41378:51;;;::::0;;-1:-1:-1;;;41378:51:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;41378:51:0;;;;;;;;;;;;;::::1;;41480:12;41495:2;41480:17;41448:8;41457:4;41448:14;;;;;;;;;;;;;;;;;;:29;;;:49;41440:116;;;;-1:-1:-1::0;;;41440:116:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41583:4:::0;41567:105:::1;41593:8;:15:::0;-1:-1:-1;;41593:19:0;41589:23;::::1;41567:105;;;41647:8;41656:1;41658;41656:3;41647:13;;;;;;;;;;;;;;;;;;41633:8;41642:1;41633:11;;;;;;;;;::::0;;;::::1;::::0;;;:27;;:11:::1;::::0;;::::1;;:27:::0;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;41614:3:::1;41567:105;;;;41682:8;:14;;;;;;;;::::0;;;::::1;::::0;;::::1;-1:-1:-1::0;;41682:14:0;;;;;::::1;;::::0;;;::::1;;::::0;;;-1:-1:-1;41246:458:0:o;44200:887::-;44269:7;44289:21;44313:8;44322:4;44313:14;;;;;;;;;;;;;;;;44362;;;:8;:14;;;;;;;-1:-1:-1;;;;;44362:21:0;;;;;;;;;;;44313:14;;;;;;;44425:25;;;;44537:20;;:45;;-1:-1:-1;;;44537:45:0;;44576:4;44537:45;;;;;;;;;44313:14;;-1:-1:-1;44362:21:0;;44313:14;44537:20;;;;;:30;;:45;;;;;44313:14;44537:45;;;;;;:20;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44537:45:0;44593:19;;;:30;;;44653:22;;;;44537:45;;-1:-1:-1;44638:12:0;:37;:53;;;;;44690:1;44679:8;:12;44638:53;44634:360;;;44708:21;44732:105;44820:16;;44732:83;44798:4;:16;;;44732:61;44756:4;:22;;;44780:12;44732:23;:61::i;:105::-;44708:129;-1:-1:-1;44868:23:0;44708:129;44886:4;44868:17;:23::i;:::-;44852:39;-1:-1:-1;44929:53:0;44954:27;44852:39;44972:8;44954:17;:27::i;:::-;44929:20;;:24;:53::i;:::-;44906:76;;44634:360;;45011:68;45063:4;:15;;;45011:47;45053:4;45011:37;45027:20;45011:4;:11;;;:15;;:37;;;;:::i;:68::-;45004:75;;;;;;44200:887;;;;;:::o;39227:410::-;39273:7;;39292:208;39315:8;:15;-1:-1:-1;;39315:17:0;39311:21;;39292:208;;;39386:12;39356:8;39365:1;39356:11;;;;;;;;;;;;;;;;;;:26;;;:42;;:89;;;;;39433:12;39402:8;39411:1;39413;39411:3;39402:13;;;;;;;;;;;;;;;;;;:28;;;:43;39356:89;39353:136;;;39472:1;-1:-1:-1;39465:8:0;;39353:136;39334:3;;39292:208;;;;39528:8;39537:1;39528:11;;;;;;;;;;;;;;;;;;:26;;;39513:12;:41;39510:85;;;-1:-1:-1;39578:5:0;39571:12;;39510:85;-1:-1:-1;39612:8:0;:15;-1:-1:-1;;39612:17:0;39227:410;:::o;38031:20::-;;;-1:-1:-1;;;;;38031:20:0;;:::o;46458:677::-;46524:21;46548:8;46557:4;46548:14;;;;;;;;;;;;;;;;46597;;;:8;:14;;;;;;46612:10;46597:26;;;;;;;46548:14;;;;;;;;-1:-1:-1;46634:16:0;46606:4;46634:10;:16::i;:::-;46665:11;;:15;46661:194;;46697:15;46715:73;46772:4;:15;;;46715:52;46762:4;46715:42;46731:4;:25;;;46715:4;:11;;;:15;;:42;;;;:::i;:73::-;46697:91;;46803:40;46823:10;46835:7;46803:19;:40::i;:::-;46661:194;;46865:20;;:82;;-1:-1:-1;;;;;46865:20:0;46911:10;46932:4;46939:7;46865:37;:82::i;:::-;46972:11;;:24;;46988:7;46972:15;:24::i;:::-;46958:38;;;47041:25;;;;47025:52;;47072:4;;47025:42;;46958:38;47025:15;:42::i;:52::-;47007:15;;;:70;47093:34;;;;;;;;47113:4;;47101:10;;47093:34;;;;;;;;;46458:677;;;;:::o;42796:372::-;20865:12;:10;:12::i;:::-;20855:6;;-1:-1:-1;;;;;20855:6:0;;;:22;;;20847:67;;;;;-1:-1:-1;;;20847:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20847:67:0;;;;;;;;;;;;;;;42918:11:::1;42914:61;;;42946:17;:15;:17::i;:::-;43004:66;43057:12;43004:48;43025:8;43034:4;43025:14;;;;;;;;;;;;;;;;;;:26;;;43004:16;;:20;;:48;;;;:::i;:::-;:52:::0;::::1;:66::i;:::-;42985:16;:85;;;;43103:5;43081:8;43090:4;43081:14;;;;;;;;;;;;;;;;;;:19;;:27;;;;;;;;;;;;:::i;:::-;;43148:12;43119:8;43128:4;43119:14;;;;;;;;;;;;;;;;;;:26;;:41;;;;42796:372:::0;;;;:::o;21588:244::-;20865:12;:10;:12::i;:::-;20855:6;;-1:-1:-1;;;;;20855:6:0;;;:22;;;20847:67;;;;;-1:-1:-1;;;20847:67:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20847:67:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;21677:22:0;::::1;21669:73;;;;-1:-1:-1::0;;;21669:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21779:6;::::0;;21758:38:::1;::::0;-1:-1:-1;;;;;21758:38:0;;::::1;::::0;21779:6;::::1;::::0;21758:38:::1;::::0;::::1;21807:6;:17:::0;;-1:-1:-1;;;;;;21807:17:0::1;-1:-1:-1::0;;;;;21807:17:0;;;::::1;::::0;;;::::1;::::0;;21588:244::o;43250:884::-;43332:7;43364:3;43355:5;:12;43352:51;;-1:-1:-1;43390:1:0;43383:8;;43352:51;43413:14;;43463;:3;43471:5;43463:7;:14::i;:::-;43442:35;-1:-1:-1;43516:1:0;43510:7;;43488:167;43529:3;43519:6;:13;43488:167;;43570:8;43579:1;43570:11;;;;;;;;;;;;;;;;;;:26;;;43561:6;:35;43558:86;;;-1:-1:-1;;43616:12:0;;;;43558:86;43534:8;;43488:167;;;;43670:9;43665:358;43689:8;:15;-1:-1:-1;;43689:17:0;43685:21;;43665:358;;;43755:1;43749:7;;43727:285;43768:3;43758:6;:13;43727:285;;43814:8;43823:1;43814:11;;;;;;;;;;;;;;;;;;:26;;;43804:6;:36;;:77;;;;;43853:8;43862:1;43864;43862:3;43853:13;;;;;;;;;;;;;;;;;;:28;;;43844:6;:37;43804:77;43801:196;;;43915:8;43924:1;43915:11;;;;;;;;;;;;;;;;;;;;;:27;43905:37;;;;;-1:-1:-1;;43965:12:0;;;;43801:196;43773:8;;43727:285;;;-1:-1:-1;43708:3:0;;43665:358;;;-1:-1:-1;44058:8:0;44067:15;;44043:59;;44058:8;-1:-1:-1;;44067:17:0;;;44058:27;;;;;;;;;;;;;;;;;;;:43;44043:10;;:14;:59::i;:::-;44033:69;;;;-1:-1:-1;;43250:884:0;;;;:::o;6424:471::-;6482:7;6727:6;6723:47;;-1:-1:-1;6757:1:0;6750:8;;6723:47;6794:5;;;6798:1;6794;:5;:1;6818:5;;;;;:10;6810:56;;;;-1:-1:-1;;;6810:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6886:1;6424:471;-1:-1:-1;;;6424:471:0:o;7371:132::-;7429:7;7456:39;7460:1;7463;7456:39;;;;;;;;;;;;;;;;;:3;:39::i;5534:136::-;5592:7;5619:43;5623:1;5626;5619:43;;;;;;;;;;;;;;;;;:3;:43::i;48468:299::-;48568:7;;:32;;;-1:-1:-1;;;48568:32:0;;48594:4;48568:32;;;;;;48547:18;;-1:-1:-1;;;;;48568:7:0;;:17;;:32;;;;;;;;;;;;;;:7;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48568:32:0;;-1:-1:-1;48615:20:0;;;48611:149;;;48652:7;;:33;;;-1:-1:-1;;;48652:33:0;;-1:-1:-1;;;;;48652:33:0;;;;;;;;;;;;;;;:7;;;;;:16;;:33;;;;;;;;;;;;;;:7;;:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48611:149:0;;-1:-1:-1;48611:149:0;;48718:7;;:30;;;-1:-1:-1;;;48718:30:0;;-1:-1:-1;;;;;48718:30:0;;;;;;;;;;;;;;;:7;;;;;:16;;:30;;;;;;;;;;;;;;:7;;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;48611:149:0;48468:299;;;:::o;16248:177::-;16358:58;;;-1:-1:-1;;;;;16358:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16358:58:0;-1:-1:-1;;;16358:58:0;;;16331:86;;16351:5;;16331:19;:86::i;1163:106::-;1251:10;1163:106;:::o;5070:181::-;5128:7;5160:5;;;5184:6;;;;5176:46;;;;;-1:-1:-1;;;5176:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;16433:205;16561:68;;;-1:-1:-1;;;;;16561:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;16561:68:0;-1:-1:-1;;;16561:68:0;;;16534:96;;16554:5;;16534:19;:96::i;:::-;16433:205;;;;:::o;7999:278::-;8085:7;8120:12;8113:5;8105:28;;;;-1:-1:-1;;;8105:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8144:9;8160:1;8156;:5;;;;;;;7999:278;-1:-1:-1;;;;;7999:278:0:o;5973:192::-;6059:7;6095:12;6087:6;;;;6079:29;;;;-1:-1:-1;;;6079:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;6131:5:0;;;5973:192::o;18553:761::-;18977:23;19003:69;19031:4;19003:69;;;;;;;;;;;;;;;;;19011:5;-1:-1:-1;;;;;19003:27:0;;;:69;;;;;:::i;:::-;19087:17;;18977:95;;-1:-1:-1;19087:21:0;19083:224;;19229:10;19218:30;;;;;;;;;;;;;;;-1:-1:-1;19218:30:0;19210:85;;;;-1:-1:-1;;;19210:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13326:196;13429:12;13461:53;13484:6;13492:4;13498:1;13501:12;13461:22;:53::i;:::-;13454:60;13326:196;-1:-1:-1;;;;13326:196:0:o;14703:979::-;14833:12;14866:18;14877:6;14866:10;:18::i;:::-;14858:60;;;;;-1:-1:-1;;;14858:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14992:12;15006:23;15033:6;-1:-1:-1;;;;;15033:11:0;15053:8;15064:4;15033:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15033:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14991:78;;;;15084:7;15080:595;;;15115:10;-1:-1:-1;15108:17:0;;-1:-1:-1;15108:17:0;15080:595;15229:17;;:21;15225:439;;15492:10;15486:17;15553:15;15540:10;15536:2;15532:19;15525:44;15440:148;15628:20;;-1:-1:-1;;;15628:20:0;;;;;;;;;;;;;;;;;15635:12;;15628:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10211:619;10271:4;10739:20;;10582:66;10779:23;;;;;;:42;;-1:-1:-1;;10806:15:0;;;10771:51;-1:-1:-1;;10211:619:0:o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;
Swarm Source
ipfs://774fdaaa5f9b3bc1c2162e501278c7576c24f49b53b6b989bab501e3a0e1953e
Loading...
Loading
Loading...
Loading
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.