Latest 25 from a total of 3,885 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 21069616 | 29 days ago | IN | 0 ETH | 0.00034944 | ||||
Transfer | 21049964 | 32 days ago | IN | 0 ETH | 0.00030713 | ||||
Approve | 20899453 | 53 days ago | IN | 0 ETH | 0.00013146 | ||||
Approve | 20841350 | 61 days ago | IN | 0 ETH | 0.00036247 | ||||
Transfer | 20688896 | 82 days ago | IN | 0 ETH | 0.00004299 | ||||
Approve | 20596385 | 95 days ago | IN | 0 ETH | 0.00003729 | ||||
Approve | 20373415 | 126 days ago | IN | 0 ETH | 0.00011778 | ||||
Approve | 20167549 | 155 days ago | IN | 0 ETH | 0.00030689 | ||||
Approve | 20083409 | 167 days ago | IN | 0 ETH | 0.0003637 | ||||
Approve | 19946211 | 186 days ago | IN | 0 ETH | 0.00021721 | ||||
Approve | 19862037 | 198 days ago | IN | 0 ETH | 0.00056192 | ||||
Approve | 19538758 | 243 days ago | IN | 0 ETH | 0.00056862 | ||||
Approve | 19533843 | 243 days ago | IN | 0 ETH | 0.00118157 | ||||
Approve | 19533821 | 243 days ago | IN | 0 ETH | 0.00124779 | ||||
Approve | 19533820 | 243 days ago | IN | 0 ETH | 0.00110948 | ||||
Approve | 19385579 | 264 days ago | IN | 0 ETH | 0.00199584 | ||||
Transfer | 18943593 | 326 days ago | IN | 0 ETH | 0.00106713 | ||||
Approve | 18915301 | 330 days ago | IN | 0 ETH | 0.00031229 | ||||
Approve | 18786116 | 348 days ago | IN | 0 ETH | 0.00127791 | ||||
Transfer | 18592496 | 376 days ago | IN | 0 ETH | 0.00197616 | ||||
Approve | 18347016 | 410 days ago | IN | 0 ETH | 0.00013342 | ||||
Approve | 18347013 | 410 days ago | IN | 0 ETH | 0.00012492 | ||||
Transfer | 18129428 | 440 days ago | IN | 0 ETH | 0.00075615 | ||||
Approve | 18048968 | 452 days ago | IN | 0 ETH | 0.00030314 | ||||
Transfer | 17869696 | 477 days ago | IN | 0 ETH | 0.00053619 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
ProxyCoin
Compiler Version
v0.7.6+commit.7338295f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-05-30 */ // File: @openzeppelin\contracts\math\SafeMath.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: node_modules\@openzeppelin\contracts\GSN\Context.sol pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: node_modules\@openzeppelin\contracts\token\ERC20\IERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `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); } // File: node_modules\@openzeppelin\contracts\token\ERC20\ERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_) public { _name = name_; _symbol = symbol_; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(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 Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } } // File: @openzeppelin\contracts\token\ERC20\ERC20Burnable.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { using SafeMath for uint256; /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { uint256 decreasedAllowance = allowance(account, _msgSender()).sub(amount, "ERC20: burn amount exceeds allowance"); _approve(account, _msgSender(), decreasedAllowance); _burn(account, amount); } } // File: @openzeppelin\contracts\access\Ownable.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: @openzeppelin\contracts\utils\Address.sol pragma solidity >=0.6.2 <0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // 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; // solhint-disable-next-line no-inline-assembly 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"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @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"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: contracts\PRXY.sol pragma solidity 0.7.6; contract ProxyCoin is ERC20Burnable, Ownable { using SafeMath for uint256; uint256 public perBlockSupply = 2391000 * 1e18; uint256 public lastMintBlock; uint256 public mintDuration = 210000; address public treasuryWallet; uint256 public mintCycle; uint256 public mintCycleCap = 20; bool public startBlockSet; event MintDurationChanged(uint256 oldValue, uint256 newValue); event MintCycleCapChanged(uint256 oldValue, uint256 newValue); constructor (address _treasuryWallet, uint256 _lastMintBlock) ERC20("Proxy", "PRXY") { _setupDecimals(18); lastMintBlock = _lastMintBlock; treasuryWallet = _treasuryWallet; _mint(treasuryWallet, perBlockSupply); mintCycle++; } function setStartBlock(uint256 _lastMintBlock) external onlyOwner { require(!startBlockSet, "start block already set"); lastMintBlock = _lastMintBlock; startBlockSet = true; } function startMinting() external onlyOwner { require(!mintingFinished(), "Err: Minting Finished"); require(getMintingStatus(), "Err: Minting not allowed"); lastMintBlock = block.number; perBlockSupply = (perBlockSupply * 9).div(10); _mint(treasuryWallet, perBlockSupply); } function mint(address addr, uint256 amount) public virtual onlyOwner { _mint(addr, amount); } function changeMintCycleCap(uint256 _mintCycleCap) external virtual onlyOwner { emit MintCycleCapChanged(mintCycleCap, _mintCycleCap); mintCycleCap = _mintCycleCap; } function changeMintDuration(uint256 _mintDuration) external virtual onlyOwner { emit MintDurationChanged(mintDuration, _mintDuration); mintDuration = _mintDuration; } function getBlockDifference() public view returns(uint256) { return (block.number.sub(lastMintBlock)); } function getMintingStatus() public view returns(bool) { return ((block.number.sub(lastMintBlock)) > mintDuration); } function mintingFinished() public view returns(bool) { return (mintCycle > mintCycleCap); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_treasuryWallet","type":"address"},{"internalType":"uint256","name":"_lastMintBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"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":false,"internalType":"uint256","name":"oldValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"MintCycleCapChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"MintDurationChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"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":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintCycleCap","type":"uint256"}],"name":"changeMintCycleCap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintDuration","type":"uint256"}],"name":"changeMintDuration","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":[],"name":"getBlockDifference","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintingStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"lastMintBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintCycle","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintCycleCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintingFinished","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[],"name":"perBlockSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_lastMintBlock","type":"uint256"}],"name":"setStartBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlockSet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startMinting","outputs":[],"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":[],"name":"treasuryWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526a01fa505ea6031248600000600655620334506008556014600b553480156200002c57600080fd5b5060405162002bfb38038062002bfb833981810160405260408110156200005257600080fd5b8101908080519060200190929190805190602001909291905050506040518060400160405280600581526020017f50726f78790000000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f50525859000000000000000000000000000000000000000000000000000000008152508160039080519060200190620000f192919062000516565b5080600490805190602001906200010a92919062000516565b506012600560006101000a81548160ff021916908360ff160217905550505060006200013b6200028460201b60201c565b905080600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350620001ec60126200028c60201b60201c565b8060078190555081600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200026a600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600654620002aa60201b60201c565b600a600081548092919060010191905055505050620005cc565b600033905090565b80600560006101000a81548160ff021916908360ff16021790555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200034e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b62000362600083836200048860201b60201c565b6200037e816002546200048d60201b620019691790919060201c565b600281905550620003dc816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546200048d60201b620019691790919060201c565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b505050565b6000808284019050838110156200050c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826200054e57600085556200059a565b82601f106200056957805160ff19168380011785556200059a565b828001600101855582156200059a579182015b82811115620005995782518255916020019190600101906200057c565b5b509050620005a99190620005ad565b5090565b5b80821115620005c8576000816000905550600101620005ae565b5090565b61261f80620005dc6000396000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c806379cc67901161010f578063a457c2d7116100a2578063efdc8e2a11610071578063efdc8e2a1461086d578063f2fde38b1461089b578063f35e4a6e146108df578063f49816611461090d576101e5565b8063a457c2d71461070f578063a83ef51514610773578063a9059cbb14610791578063dd62ed3e146107f5576101e5565b806395d89b41116100de57806395d89b41146106445780639a65ea26146106c75780639b207cfb146106d15780639cf5c3f5146106f1576101e5565b806379cc679014610584578063857ba7ad146105d25780638da5cb5b146105f057806395a4765214610624576101e5565b806339509351116101875780634626402b116101565780634626402b146104d057806363797b821461050457806370a0823114610522578063715018a61461057a576101e5565b806339509351146103d257806340c10f191461043657806342966c681461048457806342c71d2b146104b2576101e5565b806318160ddd116101c357806318160ddd146102f15780631dbbc71b1461030f57806323b872dd1461032d578063313ce567146103b1576101e5565b806305d2035b146101ea57806306fdde031461020a578063095ea7b31461028d575b600080fd5b6101f261093b565b60405180821515815260200191505060405180910390f35b610212610949565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610252578082015181840152602081019050610237565b50505050905090810190601f16801561027f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102d9600480360360408110156102a357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506109eb565b60405180821515815260200191505060405180910390f35b6102f9610a09565b6040518082815260200191505060405180910390f35b610317610a13565b6040518082815260200191505060405180910390f35b6103996004803603606081101561034357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610a19565b60405180821515815260200191505060405180910390f35b6103b9610af2565b604051808260ff16815260200191505060405180910390f35b61041e600480360360408110156103e857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610b09565b60405180821515815260200191505060405180910390f35b6104826004803603604081101561044c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610bbc565b005b6104b06004803603602081101561049a57600080fd5b8101908080359060200190929190505050610c94565b005b6104ba610ca8565b6040518082815260200191505060405180910390f35b6104d8610cc4565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61050c610cea565b6040518082815260200191505060405180910390f35b6105646004803603602081101561053857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610cf0565b6040518082815260200191505060405180910390f35b610582610d38565b005b6105d06004803603604081101561059a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610ec3565b005b6105da610f25565b6040518082815260200191505060405180910390f35b6105f8610f2b565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61062c610f55565b60405180821515815260200191505060405180910390f35b61064c610f75565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561068c578082015181840152602081019050610671565b50505050905090810190601f1680156106b95780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6106cf611017565b005b6106d961122c565b60405180821515815260200191505060405180910390f35b6106f961123f565b6040518082815260200191505060405180910390f35b61075b6004803603604081101561072557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611245565b60405180821515815260200191505060405180910390f35b61077b611312565b6040518082815260200191505060405180910390f35b6107dd600480360360408110156107a757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611318565b60405180821515815260200191505060405180910390f35b6108576004803603604081101561080b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611336565b6040518082815260200191505060405180910390f35b6108996004803603602081101561088357600080fd5b81019080803590602001909291905050506113bd565b005b6108dd600480360360208110156108b157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506114d2565b005b61090b600480360360208110156108f557600080fd5b81019080803590602001909291905050506116e2565b005b6109396004803603602081101561092357600080fd5b8101908080359060200190929190505050611854565b005b6000600b54600a5411905090565b606060038054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109e15780601f106109b6576101008083540402835291602001916109e1565b820191906000526020600020905b8154815290600101906020018083116109c457829003601f168201915b5050505050905090565b60006109ff6109f86119f1565b84846119f9565b6001905092915050565b6000600254905090565b600b5481565b6000610a26848484611bf0565b610ae784610a326119f1565b610ae28560405180606001604052806028815260200161250f60289139600160008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610a986119f1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611eb19092919063ffffffff16565b6119f9565b600190509392505050565b6000600560009054906101000a900460ff16905090565b6000610bb2610b166119f1565b84610bad8560016000610b276119f1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461196990919063ffffffff16565b6119f9565b6001905092915050565b610bc46119f1565b73ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c86576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610c908282611f71565b5050565b610ca5610c9f6119f1565b82612138565b50565b6000610cbf600754436122fc90919063ffffffff16565b905090565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a5481565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d406119f1565b73ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610e02576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000610f028260405180606001604052806024815260200161253760249139610ef386610eee6119f1565b611336565b611eb19092919063ffffffff16565b9050610f1683610f106119f1565b836119f9565b610f208383612138565b505050565b60065481565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600854610f6f600754436122fc90919063ffffffff16565b11905090565b606060048054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561100d5780601f10610fe25761010080835404028352916020019161100d565b820191906000526020600020905b815481529060010190602001808311610ff057829003601f168201915b5050505050905090565b61101f6119f1565b73ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146110e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6110e961093b565b1561115c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f4572723a204d696e74696e672046696e6973686564000000000000000000000081525060200191505060405180910390fd5b611164610f55565b6111d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f4572723a204d696e74696e67206e6f7420616c6c6f776564000000000000000081525060200191505060405180910390fd5b436007819055506111f6600a60096006540261234690919063ffffffff16565b60068190555061122a600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600654611f71565b565b600c60009054906101000a900460ff1681565b60075481565b60006113086112526119f1565b84611303856040518060600160405280602581526020016125c5602591396001600061127c6119f1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611eb19092919063ffffffff16565b6119f9565b6001905092915050565b60085481565b600061132c6113256119f1565b8484611bf0565b6001905092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6113c56119f1565b73ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611487576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b7f4192efc584bb87e0e6d8a052e4acbd9bc95a6c1987458ff4fa12782f8f29d503600b5482604051808381526020018281526020019250505060405180910390a180600b8190555050565b6114da6119f1565b73ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461159c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611622576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806124a16026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6116ea6119f1565b73ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146117ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600c60009054906101000a900460ff161561182f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f737461727420626c6f636b20616c72656164792073657400000000000000000081525060200191505060405180910390fd5b806007819055506001600c60006101000a81548160ff02191690831515021790555050565b61185c6119f1565b73ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461191e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b7f5319c5a8662c777d9ff77ae451f0c2dfafafd8eb928417e69ee481fc6fd910a760085482604051808381526020018281526020019250505060405180910390a18060088190555050565b6000808284019050838110156119e7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611a7f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806125a16024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b05576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806124c76022913960400191505060405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611c76576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602581526020018061257c6025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cfc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602381526020018061245c6023913960400191505060405180910390fd5b611d07838383612390565b611d72816040518060600160405280602681526020016124e9602691396000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611eb19092919063ffffffff16565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611e05816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461196990919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b6000838311158290611f5e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611f23578082015181840152602081019050611f08565b50505050905090810190601f168015611f505780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b61202060008383612390565b6120358160025461196990919063ffffffff16565b60028190555061208c816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461196990919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121be576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061255b6021913960400191505060405180910390fd5b6121ca82600083612390565b6122358160405180606001604052806022815260200161247f602291396000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611eb19092919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061228c816002546122fc90919063ffffffff16565b600281905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b600061233e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611eb1565b905092915050565b600061238883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612395565b905092915050565b505050565b60008083118290612441576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156124065780820151818401526020810190506123eb565b50505050905090810190601f1680156124335780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161244d57fe5b04905080915050939250505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122039b7334ef626f3d35c66dfa01092ec0d79ebc582483a0ea1b8205e507de80e7364736f6c63430007060033000000000000000000000000d1f4ec7ff772bc382c2345cc4f57dc4bf13685a90000000000000000000000000000000000000000000000000000000000bf87a3
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101e55760003560e01c806379cc67901161010f578063a457c2d7116100a2578063efdc8e2a11610071578063efdc8e2a1461086d578063f2fde38b1461089b578063f35e4a6e146108df578063f49816611461090d576101e5565b8063a457c2d71461070f578063a83ef51514610773578063a9059cbb14610791578063dd62ed3e146107f5576101e5565b806395d89b41116100de57806395d89b41146106445780639a65ea26146106c75780639b207cfb146106d15780639cf5c3f5146106f1576101e5565b806379cc679014610584578063857ba7ad146105d25780638da5cb5b146105f057806395a4765214610624576101e5565b806339509351116101875780634626402b116101565780634626402b146104d057806363797b821461050457806370a0823114610522578063715018a61461057a576101e5565b806339509351146103d257806340c10f191461043657806342966c681461048457806342c71d2b146104b2576101e5565b806318160ddd116101c357806318160ddd146102f15780631dbbc71b1461030f57806323b872dd1461032d578063313ce567146103b1576101e5565b806305d2035b146101ea57806306fdde031461020a578063095ea7b31461028d575b600080fd5b6101f261093b565b60405180821515815260200191505060405180910390f35b610212610949565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610252578082015181840152602081019050610237565b50505050905090810190601f16801561027f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102d9600480360360408110156102a357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506109eb565b60405180821515815260200191505060405180910390f35b6102f9610a09565b6040518082815260200191505060405180910390f35b610317610a13565b6040518082815260200191505060405180910390f35b6103996004803603606081101561034357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610a19565b60405180821515815260200191505060405180910390f35b6103b9610af2565b604051808260ff16815260200191505060405180910390f35b61041e600480360360408110156103e857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610b09565b60405180821515815260200191505060405180910390f35b6104826004803603604081101561044c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610bbc565b005b6104b06004803603602081101561049a57600080fd5b8101908080359060200190929190505050610c94565b005b6104ba610ca8565b6040518082815260200191505060405180910390f35b6104d8610cc4565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61050c610cea565b6040518082815260200191505060405180910390f35b6105646004803603602081101561053857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610cf0565b6040518082815260200191505060405180910390f35b610582610d38565b005b6105d06004803603604081101561059a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610ec3565b005b6105da610f25565b6040518082815260200191505060405180910390f35b6105f8610f2b565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61062c610f55565b60405180821515815260200191505060405180910390f35b61064c610f75565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561068c578082015181840152602081019050610671565b50505050905090810190601f1680156106b95780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6106cf611017565b005b6106d961122c565b60405180821515815260200191505060405180910390f35b6106f961123f565b6040518082815260200191505060405180910390f35b61075b6004803603604081101561072557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611245565b60405180821515815260200191505060405180910390f35b61077b611312565b6040518082815260200191505060405180910390f35b6107dd600480360360408110156107a757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611318565b60405180821515815260200191505060405180910390f35b6108576004803603604081101561080b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611336565b6040518082815260200191505060405180910390f35b6108996004803603602081101561088357600080fd5b81019080803590602001909291905050506113bd565b005b6108dd600480360360208110156108b157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506114d2565b005b61090b600480360360208110156108f557600080fd5b81019080803590602001909291905050506116e2565b005b6109396004803603602081101561092357600080fd5b8101908080359060200190929190505050611854565b005b6000600b54600a5411905090565b606060038054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109e15780601f106109b6576101008083540402835291602001916109e1565b820191906000526020600020905b8154815290600101906020018083116109c457829003601f168201915b5050505050905090565b60006109ff6109f86119f1565b84846119f9565b6001905092915050565b6000600254905090565b600b5481565b6000610a26848484611bf0565b610ae784610a326119f1565b610ae28560405180606001604052806028815260200161250f60289139600160008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000610a986119f1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611eb19092919063ffffffff16565b6119f9565b600190509392505050565b6000600560009054906101000a900460ff16905090565b6000610bb2610b166119f1565b84610bad8560016000610b276119f1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461196990919063ffffffff16565b6119f9565b6001905092915050565b610bc46119f1565b73ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c86576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b610c908282611f71565b5050565b610ca5610c9f6119f1565b82612138565b50565b6000610cbf600754436122fc90919063ffffffff16565b905090565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a5481565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610d406119f1565b73ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610e02576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000610f028260405180606001604052806024815260200161253760249139610ef386610eee6119f1565b611336565b611eb19092919063ffffffff16565b9050610f1683610f106119f1565b836119f9565b610f208383612138565b505050565b60065481565b6000600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600854610f6f600754436122fc90919063ffffffff16565b11905090565b606060048054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561100d5780601f10610fe25761010080835404028352916020019161100d565b820191906000526020600020905b815481529060010190602001808311610ff057829003601f168201915b5050505050905090565b61101f6119f1565b73ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146110e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6110e961093b565b1561115c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f4572723a204d696e74696e672046696e6973686564000000000000000000000081525060200191505060405180910390fd5b611164610f55565b6111d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f4572723a204d696e74696e67206e6f7420616c6c6f776564000000000000000081525060200191505060405180910390fd5b436007819055506111f6600a60096006540261234690919063ffffffff16565b60068190555061122a600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600654611f71565b565b600c60009054906101000a900460ff1681565b60075481565b60006113086112526119f1565b84611303856040518060600160405280602581526020016125c5602591396001600061127c6119f1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611eb19092919063ffffffff16565b6119f9565b6001905092915050565b60085481565b600061132c6113256119f1565b8484611bf0565b6001905092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6113c56119f1565b73ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611487576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b7f4192efc584bb87e0e6d8a052e4acbd9bc95a6c1987458ff4fa12782f8f29d503600b5482604051808381526020018281526020019250505060405180910390a180600b8190555050565b6114da6119f1565b73ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461159c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611622576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806124a16026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600560016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6116ea6119f1565b73ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146117ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600c60009054906101000a900460ff161561182f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f737461727420626c6f636b20616c72656164792073657400000000000000000081525060200191505060405180910390fd5b806007819055506001600c60006101000a81548160ff02191690831515021790555050565b61185c6119f1565b73ffffffffffffffffffffffffffffffffffffffff16600560019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461191e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b7f5319c5a8662c777d9ff77ae451f0c2dfafafd8eb928417e69ee481fc6fd910a760085482604051808381526020018281526020019250505060405180910390a18060088190555050565b6000808284019050838110156119e7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611a7f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806125a16024913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b05576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806124c76022913960400191505060405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040518082815260200191505060405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611c76576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602581526020018061257c6025913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cfc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602381526020018061245c6023913960400191505060405180910390fd5b611d07838383612390565b611d72816040518060600160405280602681526020016124e9602691396000808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611eb19092919063ffffffff16565b6000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611e05816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461196990919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a3505050565b6000838311158290611f5e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611f23578082015181840152602081019050611f08565b50505050905090810190601f168015611f505780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f45524332303a206d696e7420746f20746865207a65726f20616464726573730081525060200191505060405180910390fd5b61202060008383612390565b6120358160025461196990919063ffffffff16565b60028190555061208c816000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461196990919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156121be576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061255b6021913960400191505060405180910390fd5b6121ca82600083612390565b6122358160405180606001604052806022815260200161247f602291396000808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611eb19092919063ffffffff16565b6000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061228c816002546122fc90919063ffffffff16565b600281905550600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040518082815260200191505060405180910390a35050565b600061233e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611eb1565b905092915050565b600061238883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612395565b905092915050565b505050565b60008083118290612441576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156124065780820151818401526020810190506123eb565b50505050905090810190601f1680156124335780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161244d57fe5b04905080915050939250505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e63654f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122039b7334ef626f3d35c66dfa01092ec0d79ebc582483a0ea1b8205e507de80e7364736f6c63430007060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000d1f4ec7ff772bc382c2345cc4f57dc4bf13685a90000000000000000000000000000000000000000000000000000000000bf87a3
-----Decoded View---------------
Arg [0] : _treasuryWallet (address): 0xd1f4EC7fF772BC382c2345Cc4F57dc4bF13685a9
Arg [1] : _lastMintBlock (uint256): 12552099
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000d1f4ec7ff772bc382c2345cc4f57dc4bf13685a9
Arg [1] : 0000000000000000000000000000000000000000000000000000000000bf87a3
Deployed Bytecode Sourcemap
30832:2072:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32802:99;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;11383:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13489:169;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;12458:100;;;:::i;:::-;;;;;;;;;;;;;;;;;;;31101:32;;;:::i;:::-;;;;;;;;;;;;;;;;;;;14140:321;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;12310:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;14870:218;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;32075:101;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;20727:91;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;32554:112;;;:::i;:::-;;;;;;;;;;;;;;;;;;;31038:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;31072:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;12621:119;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23188:148;;;:::i;:::-;;21137:295;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;30913:46;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22546:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;32672:124;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;11585:87;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31768:301;;;:::i;:::-;;31140:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;30964:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;15591:269;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;30997:36;;;:::i;:::-;;;;;;;;;;;;;;;;;;;12953:175;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;13191:151;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;32182:179;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;23491:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;31569:193;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;32367:179;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;32802:99;32849:4;32882:12;;32870:9;;:24;32862:33;;32802:99;:::o;11383:83::-;11420:13;11453:5;11446:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11383:83;:::o;13489:169::-;13572:4;13589:39;13598:12;:10;:12::i;:::-;13612:7;13621:6;13589:8;:39::i;:::-;13646:4;13639:11;;13489:169;;;;:::o;12458:100::-;12511:7;12538:12;;12531:19;;12458:100;:::o;31101:32::-;;;;:::o;14140:321::-;14246:4;14263:36;14273:6;14281:9;14292:6;14263:9;:36::i;:::-;14310:121;14319:6;14327:12;:10;:12::i;:::-;14341:89;14379:6;14341:89;;;;;;;;;;;;;;;;;:11;:19;14353:6;14341:19;;;;;;;;;;;;;;;:33;14361:12;:10;:12::i;:::-;14341:33;;;;;;;;;;;;;;;;:37;;:89;;;;;:::i;:::-;14310:8;:121::i;:::-;14449:4;14442:11;;14140:321;;;;;:::o;12310:83::-;12351:5;12376:9;;;;;;;;;;;12369:16;;12310:83;:::o;14870:218::-;14958:4;14975:83;14984:12;:10;:12::i;:::-;14998:7;15007:50;15046:10;15007:11;:25;15019:12;:10;:12::i;:::-;15007:25;;;;;;;;;;;;;;;:34;15033:7;15007:34;;;;;;;;;;;;;;;;:38;;:50;;;;:::i;:::-;14975:8;:83::i;:::-;15076:4;15069:11;;14870:218;;;;:::o;32075:101::-;22768:12;:10;:12::i;:::-;22758:22;;:6;;;;;;;;;;;:22;;;22750:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32151:19:::1;32157:4;32163:6;32151:5;:19::i;:::-;32075:101:::0;;:::o;20727:91::-;20783:27;20789:12;:10;:12::i;:::-;20803:6;20783:5;:27::i;:::-;20727:91;:::o;32554:112::-;32604:7;32628:31;32645:13;;32628:12;:16;;:31;;;;:::i;:::-;32620:40;;32554:112;:::o;31038:29::-;;;;;;;;;;;;;:::o;31072:24::-;;;;:::o;12621:119::-;12687:7;12714:9;:18;12724:7;12714:18;;;;;;;;;;;;;;;;12707:25;;12621:119;;;:::o;23188:148::-;22768:12;:10;:12::i;:::-;22758:22;;:6;;;;;;;;;;;:22;;;22750:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23295:1:::1;23258:40;;23279:6;;;;;;;;;;;23258:40;;;;;;;;;;;;23326:1;23309:6;;:19;;;;;;;;;;;;;;;;;;23188:148::o:0;21137:295::-;21214:26;21243:84;21280:6;21243:84;;;;;;;;;;;;;;;;;:32;21253:7;21262:12;:10;:12::i;:::-;21243:9;:32::i;:::-;:36;;:84;;;;;:::i;:::-;21214:113;;21340:51;21349:7;21358:12;:10;:12::i;:::-;21372:18;21340:8;:51::i;:::-;21402:22;21408:7;21417:6;21402:5;:22::i;:::-;21137:295;;;:::o;30913:46::-;;;;:::o;22546:79::-;22584:7;22611:6;;;;;;;;;;;22604:13;;22546:79;:::o;32672:124::-;32720:4;32777:12;;32742:31;32759:13;;32742:12;:16;;:31;;;;:::i;:::-;32741:48;32733:57;;32672:124;:::o;11585:87::-;11624:13;11657:7;11650:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11585:87;:::o;31768:301::-;22768:12;:10;:12::i;:::-;22758:22;;:6;;;;;;;;;;;:22;;;22750:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31827:17:::1;:15;:17::i;:::-;31826:18;31818:52;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;31885:18;:16;:18::i;:::-;31877:55;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;31955:12;31939:13;:28;;;;31991;32016:2;32009:1;31992:14;;:18;31991:24;;:28;;;;:::i;:::-;31974:14;:45;;;;32026:37;32032:14;;;;;;;;;;;32048;;32026:5;:37::i;:::-;31768:301::o:0;31140:25::-;;;;;;;;;;;;;:::o;30964:28::-;;;;:::o;15591:269::-;15684:4;15701:129;15710:12;:10;:12::i;:::-;15724:7;15733:96;15772:15;15733:96;;;;;;;;;;;;;;;;;:11;:25;15745:12;:10;:12::i;:::-;15733:25;;;;;;;;;;;;;;;:34;15759:7;15733:34;;;;;;;;;;;;;;;;:38;;:96;;;;;:::i;:::-;15701:8;:129::i;:::-;15848:4;15841:11;;15591:269;;;;:::o;30997:36::-;;;;:::o;12953:175::-;13039:4;13056:42;13066:12;:10;:12::i;:::-;13080:9;13091:6;13056:9;:42::i;:::-;13116:4;13109:11;;12953:175;;;;:::o;13191:151::-;13280:7;13307:11;:18;13319:5;13307:18;;;;;;;;;;;;;;;:27;13326:7;13307:27;;;;;;;;;;;;;;;;13300:34;;13191:151;;;;:::o;32182:179::-;22768:12;:10;:12::i;:::-;22758:22;;:6;;;;;;;;;;;:22;;;22750:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32272:48:::1;32292:12;;32306:13;32272:48;;;;;;;;;;;;;;;;;;;;;;;;32342:13;32327:12;:28;;;;32182:179:::0;:::o;23491:244::-;22768:12;:10;:12::i;:::-;22758:22;;:6;;;;;;;;;;;:22;;;22750:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23600:1:::1;23580:22;;:8;:22;;;;23572:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23690:8;23661:38;;23682:6;;;;;;;;;;;23661:38;;;;;;;;;;;;23719:8;23710:6;;:17;;;;;;;;;;;;;;;;;;23491:244:::0;:::o;31569:193::-;22768:12;:10;:12::i;:::-;22758:22;;:6;;;;;;;;;;;:22;;;22750:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31651:13:::1;;;;;;;;;;;31650:14;31642:50;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;31715:14;31699:13;:30;;;;31752:4;31736:13;;:20;;;;;;;;;;;;;;;;;;31569:193:::0;:::o;32367:179::-;22768:12;:10;:12::i;:::-;22758:22;;:6;;;;;;;;;;;:22;;;22750:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32457:48:::1;32477:12;;32491:13;32457:48;;;;;;;;;;;;;;;;;;;;;;;;32527:13;32512:12;:28;;;;32367:179:::0;:::o;929:181::-;987:7;1007:9;1023:1;1019;:5;1007:17;;1048:1;1043;:6;;1035:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1101:1;1094:8;;;929:181;;;;:::o;6032:106::-;6085:15;6120:10;6113:17;;6032:106;:::o;18738:346::-;18857:1;18840:19;;:5;:19;;;;18832:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18938:1;18919:21;;:7;:21;;;;18911:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19022:6;18992:11;:18;19004:5;18992:18;;;;;;;;;;;;;;;:27;19011:7;18992:27;;;;;;;;;;;;;;;:36;;;;19060:7;19044:32;;19053:5;19044:32;;;19069:6;19044:32;;;;;;;;;;;;;;;;;;18738:346;;;:::o;16350:539::-;16474:1;16456:20;;:6;:20;;;;16448:70;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16558:1;16537:23;;:9;:23;;;;16529:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16613:47;16634:6;16642:9;16653:6;16613:20;:47::i;:::-;16693:71;16715:6;16693:71;;;;;;;;;;;;;;;;;:9;:17;16703:6;16693:17;;;;;;;;;;;;;;;;:21;;:71;;;;;:::i;:::-;16673:9;:17;16683:6;16673:17;;;;;;;;;;;;;;;:91;;;;16798:32;16823:6;16798:9;:20;16808:9;16798:20;;;;;;;;;;;;;;;;:24;;:32;;;;:::i;:::-;16775:9;:20;16785:9;16775:20;;;;;;;;;;;;;;;:55;;;;16863:9;16846:35;;16855:6;16846:35;;;16874:6;16846:35;;;;;;;;;;;;;;;;;;16350:539;;;:::o;1832:192::-;1918:7;1951:1;1946;:6;;1954:12;1938:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1978:9;1994:1;1990;:5;1978:17;;2015:1;2008:8;;;1832:192;;;;;:::o;17171:378::-;17274:1;17255:21;;:7;:21;;;;17247:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17325:49;17354:1;17358:7;17367:6;17325:20;:49::i;:::-;17402:24;17419:6;17402:12;;:16;;:24;;;;:::i;:::-;17387:12;:39;;;;17458:30;17481:6;17458:9;:18;17468:7;17458:18;;;;;;;;;;;;;;;;:22;;:30;;;;:::i;:::-;17437:9;:18;17447:7;17437:18;;;;;;;;;;;;;;;:51;;;;17525:7;17504:37;;17521:1;17504:37;;;17534:6;17504:37;;;;;;;;;;;;;;;;;;17171:378;;:::o;17882:418::-;17985:1;17966:21;;:7;:21;;;;17958:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18038:49;18059:7;18076:1;18080:6;18038:20;:49::i;:::-;18121:68;18144:6;18121:68;;;;;;;;;;;;;;;;;:9;:18;18131:7;18121:18;;;;;;;;;;;;;;;;:22;;:68;;;;;:::i;:::-;18100:9;:18;18110:7;18100:18;;;;;;;;;;;;;;;:89;;;;18215:24;18232:6;18215:12;;:16;;:24;;;;:::i;:::-;18200:12;:39;;;;18281:1;18255:37;;18264:7;18255:37;;;18285:6;18255:37;;;;;;;;;;;;;;;;;;17882:418;;:::o;1393:136::-;1451:7;1478:43;1482:1;1485;1478:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;1471:50;;1393:136;;;;:::o;3230:132::-;3288:7;3315:39;3319:1;3322;3315:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;3308:46;;3230:132;;;;:::o;20109:92::-;;;;:::o;3858:278::-;3944:7;3976:1;3972;:5;3979:12;3964:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4003:9;4019:1;4015;:5;;;;;;4003:17;;4127:1;4120:8;;;3858:278;;;;;:::o
Swarm Source
ipfs://39b7334ef626f3d35c66dfa01092ec0d79ebc582483a0ea1b8205e507de80e73
Loading...
Loading
Loading...
Loading
OVERVIEW
BTC Proxy is an Institutional Bitcoin Bridge for DeFi built on Matic L2 enabling gasless minting, high speeds and PRXY token governance.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.