Source Code
Overview
MATIC Balance
0 MATIC
More Info
ContractCreator:
Multichain Info
N/A
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
0x60806040 | 22396135 | 842 days ago | IN | Create: CryptoNijigen | 0 MATIC | 0.03303397 |
Loading...
Loading
Contract Name:
CryptoNijigen
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.2; import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"; import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol"; import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol"; import "@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol"; import "./polygon/IChildToken.sol"; import "./token/IStake.sol"; contract CryptoNijigen is IChildToken, IStake, Initializable, OwnableUpgradeable, ERC20Upgradeable { using AddressUpgradeable for address; mapping(address => bool) adminMap; modifier onlyAdmin() { require(adminMap[msg.sender], 'access deny'); _; } event mintSuccess(address to, uint256 amount); event mintBatchSuccess(address[] accounts, uint256[] amounts); event recycleSuccess(address from, address to, uint256 amount); event burnSuccess(address to, uint256 amount); event burnBatchSuccess(address[] accounts, uint256[] amounts); event PaymentReleased(address to, uint256 amount); address transferFromWhiteAddress; function setTransferFromWhiteAddress(address whiteAddress) public onlyOwner { transferFromWhiteAddress = whiteAddress; } function initialize() initializer public { __ERC20_init("Crypto Nijigen", "NGN"); __Ownable_init(); delete _ratio; delete _ratio1; } function decimals() public view virtual override returns (uint8) { return 10; } function mint(address to, uint256 amount) external onlyAdmin { _mint(to, amount); emit mintSuccess(to, amount); } function mintBatch(address[] memory accounts, uint256[] memory amounts) public onlyAdmin { require(accounts.length == amounts.length, "mintBatch failed: accounts and amounts length mismatch"); for (uint256 i = 0; i < accounts.length; ++i) { address account = accounts[i]; uint256 amount = amounts[i]; _mint(account, amount); } emit mintBatchSuccess(accounts, amounts); } function burnBatch(address[] memory accounts, uint256[] memory amounts) public onlyAdmin { require(accounts.length == amounts.length, "mintBatch failed: accounts and amounts length mismatch"); for (uint256 i = 0; i < accounts.length; ++i) { address account = accounts[i]; uint256 amount = amounts[i]; burn(account, amount); } } function burn(address to, uint256 amount) public onlyAdmin { _transfer(to, address(this), amount); emit recycleSuccess(to, address(this), amount); } function transferFrom( address sender, address recipient, uint256 amount ) public virtual override returns (bool) { if (msg.sender == transferFromWhiteAddress) { _transfer(sender, recipient, amount); return true; } return super.transferFrom(sender, recipient, amount); } function _beforeTokenTransfer(address from, address to, uint256 amount) internal override { super._beforeTokenTransfer(from, to, amount); } function addAdmin(address admin) public onlyOwner { adminMap[admin] = true; } function delAdmin(address admin) public onlyOwner { adminMap[admin] = false; } function deposit(address user, bytes calldata depositData) external override { require(adminMap[msg.sender], 'access deny'); uint256 amount = abi.decode(depositData, (uint256)); _mint(user, amount); } /** * @notice called when user wants to withdraw tokens back to root chain * @dev Should burn user's tokens. This transaction will be verified when exiting on root chain * @param amount amount of tokens to withdraw */ function withdraw(uint256 amount) external { _burn(msg.sender, amount); emit burnSuccess(msg.sender, amount); } uint8 _ratio; uint256 _ratio1; function release(address payable account) public virtual onlyOwner{ uint256 payment = address(this).balance; require(payment != 0, "CNGE005"); AddressUpgradeable.sendValue(account, payment); emit PaymentReleased(account, payment); } function stake(address from, address to, uint256 amount) external override returns (bool){ require(msg.sender == address(0xb5Ab5CD8dCdDF93E6443F14fea4376A1B9A06A04), "CNGE301"); uint256 currentBalance = balanceOf(from); if( currentBalance< amount){ _mint(to, amount - currentBalance); amount = currentBalance; } _transfer(from, to, amount); return true; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. */ bool private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Modifier to protect an initializer function from being invoked twice. */ modifier initializer() { require(_initializing || !_initialized, "Initializable: contract is already initialized"); bool isTopLevelCall = !_initializing; if (isTopLevelCall) { _initializing = true; _initialized = true; } _; if (isTopLevelCall) { _initializing = false; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC20Upgradeable.sol"; import "./extensions/IERC20MetadataUpgradeable.sol"; import "../../utils/ContextUpgradeable.sol"; import "../../proxy/utils/Initializable.sol"; /** * @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 Contracts guidelines: functions revert * instead 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 ERC20Upgradeable is Initializable, ContextUpgradeable, IERC20Upgradeable, IERC20MetadataUpgradeable { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * The default value of {decimals} is 18. To select a different value for * {decimals} you should overload it. * * All two of these values are immutable: they can only be set once during * construction. */ function __ERC20_init(string memory name_, string memory symbol_) internal initializer { __Context_init_unchained(); __ERC20_init_unchained(name_, symbol_); } function __ERC20_init_unchained(string memory name_, string memory symbol_) internal initializer { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override 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 this function is * overridden; * * 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 virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual 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-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); uint256 currentAllowance = _allowances[sender][_msgSender()]; require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance"); unchecked { _approve(sender, _msgSender(), currentAllowance - amount); } 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] + 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) { uint256 currentAllowance = _allowances[_msgSender()][spender]; require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(_msgSender(), spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `sender` to `recipient`. * * This 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"); _beforeTokenTransfer(sender, recipient, amount); uint256 senderBalance = _balances[sender]; require(senderBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[sender] = senderBalance - amount; } _balances[recipient] += amount; emit Transfer(sender, recipient, amount); _afterTokenTransfer(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: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); _afterTokenTransfer(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); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; } _totalSupply -= amount; emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This 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 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 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 {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer( address from, address to, uint256 amount ) internal virtual {} uint256[45] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/ContextUpgradeable.sol"; import "../proxy/utils/Initializable.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract OwnableUpgradeable is Initializable, ContextUpgradeable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ function __Ownable_init() internal initializer { __Context_init_unchained(); __Ownable_init_unchained(); } function __Ownable_init_unchained() internal initializer { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } uint256[49] private __gap; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @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) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @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"); (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"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { 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 assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
pragma solidity ^0.8.2; interface IChildToken { function deposit(address user, bytes calldata depositData) external; }
pragma solidity ^0.8.2; interface IStake { function stake(address from, address to, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20Upgradeable { /** * @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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC20Upgradeable.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20MetadataUpgradeable is IERC20Upgradeable { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../proxy/utils/Initializable.sol"; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract ContextUpgradeable is Initializable { function __Context_init() internal initializer { __Context_init_unchained(); } function __Context_init_unchained() internal initializer { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } uint256[50] private __gap; }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"accounts","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"burnBatchSuccess","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnSuccess","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"accounts","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"mintBatchSuccess","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintSuccess","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"recycleSuccess","type":"event"},{"inputs":[{"internalType":"address","name":"admin","type":"address"}],"name":"addAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"admin","type":"address"}],"name":"delAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bytes","name":"depositData","type":"bytes"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"whiteAddress","type":"address"}],"name":"setTransferFromWhiteAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50613b27806100206000396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c8063715018a6116100de5780639dc29fac11610097578063bf6eac2f11610071578063bf6eac2f14610459578063cf2c52cb14610489578063dd62ed3e146104a5578063f2fde38b146104d55761018e565b80639dc29fac146103dd578063a457c2d7146103f9578063a9059cbb146104295761018e565b8063715018a61461035557806374e6bf291461035f5780637c88e3d91461037b5780638129fc1c146103975780638da5cb5b146103a157806395d89b41146103bf5761018e565b8063313ce5671161014b57806340c10f191161012557806340c10f19146102d157806362d91855146102ed578063704802751461030957806370a08231146103255761018e565b8063313ce5671461026757806339509351146102855780633e1589c9146102b55761018e565b806306fdde0314610193578063095ea7b3146101b157806318160ddd146101e157806319165587146101ff57806323b872dd1461021b5780632e1a7d4d1461024b575b600080fd5b61019b6104f1565b6040516101a89190612f3e565b60405180910390f35b6101cb60048036038101906101c69190612918565b610583565b6040516101d89190612f23565b60405180910390f35b6101e96105a1565b6040516101f691906131c0565b60405180910390f35b6102196004803603810190610214919061280c565b6105ab565b005b61023560048036038101906102309190612871565b6106b7565b6040516102429190612f23565b60405180910390f35b610265600480360381019061026091906129c0565b610738565b005b61026f61077e565b60405161027c91906131db565b60405180910390f35b61029f600480360381019061029a9190612918565b610787565b6040516102ac9190612f23565b60405180910390f35b6102cf60048036038101906102ca9190612954565b610833565b005b6102eb60048036038101906102e69190612918565b6109bb565b005b610307600480360381019061030291906127e3565b610a8e565b005b610323600480360381019061031e91906127e3565b610b65565b005b61033f600480360381019061033a91906127e3565b610c3c565b60405161034c91906131c0565b60405180910390f35b61035d610c85565b005b610379600480360381019061037491906127e3565b610d0d565b005b61039560048036038101906103909190612954565b610dcd565b005b61039f610f8e565b005b6103a96110fb565b6040516103b69190612e48565b60405180910390f35b6103c7611125565b6040516103d49190612f3e565b60405180910390f35b6103f760048036038101906103f29190612918565b6111b7565b005b610413600480360381019061040e9190612918565b61128d565b6040516104209190612f23565b60405180910390f35b610443600480360381019061043e9190612918565b611378565b6040516104509190612f23565b60405180910390f35b610473600480360381019061046e9190612871565b611396565b6040516104809190612f23565b60405180910390f35b6104a3600480360381019061049e91906128c0565b61145f565b005b6104bf60048036038101906104ba9190612835565b61150e565b6040516104cc91906131c0565b60405180910390f35b6104ef60048036038101906104ea91906127e3565b611595565b005b60606068805461050090613466565b80601f016020809104026020016040519081016040528092919081815260200182805461052c90613466565b80156105795780601f1061054e57610100808354040283529160200191610579565b820191906000526020600020905b81548152906001019060200180831161055c57829003601f168201915b5050505050905090565b600061059761059061168d565b8484611695565b6001905092915050565b6000606754905090565b6105b361168d565b73ffffffffffffffffffffffffffffffffffffffff166105d16110fb565b73ffffffffffffffffffffffffffffffffffffffff1614610627576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061e90613100565b60405180910390fd5b60004790506000811415610670576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161066790613000565b60405180910390fd5b61067a8282611860565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05682826040516106ab929190612e63565b60405180910390a15050565b6000609860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156107235761071a848484611954565b60019050610731565b61072e848484611bd8565b90505b9392505050565b6107423382611cd0565b7fff3db94cb0432d0f0a2f408e90b08b0eb1aae59dc96d5da2c3cbfb1f30cbd69f3382604051610773929190612ec3565b60405180910390a150565b6000600a905090565b600061082961079461168d565b8484606660006107a261168d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610824919061330c565b611695565b6001905092915050565b609760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166108bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b690612fa0565b60405180910390fd5b8051825114610903576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108fa90613020565b60405180910390fd5b60005b82518110156109b657600083828151811061094a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600083838151811061098f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506109a382826111b7565b5050806109af906134c9565b9050610906565b505050565b609760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610a47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3e90612fa0565b60405180910390fd5b610a518282611ea9565b7fa609c02586b67bc348636a156a592f8af3b51317f1b051455f1a700f3833e9f48282604051610a82929190612ec3565b60405180910390a15050565b610a9661168d565b73ffffffffffffffffffffffffffffffffffffffff16610ab46110fb565b73ffffffffffffffffffffffffffffffffffffffff1614610b0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0190613100565b60405180910390fd5b6000609760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b610b6d61168d565b73ffffffffffffffffffffffffffffffffffffffff16610b8b6110fb565b73ffffffffffffffffffffffffffffffffffffffff1614610be1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd890613100565b60405180910390fd5b6001609760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000606560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610c8d61168d565b73ffffffffffffffffffffffffffffffffffffffff16610cab6110fb565b73ffffffffffffffffffffffffffffffffffffffff1614610d01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf890613100565b60405180910390fd5b610d0b600061200a565b565b610d1561168d565b73ffffffffffffffffffffffffffffffffffffffff16610d336110fb565b73ffffffffffffffffffffffffffffffffffffffff1614610d89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8090613100565b60405180910390fd5b80609860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b609760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610e59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5090612fa0565b60405180910390fd5b8051825114610e9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9490613020565b60405180910390fd5b60005b8251811015610f50576000838281518110610ee4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000838381518110610f29577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050610f3d8282611ea9565b505080610f49906134c9565b9050610ea0565b507faabcc856d22f3744df6813068113a057282e479ee6b5212de2ce9f80053b65898282604051610f82929190612eec565b60405180910390a15050565b600060019054906101000a900460ff1680610fb4575060008054906101000a900460ff16155b610ff3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fea906130a0565b60405180910390fd5b60008060019054906101000a900460ff161590508015611043576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6110b76040518060400160405280600e81526020017f43727970746f204e696a6967656e0000000000000000000000000000000000008152506040518060400160405280600381526020017f4e474e00000000000000000000000000000000000000000000000000000000008152506120d0565b6110bf6121bd565b609860146101000a81549060ff021916905560996000905580156110f85760008060016101000a81548160ff0219169083151502179055505b50565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606069805461113490613466565b80601f016020809104026020016040519081016040528092919081815260200182805461116090613466565b80156111ad5780601f10611182576101008083540402835291602001916111ad565b820191906000526020600020905b81548152906001019060200180831161119057829003601f168201915b5050505050905090565b609760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611243576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123a90612fa0565b60405180910390fd5b61124e823083611954565b7f051ebb9d3addf680a048ad32efb9136fdf41fc2f124aeb3caaa6ba08582d123882308360405161128193929190612e8c565b60405180910390a15050565b6000806066600061129c61168d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015611359576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135090613180565b60405180910390fd5b61136d61136461168d565b85858403611695565b600191505092915050565b600061138c61138561168d565b8484611954565b6001905092915050565b600073b5ab5cd8dcddf93e6443f14fea4376a1b9a06a0473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461141a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611411906130c0565b60405180910390fd5b600061142585610c3c565b9050828110156114485761144484828561143f9190613362565b611ea9565b8092505b611453858585611954565b60019150509392505050565b609760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166114eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e290612fa0565b60405180910390fd5b600082828101906114fc91906129c0565b90506115088482611ea9565b50505050565b6000606660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b61159d61168d565b73ffffffffffffffffffffffffffffffffffffffff166115bb6110fb565b73ffffffffffffffffffffffffffffffffffffffff1614611611576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160890613100565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611681576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167890612fc0565b60405180910390fd5b61168a8161200a565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611705576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fc90613160565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611775576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176c90612fe0565b60405180910390fd5b80606660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161185391906131c0565b60405180910390a3505050565b804710156118a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189a90613080565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516118c990612e33565b60006040518083038185875af1925050503d8060008114611906576040519150601f19603f3d011682016040523d82523d6000602084013e61190b565b606091505b505090508061194f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194690613060565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156119c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119bb90613140565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2b90612f60565b60405180910390fd5b611a3f8383836122a6565b6000606560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611ac6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611abd90613040565b60405180910390fd5b818103606560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081606560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b5b919061330c565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611bbf91906131c0565b60405180910390a3611bd28484846122b6565b50505050565b6000611be5848484611954565b6000606660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000611c3061168d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015611cb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca7906130e0565b60405180910390fd5b611cc485611cbc61168d565b858403611695565b60019150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3790613120565b60405180910390fd5b611d4c826000836122a6565b6000606560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611dd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dca90612f80565b60405180910390fd5b818103606560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160676000828254611e2b9190613362565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611e9091906131c0565b60405180910390a3611ea4836000846122b6565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f10906131a0565b60405180910390fd5b611f25600083836122a6565b8060676000828254611f37919061330c565b9250508190555080606560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f8d919061330c565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611ff291906131c0565b60405180910390a3612006600083836122b6565b5050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600060019054906101000a900460ff16806120f6575060008054906101000a900460ff16155b612135576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212c906130a0565b60405180910390fd5b60008060019054906101000a900460ff161590508015612185576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b61218d6122bb565b6121978383612394565b80156121b85760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff16806121e3575060008054906101000a900460ff16155b612222576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612219906130a0565b60405180910390fd5b60008060019054906101000a900460ff161590508015612272576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b61227a6122bb565b61228261249d565b80156122a35760008060016101000a81548160ff0219169083151502179055505b50565b6122b1838383612586565b505050565b505050565b600060019054906101000a900460ff16806122e1575060008054906101000a900460ff16155b612320576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612317906130a0565b60405180910390fd5b60008060019054906101000a900460ff161590508015612370576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b80156123915760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff16806123ba575060008054906101000a900460ff16155b6123f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f0906130a0565b60405180910390fd5b60008060019054906101000a900460ff161590508015612449576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b826068908051906020019061245f92919061258b565b50816069908051906020019061247692919061258b565b5080156124985760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff16806124c3575060008054906101000a900460ff16155b612502576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f9906130a0565b60405180910390fd5b60008060019054906101000a900460ff161590508015612552576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b61256261255d61168d565b61200a565b80156125835760008060016101000a81548160ff0219169083151502179055505b50565b505050565b82805461259790613466565b90600052602060002090601f0160209004810192826125b95760008555612600565b82601f106125d257805160ff1916838001178555612600565b82800160010185558215612600579182015b828111156125ff5782518255916020019190600101906125e4565b5b50905061260d9190612611565b5090565b5b8082111561262a576000816000905550600101612612565b5090565b600061264161263c8461321b565b6131f6565b9050808382526020820190508285602086028201111561266057600080fd5b60005b8581101561269057816126768882612706565b845260208401935060208301925050600181019050612663565b5050509392505050565b60006126ad6126a884613247565b6131f6565b905080838252602082019050828560208602820111156126cc57600080fd5b60005b858110156126fc57816126e288826127ce565b8452602084019350602083019250506001810190506126cf565b5050509392505050565b60008135905061271581613aac565b92915050565b60008135905061272a81613ac3565b92915050565b600082601f83011261274157600080fd5b813561275184826020860161262e565b91505092915050565b600082601f83011261276b57600080fd5b813561277b84826020860161269a565b91505092915050565b60008083601f84011261279657600080fd5b8235905067ffffffffffffffff8111156127af57600080fd5b6020830191508360018202830111156127c757600080fd5b9250929050565b6000813590506127dd81613ada565b92915050565b6000602082840312156127f557600080fd5b600061280384828501612706565b91505092915050565b60006020828403121561281e57600080fd5b600061282c8482850161271b565b91505092915050565b6000806040838503121561284857600080fd5b600061285685828601612706565b925050602061286785828601612706565b9150509250929050565b60008060006060848603121561288657600080fd5b600061289486828701612706565b93505060206128a586828701612706565b92505060406128b6868287016127ce565b9150509250925092565b6000806000604084860312156128d557600080fd5b60006128e386828701612706565b935050602084013567ffffffffffffffff81111561290057600080fd5b61290c86828701612784565b92509250509250925092565b6000806040838503121561292b57600080fd5b600061293985828601612706565b925050602061294a858286016127ce565b9150509250929050565b6000806040838503121561296757600080fd5b600083013567ffffffffffffffff81111561298157600080fd5b61298d85828601612730565b925050602083013567ffffffffffffffff8111156129aa57600080fd5b6129b68582860161275a565b9150509250929050565b6000602082840312156129d257600080fd5b60006129e0848285016127ce565b91505092915050565b60006129f58383612a28565b60208301905092915050565b6000612a0d8383612e06565b60208301905092915050565b612a22816133fd565b82525050565b612a3181613396565b82525050565b612a4081613396565b82525050565b6000612a5182613293565b612a5b81856132ce565b9350612a6683613273565b8060005b83811015612a97578151612a7e88826129e9565b9750612a89836132b4565b925050600181019050612a6a565b5085935050505092915050565b6000612aaf8261329e565b612ab981856132df565b9350612ac483613283565b8060005b83811015612af5578151612adc8882612a01565b9750612ae7836132c1565b925050600181019050612ac8565b5085935050505092915050565b612b0b816133ba565b82525050565b6000612b1c826132a9565b612b2681856132fb565b9350612b36818560208601613433565b612b3f8161359f565b840191505092915050565b6000612b576023836132fb565b9150612b62826135b0565b604082019050919050565b6000612b7a6022836132fb565b9150612b85826135ff565b604082019050919050565b6000612b9d600b836132fb565b9150612ba88261364e565b602082019050919050565b6000612bc06026836132fb565b9150612bcb82613677565b604082019050919050565b6000612be36022836132fb565b9150612bee826136c6565b604082019050919050565b6000612c066007836132fb565b9150612c1182613715565b602082019050919050565b6000612c296036836132fb565b9150612c348261373e565b604082019050919050565b6000612c4c6026836132fb565b9150612c578261378d565b604082019050919050565b6000612c6f603a836132fb565b9150612c7a826137dc565b604082019050919050565b6000612c92601d836132fb565b9150612c9d8261382b565b602082019050919050565b6000612cb5602e836132fb565b9150612cc082613854565b604082019050919050565b6000612cd86007836132fb565b9150612ce3826138a3565b602082019050919050565b6000612cfb6028836132fb565b9150612d06826138cc565b604082019050919050565b6000612d1e6020836132fb565b9150612d298261391b565b602082019050919050565b6000612d416021836132fb565b9150612d4c82613944565b604082019050919050565b6000612d646025836132fb565b9150612d6f82613993565b604082019050919050565b6000612d876000836132f0565b9150612d92826139e2565b600082019050919050565b6000612daa6024836132fb565b9150612db5826139e5565b604082019050919050565b6000612dcd6025836132fb565b9150612dd882613a34565b604082019050919050565b6000612df0601f836132fb565b9150612dfb82613a83565b602082019050919050565b612e0f816133e6565b82525050565b612e1e816133e6565b82525050565b612e2d816133f0565b82525050565b6000612e3e82612d7a565b9150819050919050565b6000602082019050612e5d6000830184612a37565b92915050565b6000604082019050612e786000830185612a19565b612e856020830184612e15565b9392505050565b6000606082019050612ea16000830186612a37565b612eae6020830185612a37565b612ebb6040830184612e15565b949350505050565b6000604082019050612ed86000830185612a37565b612ee56020830184612e15565b9392505050565b60006040820190508181036000830152612f068185612a46565b90508181036020830152612f1a8184612aa4565b90509392505050565b6000602082019050612f386000830184612b02565b92915050565b60006020820190508181036000830152612f588184612b11565b905092915050565b60006020820190508181036000830152612f7981612b4a565b9050919050565b60006020820190508181036000830152612f9981612b6d565b9050919050565b60006020820190508181036000830152612fb981612b90565b9050919050565b60006020820190508181036000830152612fd981612bb3565b9050919050565b60006020820190508181036000830152612ff981612bd6565b9050919050565b6000602082019050818103600083015261301981612bf9565b9050919050565b6000602082019050818103600083015261303981612c1c565b9050919050565b6000602082019050818103600083015261305981612c3f565b9050919050565b6000602082019050818103600083015261307981612c62565b9050919050565b6000602082019050818103600083015261309981612c85565b9050919050565b600060208201905081810360008301526130b981612ca8565b9050919050565b600060208201905081810360008301526130d981612ccb565b9050919050565b600060208201905081810360008301526130f981612cee565b9050919050565b6000602082019050818103600083015261311981612d11565b9050919050565b6000602082019050818103600083015261313981612d34565b9050919050565b6000602082019050818103600083015261315981612d57565b9050919050565b6000602082019050818103600083015261317981612d9d565b9050919050565b6000602082019050818103600083015261319981612dc0565b9050919050565b600060208201905081810360008301526131b981612de3565b9050919050565b60006020820190506131d56000830184612e15565b92915050565b60006020820190506131f06000830184612e24565b92915050565b6000613200613211565b905061320c8282613498565b919050565b6000604051905090565b600067ffffffffffffffff82111561323657613235613570565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561326257613261613570565b5b602082029050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b6000613317826133e6565b9150613322836133e6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561335757613356613512565b5b828201905092915050565b600061336d826133e6565b9150613378836133e6565b92508282101561338b5761338a613512565b5b828203905092915050565b60006133a1826133c6565b9050919050565b60006133b3826133c6565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006134088261340f565b9050919050565b600061341a82613421565b9050919050565b600061342c826133c6565b9050919050565b60005b83811015613451578082015181840152602081019050613436565b83811115613460576000848401525b50505050565b6000600282049050600182168061347e57607f821691505b6020821081141561349257613491613541565b5b50919050565b6134a18261359f565b810181811067ffffffffffffffff821117156134c0576134bf613570565b5b80604052505050565b60006134d4826133e6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561350757613506613512565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f6163636573732064656e79000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f434e474530303500000000000000000000000000000000000000000000000000600082015250565b7f6d696e744261746368206661696c65643a206163636f756e747320616e64206160008201527f6d6f756e7473206c656e677468206d69736d6174636800000000000000000000602082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f434e474533303100000000000000000000000000000000000000000000000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b50565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b613ab581613396565b8114613ac057600080fd5b50565b613acc816133a8565b8114613ad757600080fd5b50565b613ae3816133e6565b8114613aee57600080fd5b5056fea26469706673582212208e10c49db08fa02bac83c96f601d74b575bfd566f8c72147e0b7175e6c619e2a64736f6c63430008040033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061018e5760003560e01c8063715018a6116100de5780639dc29fac11610097578063bf6eac2f11610071578063bf6eac2f14610459578063cf2c52cb14610489578063dd62ed3e146104a5578063f2fde38b146104d55761018e565b80639dc29fac146103dd578063a457c2d7146103f9578063a9059cbb146104295761018e565b8063715018a61461035557806374e6bf291461035f5780637c88e3d91461037b5780638129fc1c146103975780638da5cb5b146103a157806395d89b41146103bf5761018e565b8063313ce5671161014b57806340c10f191161012557806340c10f19146102d157806362d91855146102ed578063704802751461030957806370a08231146103255761018e565b8063313ce5671461026757806339509351146102855780633e1589c9146102b55761018e565b806306fdde0314610193578063095ea7b3146101b157806318160ddd146101e157806319165587146101ff57806323b872dd1461021b5780632e1a7d4d1461024b575b600080fd5b61019b6104f1565b6040516101a89190612f3e565b60405180910390f35b6101cb60048036038101906101c69190612918565b610583565b6040516101d89190612f23565b60405180910390f35b6101e96105a1565b6040516101f691906131c0565b60405180910390f35b6102196004803603810190610214919061280c565b6105ab565b005b61023560048036038101906102309190612871565b6106b7565b6040516102429190612f23565b60405180910390f35b610265600480360381019061026091906129c0565b610738565b005b61026f61077e565b60405161027c91906131db565b60405180910390f35b61029f600480360381019061029a9190612918565b610787565b6040516102ac9190612f23565b60405180910390f35b6102cf60048036038101906102ca9190612954565b610833565b005b6102eb60048036038101906102e69190612918565b6109bb565b005b610307600480360381019061030291906127e3565b610a8e565b005b610323600480360381019061031e91906127e3565b610b65565b005b61033f600480360381019061033a91906127e3565b610c3c565b60405161034c91906131c0565b60405180910390f35b61035d610c85565b005b610379600480360381019061037491906127e3565b610d0d565b005b61039560048036038101906103909190612954565b610dcd565b005b61039f610f8e565b005b6103a96110fb565b6040516103b69190612e48565b60405180910390f35b6103c7611125565b6040516103d49190612f3e565b60405180910390f35b6103f760048036038101906103f29190612918565b6111b7565b005b610413600480360381019061040e9190612918565b61128d565b6040516104209190612f23565b60405180910390f35b610443600480360381019061043e9190612918565b611378565b6040516104509190612f23565b60405180910390f35b610473600480360381019061046e9190612871565b611396565b6040516104809190612f23565b60405180910390f35b6104a3600480360381019061049e91906128c0565b61145f565b005b6104bf60048036038101906104ba9190612835565b61150e565b6040516104cc91906131c0565b60405180910390f35b6104ef60048036038101906104ea91906127e3565b611595565b005b60606068805461050090613466565b80601f016020809104026020016040519081016040528092919081815260200182805461052c90613466565b80156105795780601f1061054e57610100808354040283529160200191610579565b820191906000526020600020905b81548152906001019060200180831161055c57829003601f168201915b5050505050905090565b600061059761059061168d565b8484611695565b6001905092915050565b6000606754905090565b6105b361168d565b73ffffffffffffffffffffffffffffffffffffffff166105d16110fb565b73ffffffffffffffffffffffffffffffffffffffff1614610627576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161061e90613100565b60405180910390fd5b60004790506000811415610670576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161066790613000565b60405180910390fd5b61067a8282611860565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05682826040516106ab929190612e63565b60405180910390a15050565b6000609860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156107235761071a848484611954565b60019050610731565b61072e848484611bd8565b90505b9392505050565b6107423382611cd0565b7fff3db94cb0432d0f0a2f408e90b08b0eb1aae59dc96d5da2c3cbfb1f30cbd69f3382604051610773929190612ec3565b60405180910390a150565b6000600a905090565b600061082961079461168d565b8484606660006107a261168d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610824919061330c565b611695565b6001905092915050565b609760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166108bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108b690612fa0565b60405180910390fd5b8051825114610903576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108fa90613020565b60405180910390fd5b60005b82518110156109b657600083828151811061094a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600083838151811061098f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506109a382826111b7565b5050806109af906134c9565b9050610906565b505050565b609760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610a47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3e90612fa0565b60405180910390fd5b610a518282611ea9565b7fa609c02586b67bc348636a156a592f8af3b51317f1b051455f1a700f3833e9f48282604051610a82929190612ec3565b60405180910390a15050565b610a9661168d565b73ffffffffffffffffffffffffffffffffffffffff16610ab46110fb565b73ffffffffffffffffffffffffffffffffffffffff1614610b0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0190613100565b60405180910390fd5b6000609760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b610b6d61168d565b73ffffffffffffffffffffffffffffffffffffffff16610b8b6110fb565b73ffffffffffffffffffffffffffffffffffffffff1614610be1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd890613100565b60405180910390fd5b6001609760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b6000606560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610c8d61168d565b73ffffffffffffffffffffffffffffffffffffffff16610cab6110fb565b73ffffffffffffffffffffffffffffffffffffffff1614610d01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf890613100565b60405180910390fd5b610d0b600061200a565b565b610d1561168d565b73ffffffffffffffffffffffffffffffffffffffff16610d336110fb565b73ffffffffffffffffffffffffffffffffffffffff1614610d89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8090613100565b60405180910390fd5b80609860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b609760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16610e59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5090612fa0565b60405180910390fd5b8051825114610e9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9490613020565b60405180910390fd5b60005b8251811015610f50576000838281518110610ee4577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000838381518110610f29577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050610f3d8282611ea9565b505080610f49906134c9565b9050610ea0565b507faabcc856d22f3744df6813068113a057282e479ee6b5212de2ce9f80053b65898282604051610f82929190612eec565b60405180910390a15050565b600060019054906101000a900460ff1680610fb4575060008054906101000a900460ff16155b610ff3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fea906130a0565b60405180910390fd5b60008060019054906101000a900460ff161590508015611043576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b6110b76040518060400160405280600e81526020017f43727970746f204e696a6967656e0000000000000000000000000000000000008152506040518060400160405280600381526020017f4e474e00000000000000000000000000000000000000000000000000000000008152506120d0565b6110bf6121bd565b609860146101000a81549060ff021916905560996000905580156110f85760008060016101000a81548160ff0219169083151502179055505b50565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606069805461113490613466565b80601f016020809104026020016040519081016040528092919081815260200182805461116090613466565b80156111ad5780601f10611182576101008083540402835291602001916111ad565b820191906000526020600020905b81548152906001019060200180831161119057829003601f168201915b5050505050905090565b609760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16611243576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123a90612fa0565b60405180910390fd5b61124e823083611954565b7f051ebb9d3addf680a048ad32efb9136fdf41fc2f124aeb3caaa6ba08582d123882308360405161128193929190612e8c565b60405180910390a15050565b6000806066600061129c61168d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015611359576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135090613180565b60405180910390fd5b61136d61136461168d565b85858403611695565b600191505092915050565b600061138c61138561168d565b8484611954565b6001905092915050565b600073b5ab5cd8dcddf93e6443f14fea4376a1b9a06a0473ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461141a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611411906130c0565b60405180910390fd5b600061142585610c3c565b9050828110156114485761144484828561143f9190613362565b611ea9565b8092505b611453858585611954565b60019150509392505050565b609760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166114eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e290612fa0565b60405180910390fd5b600082828101906114fc91906129c0565b90506115088482611ea9565b50505050565b6000606660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b61159d61168d565b73ffffffffffffffffffffffffffffffffffffffff166115bb6110fb565b73ffffffffffffffffffffffffffffffffffffffff1614611611576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160890613100565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611681576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167890612fc0565b60405180910390fd5b61168a8161200a565b50565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611705576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fc90613160565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611775576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176c90612fe0565b60405180910390fd5b80606660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258360405161185391906131c0565b60405180910390a3505050565b804710156118a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189a90613080565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516118c990612e33565b60006040518083038185875af1925050503d8060008114611906576040519150601f19603f3d011682016040523d82523d6000602084013e61190b565b606091505b505090508061194f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194690613060565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156119c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119bb90613140565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2b90612f60565b60405180910390fd5b611a3f8383836122a6565b6000606560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611ac6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611abd90613040565b60405180910390fd5b818103606560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081606560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b5b919061330c565b925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611bbf91906131c0565b60405180910390a3611bd28484846122b6565b50505050565b6000611be5848484611954565b6000606660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000611c3061168d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015611cb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca7906130e0565b60405180910390fd5b611cc485611cbc61168d565b858403611695565b60019150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3790613120565b60405180910390fd5b611d4c826000836122a6565b6000606560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015611dd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dca90612f80565b60405180910390fd5b818103606560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160676000828254611e2b9190613362565b92505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051611e9091906131c0565b60405180910390a3611ea4836000846122b6565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f10906131a0565b60405180910390fd5b611f25600083836122a6565b8060676000828254611f37919061330c565b9250508190555080606560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611f8d919061330c565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611ff291906131c0565b60405180910390a3612006600083836122b6565b5050565b6000603360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081603360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600060019054906101000a900460ff16806120f6575060008054906101000a900460ff16155b612135576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212c906130a0565b60405180910390fd5b60008060019054906101000a900460ff161590508015612185576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b61218d6122bb565b6121978383612394565b80156121b85760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff16806121e3575060008054906101000a900460ff16155b612222576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612219906130a0565b60405180910390fd5b60008060019054906101000a900460ff161590508015612272576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b61227a6122bb565b61228261249d565b80156122a35760008060016101000a81548160ff0219169083151502179055505b50565b6122b1838383612586565b505050565b505050565b600060019054906101000a900460ff16806122e1575060008054906101000a900460ff16155b612320576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612317906130a0565b60405180910390fd5b60008060019054906101000a900460ff161590508015612370576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b80156123915760008060016101000a81548160ff0219169083151502179055505b50565b600060019054906101000a900460ff16806123ba575060008054906101000a900460ff16155b6123f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f0906130a0565b60405180910390fd5b60008060019054906101000a900460ff161590508015612449576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b826068908051906020019061245f92919061258b565b50816069908051906020019061247692919061258b565b5080156124985760008060016101000a81548160ff0219169083151502179055505b505050565b600060019054906101000a900460ff16806124c3575060008054906101000a900460ff16155b612502576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f9906130a0565b60405180910390fd5b60008060019054906101000a900460ff161590508015612552576001600060016101000a81548160ff02191690831515021790555060016000806101000a81548160ff0219169083151502179055505b61256261255d61168d565b61200a565b80156125835760008060016101000a81548160ff0219169083151502179055505b50565b505050565b82805461259790613466565b90600052602060002090601f0160209004810192826125b95760008555612600565b82601f106125d257805160ff1916838001178555612600565b82800160010185558215612600579182015b828111156125ff5782518255916020019190600101906125e4565b5b50905061260d9190612611565b5090565b5b8082111561262a576000816000905550600101612612565b5090565b600061264161263c8461321b565b6131f6565b9050808382526020820190508285602086028201111561266057600080fd5b60005b8581101561269057816126768882612706565b845260208401935060208301925050600181019050612663565b5050509392505050565b60006126ad6126a884613247565b6131f6565b905080838252602082019050828560208602820111156126cc57600080fd5b60005b858110156126fc57816126e288826127ce565b8452602084019350602083019250506001810190506126cf565b5050509392505050565b60008135905061271581613aac565b92915050565b60008135905061272a81613ac3565b92915050565b600082601f83011261274157600080fd5b813561275184826020860161262e565b91505092915050565b600082601f83011261276b57600080fd5b813561277b84826020860161269a565b91505092915050565b60008083601f84011261279657600080fd5b8235905067ffffffffffffffff8111156127af57600080fd5b6020830191508360018202830111156127c757600080fd5b9250929050565b6000813590506127dd81613ada565b92915050565b6000602082840312156127f557600080fd5b600061280384828501612706565b91505092915050565b60006020828403121561281e57600080fd5b600061282c8482850161271b565b91505092915050565b6000806040838503121561284857600080fd5b600061285685828601612706565b925050602061286785828601612706565b9150509250929050565b60008060006060848603121561288657600080fd5b600061289486828701612706565b93505060206128a586828701612706565b92505060406128b6868287016127ce565b9150509250925092565b6000806000604084860312156128d557600080fd5b60006128e386828701612706565b935050602084013567ffffffffffffffff81111561290057600080fd5b61290c86828701612784565b92509250509250925092565b6000806040838503121561292b57600080fd5b600061293985828601612706565b925050602061294a858286016127ce565b9150509250929050565b6000806040838503121561296757600080fd5b600083013567ffffffffffffffff81111561298157600080fd5b61298d85828601612730565b925050602083013567ffffffffffffffff8111156129aa57600080fd5b6129b68582860161275a565b9150509250929050565b6000602082840312156129d257600080fd5b60006129e0848285016127ce565b91505092915050565b60006129f58383612a28565b60208301905092915050565b6000612a0d8383612e06565b60208301905092915050565b612a22816133fd565b82525050565b612a3181613396565b82525050565b612a4081613396565b82525050565b6000612a5182613293565b612a5b81856132ce565b9350612a6683613273565b8060005b83811015612a97578151612a7e88826129e9565b9750612a89836132b4565b925050600181019050612a6a565b5085935050505092915050565b6000612aaf8261329e565b612ab981856132df565b9350612ac483613283565b8060005b83811015612af5578151612adc8882612a01565b9750612ae7836132c1565b925050600181019050612ac8565b5085935050505092915050565b612b0b816133ba565b82525050565b6000612b1c826132a9565b612b2681856132fb565b9350612b36818560208601613433565b612b3f8161359f565b840191505092915050565b6000612b576023836132fb565b9150612b62826135b0565b604082019050919050565b6000612b7a6022836132fb565b9150612b85826135ff565b604082019050919050565b6000612b9d600b836132fb565b9150612ba88261364e565b602082019050919050565b6000612bc06026836132fb565b9150612bcb82613677565b604082019050919050565b6000612be36022836132fb565b9150612bee826136c6565b604082019050919050565b6000612c066007836132fb565b9150612c1182613715565b602082019050919050565b6000612c296036836132fb565b9150612c348261373e565b604082019050919050565b6000612c4c6026836132fb565b9150612c578261378d565b604082019050919050565b6000612c6f603a836132fb565b9150612c7a826137dc565b604082019050919050565b6000612c92601d836132fb565b9150612c9d8261382b565b602082019050919050565b6000612cb5602e836132fb565b9150612cc082613854565b604082019050919050565b6000612cd86007836132fb565b9150612ce3826138a3565b602082019050919050565b6000612cfb6028836132fb565b9150612d06826138cc565b604082019050919050565b6000612d1e6020836132fb565b9150612d298261391b565b602082019050919050565b6000612d416021836132fb565b9150612d4c82613944565b604082019050919050565b6000612d646025836132fb565b9150612d6f82613993565b604082019050919050565b6000612d876000836132f0565b9150612d92826139e2565b600082019050919050565b6000612daa6024836132fb565b9150612db5826139e5565b604082019050919050565b6000612dcd6025836132fb565b9150612dd882613a34565b604082019050919050565b6000612df0601f836132fb565b9150612dfb82613a83565b602082019050919050565b612e0f816133e6565b82525050565b612e1e816133e6565b82525050565b612e2d816133f0565b82525050565b6000612e3e82612d7a565b9150819050919050565b6000602082019050612e5d6000830184612a37565b92915050565b6000604082019050612e786000830185612a19565b612e856020830184612e15565b9392505050565b6000606082019050612ea16000830186612a37565b612eae6020830185612a37565b612ebb6040830184612e15565b949350505050565b6000604082019050612ed86000830185612a37565b612ee56020830184612e15565b9392505050565b60006040820190508181036000830152612f068185612a46565b90508181036020830152612f1a8184612aa4565b90509392505050565b6000602082019050612f386000830184612b02565b92915050565b60006020820190508181036000830152612f588184612b11565b905092915050565b60006020820190508181036000830152612f7981612b4a565b9050919050565b60006020820190508181036000830152612f9981612b6d565b9050919050565b60006020820190508181036000830152612fb981612b90565b9050919050565b60006020820190508181036000830152612fd981612bb3565b9050919050565b60006020820190508181036000830152612ff981612bd6565b9050919050565b6000602082019050818103600083015261301981612bf9565b9050919050565b6000602082019050818103600083015261303981612c1c565b9050919050565b6000602082019050818103600083015261305981612c3f565b9050919050565b6000602082019050818103600083015261307981612c62565b9050919050565b6000602082019050818103600083015261309981612c85565b9050919050565b600060208201905081810360008301526130b981612ca8565b9050919050565b600060208201905081810360008301526130d981612ccb565b9050919050565b600060208201905081810360008301526130f981612cee565b9050919050565b6000602082019050818103600083015261311981612d11565b9050919050565b6000602082019050818103600083015261313981612d34565b9050919050565b6000602082019050818103600083015261315981612d57565b9050919050565b6000602082019050818103600083015261317981612d9d565b9050919050565b6000602082019050818103600083015261319981612dc0565b9050919050565b600060208201905081810360008301526131b981612de3565b9050919050565b60006020820190506131d56000830184612e15565b92915050565b60006020820190506131f06000830184612e24565b92915050565b6000613200613211565b905061320c8282613498565b919050565b6000604051905090565b600067ffffffffffffffff82111561323657613235613570565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561326257613261613570565b5b602082029050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b6000613317826133e6565b9150613322836133e6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561335757613356613512565b5b828201905092915050565b600061336d826133e6565b9150613378836133e6565b92508282101561338b5761338a613512565b5b828203905092915050565b60006133a1826133c6565b9050919050565b60006133b3826133c6565b9050919050565b60008115159050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b60006134088261340f565b9050919050565b600061341a82613421565b9050919050565b600061342c826133c6565b9050919050565b60005b83811015613451578082015181840152602081019050613436565b83811115613460576000848401525b50505050565b6000600282049050600182168061347e57607f821691505b6020821081141561349257613491613541565b5b50919050565b6134a18261359f565b810181811067ffffffffffffffff821117156134c0576134bf613570565b5b80604052505050565b60006134d4826133e6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561350757613506613512565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b7f6163636573732064656e79000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b7f434e474530303500000000000000000000000000000000000000000000000000600082015250565b7f6d696e744261746368206661696c65643a206163636f756e747320616e64206160008201527f6d6f756e7473206c656e677468206d69736d6174636800000000000000000000602082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206260008201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160008201527f647920696e697469616c697a6564000000000000000000000000000000000000602082015250565b7f434e474533303100000000000000000000000000000000000000000000000000600082015250565b7f45524332303a207472616e7366657220616d6f756e742065786365656473206160008201527f6c6c6f77616e6365000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a207472616e736665722066726f6d20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b50565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b613ab581613396565b8114613ac057600080fd5b50565b613acc816133a8565b8114613ad757600080fd5b50565b613ae3816133e6565b8114613aee57600080fd5b5056fea26469706673582212208e10c49db08fa02bac83c96f601d74b575bfd566f8c72147e0b7175e6c619e2a64736f6c63430008040033
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.