ERC-20
Overview
Max Total Supply
287,968.279528 wPPC
Holders
141
Total Transfers
-
Market
Price
$0.49 @ 0.000131 ETH (-6.87%)
Onchain Market Cap
$140,954.43
Circulating Supply Market Cap
$14,347,516.00
Other Info
Token Contract (WITH 6 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
WrappedPeercoin
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "hardhat/console.sol"; import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; import '@openzeppelin/contracts/access/Ownable.sol'; import "@openzeppelin/contracts/security/Pausable.sol"; import "./Administrable.sol"; contract WrappedPeercoin is ERC20, Ownable, Pausable, Administrable { uint32 fee = 10000; mapping(string => bool) usedExternalAddresses; constructor() ERC20("WrappedPeercoin", "wPPC") {} event WPPCBurned ( address indexed from, address indexed to, uint256 tokens, string externalAddress ); modifier onlyEOA() { require(msg.sender == tx.origin, "wPPC: must use externally owned address."); _; } function decimals() public view virtual override returns (uint8) { return 6; } function claimTokens(uint256 _amount, string memory _externalAddress, address _receiver, address _signerA, bytes memory _signatureA, address _signerB, bytes memory _signatureB, address _signerC, bytes memory _signatureC) public onlyEOA { require(!usedExternalAddresses[_externalAddress], "wPPC: invalid nonce"); address witnessA = recoverSigner(prefixed(keccak256(abi.encodePacked(_receiver, _amount, _externalAddress, _signerA))), _signatureA); address witnessB = recoverSigner(prefixed(keccak256(abi.encodePacked(_receiver, _amount, _externalAddress, _signerB))), _signatureB); address witnessC = recoverSigner(prefixed(keccak256(abi.encodePacked(_receiver, _amount, _externalAddress, _signerC))), _signatureC); if (witnessA == witnessB || witnessB == witnessC) { revert("Same witness cannot sign twice"); } if (!admins[witnessA] || !admins[witnessB] || !admins[witnessC]) { revert('Could not validate one or more signatures'); } usedExternalAddresses[_externalAddress] = true; _mint(_receiver, (_amount-fee)); } function burnTokens(uint256 _amount, string memory _externalAddress) public onlyEOA { _burn(msg.sender, _amount); emit WPPCBurned(msg.sender, address(0), _amount, _externalAddress); } function pause() public onlyAdmin { _pause(); } function unpause() public onlyAdmin { _unpause(); } function prefixed(bytes32 hash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } function recoverSigner(bytes32 _ethSignedMessageHash, bytes memory _signature) internal pure returns (address) { (bytes32 r, bytes32 s, uint8 v) = splitSignature(_signature); return ecrecover(_ethSignedMessageHash, v, r, s); } function splitSignature(bytes memory sig) internal pure returns (bytes32 r, bytes32 s, uint8 v) { require(sig.length == 65, "invalid signature length"); assembly { r := mload(add(sig, 32)) s := mload(add(sig, 64)) v := byte(0, mload(add(sig, 96))) } return (r, s, v); } }
// SPDX-License-Identifier: MIT pragma solidity >= 0.4.22 <0.9.0; library console { address constant CONSOLE_ADDRESS = address(0x000000000000000000636F6e736F6c652e6c6f67); function _sendLogPayload(bytes memory payload) private view { uint256 payloadLength = payload.length; address consoleAddress = CONSOLE_ADDRESS; assembly { let payloadStart := add(payload, 32) let r := staticcall(gas(), consoleAddress, payloadStart, payloadLength, 0, 0) } } function log() internal view { _sendLogPayload(abi.encodeWithSignature("log()")); } function logInt(int p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(int)", p0)); } function logUint(uint p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint)", p0)); } function logString(string memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function logBool(bool p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function logAddress(address p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function logBytes(bytes memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes)", p0)); } function logBytes1(bytes1 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes1)", p0)); } function logBytes2(bytes2 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes2)", p0)); } function logBytes3(bytes3 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes3)", p0)); } function logBytes4(bytes4 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes4)", p0)); } function logBytes5(bytes5 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes5)", p0)); } function logBytes6(bytes6 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes6)", p0)); } function logBytes7(bytes7 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes7)", p0)); } function logBytes8(bytes8 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes8)", p0)); } function logBytes9(bytes9 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes9)", p0)); } function logBytes10(bytes10 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes10)", p0)); } function logBytes11(bytes11 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes11)", p0)); } function logBytes12(bytes12 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes12)", p0)); } function logBytes13(bytes13 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes13)", p0)); } function logBytes14(bytes14 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes14)", p0)); } function logBytes15(bytes15 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes15)", p0)); } function logBytes16(bytes16 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes16)", p0)); } function logBytes17(bytes17 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes17)", p0)); } function logBytes18(bytes18 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes18)", p0)); } function logBytes19(bytes19 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes19)", p0)); } function logBytes20(bytes20 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes20)", p0)); } function logBytes21(bytes21 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes21)", p0)); } function logBytes22(bytes22 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes22)", p0)); } function logBytes23(bytes23 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes23)", p0)); } function logBytes24(bytes24 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes24)", p0)); } function logBytes25(bytes25 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes25)", p0)); } function logBytes26(bytes26 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes26)", p0)); } function logBytes27(bytes27 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes27)", p0)); } function logBytes28(bytes28 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes28)", p0)); } function logBytes29(bytes29 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes29)", p0)); } function logBytes30(bytes30 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes30)", p0)); } function logBytes31(bytes31 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes31)", p0)); } function logBytes32(bytes32 p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bytes32)", p0)); } function log(uint p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint)", p0)); } function log(string memory p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(string)", p0)); } function log(bool p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool)", p0)); } function log(address p0) internal view { _sendLogPayload(abi.encodeWithSignature("log(address)", p0)); } function log(uint p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint)", p0, p1)); } function log(uint p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string)", p0, p1)); } function log(uint p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool)", p0, p1)); } function log(uint p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address)", p0, p1)); } function log(string memory p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint)", p0, p1)); } function log(string memory p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string)", p0, p1)); } function log(string memory p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool)", p0, p1)); } function log(string memory p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address)", p0, p1)); } function log(bool p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint)", p0, p1)); } function log(bool p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string)", p0, p1)); } function log(bool p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool)", p0, p1)); } function log(bool p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address)", p0, p1)); } function log(address p0, uint p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint)", p0, p1)); } function log(address p0, string memory p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string)", p0, p1)); } function log(address p0, bool p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool)", p0, p1)); } function log(address p0, address p1) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address)", p0, p1)); } function log(uint p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint)", p0, p1, p2)); } function log(uint p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string)", p0, p1, p2)); } function log(uint p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool)", p0, p1, p2)); } function log(uint p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address)", p0, p1, p2)); } function log(uint p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint)", p0, p1, p2)); } function log(uint p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string)", p0, p1, p2)); } function log(uint p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool)", p0, p1, p2)); } function log(uint p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address)", p0, p1, p2)); } function log(uint p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint)", p0, p1, p2)); } function log(uint p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string)", p0, p1, p2)); } function log(uint p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool)", p0, p1, p2)); } function log(uint p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address)", p0, p1, p2)); } function log(uint p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint)", p0, p1, p2)); } function log(uint p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string)", p0, p1, p2)); } function log(uint p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool)", p0, p1, p2)); } function log(uint p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address)", p0, p1, p2)); } function log(string memory p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint)", p0, p1, p2)); } function log(string memory p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string)", p0, p1, p2)); } function log(string memory p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool)", p0, p1, p2)); } function log(string memory p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address)", p0, p1, p2)); } function log(string memory p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint)", p0, p1, p2)); } function log(string memory p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string)", p0, p1, p2)); } function log(string memory p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool)", p0, p1, p2)); } function log(string memory p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address)", p0, p1, p2)); } function log(string memory p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint)", p0, p1, p2)); } function log(string memory p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string)", p0, p1, p2)); } function log(string memory p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool)", p0, p1, p2)); } function log(string memory p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address)", p0, p1, p2)); } function log(string memory p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint)", p0, p1, p2)); } function log(string memory p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string)", p0, p1, p2)); } function log(string memory p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool)", p0, p1, p2)); } function log(string memory p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address)", p0, p1, p2)); } function log(bool p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint)", p0, p1, p2)); } function log(bool p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string)", p0, p1, p2)); } function log(bool p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool)", p0, p1, p2)); } function log(bool p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address)", p0, p1, p2)); } function log(bool p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint)", p0, p1, p2)); } function log(bool p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string)", p0, p1, p2)); } function log(bool p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool)", p0, p1, p2)); } function log(bool p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address)", p0, p1, p2)); } function log(bool p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint)", p0, p1, p2)); } function log(bool p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string)", p0, p1, p2)); } function log(bool p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool)", p0, p1, p2)); } function log(bool p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address)", p0, p1, p2)); } function log(bool p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint)", p0, p1, p2)); } function log(bool p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string)", p0, p1, p2)); } function log(bool p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool)", p0, p1, p2)); } function log(bool p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address)", p0, p1, p2)); } function log(address p0, uint p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint)", p0, p1, p2)); } function log(address p0, uint p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string)", p0, p1, p2)); } function log(address p0, uint p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool)", p0, p1, p2)); } function log(address p0, uint p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address)", p0, p1, p2)); } function log(address p0, string memory p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint)", p0, p1, p2)); } function log(address p0, string memory p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string)", p0, p1, p2)); } function log(address p0, string memory p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool)", p0, p1, p2)); } function log(address p0, string memory p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address)", p0, p1, p2)); } function log(address p0, bool p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint)", p0, p1, p2)); } function log(address p0, bool p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string)", p0, p1, p2)); } function log(address p0, bool p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool)", p0, p1, p2)); } function log(address p0, bool p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address)", p0, p1, p2)); } function log(address p0, address p1, uint p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint)", p0, p1, p2)); } function log(address p0, address p1, string memory p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string)", p0, p1, p2)); } function log(address p0, address p1, bool p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool)", p0, p1, p2)); } function log(address p0, address p1, address p2) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address)", p0, p1, p2)); } function log(uint p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,uint,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,string,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,bool,address)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,uint)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,string)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,bool)", p0, p1, p2, p3)); } function log(uint p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,uint,address,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,uint,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,string,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,bool,address)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,uint)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,string)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,bool)", p0, p1, p2, p3)); } function log(uint p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,string,address,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,uint,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,string,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,bool,address)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,uint)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,string)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,bool)", p0, p1, p2, p3)); } function log(uint p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,bool,address,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,uint,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,string,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,bool,address)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,uint)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,string)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,bool)", p0, p1, p2, p3)); } function log(uint p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(uint,address,address,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,string,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,string)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,uint,address,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,string,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,string)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,string,address,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,string,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,string)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,bool,address,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,uint,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,string,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,bool,address)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,uint)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,string)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,bool)", p0, p1, p2, p3)); } function log(string memory p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(string,address,address,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,uint,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,string,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,bool,address)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,uint)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,string)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,bool)", p0, p1, p2, p3)); } function log(bool p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,uint,address,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,uint,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,string,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,bool,address)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,uint)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,string)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,bool)", p0, p1, p2, p3)); } function log(bool p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,string,address,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,uint,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,string,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,bool,address)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,uint)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,string)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,bool)", p0, p1, p2, p3)); } function log(bool p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,bool,address,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,uint,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,string,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,bool,address)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,uint)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,string)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,bool)", p0, p1, p2, p3)); } function log(bool p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(bool,address,address,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,uint,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,string,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,bool,address)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,uint)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,string)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,bool)", p0, p1, p2, p3)); } function log(address p0, uint p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,uint,address,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,uint,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,string,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,bool,address)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,uint)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,string)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,bool)", p0, p1, p2, p3)); } function log(address p0, string memory p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,string,address,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,uint,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,string,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,bool,address)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,uint)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,string)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,bool)", p0, p1, p2, p3)); } function log(address p0, bool p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,bool,address,address)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,string)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, uint p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,uint,address)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,string)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, string memory p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,string,address)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,string)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, bool p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,bool,address)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, uint p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,uint)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, string memory p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,string)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, bool p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,bool)", p0, p1, p2, p3)); } function log(address p0, address p1, address p2, address p3) internal view { _sendLogPayload(abi.encodeWithSignature("log(address,address,address,address)", p0, p1, p2, p3)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "../../utils/Context.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 ERC20 is Context, IERC20, IERC20Metadata { 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. */ constructor(string memory name_, string memory symbol_) { _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 {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "hardhat/console.sol"; import '@openzeppelin/contracts/access/Ownable.sol'; abstract contract Administrable is Ownable { uint8 adminCount = 0; mapping(address => bool) admins; mapping(address => PendingAdminVote) pendingAdminVotes; mapping(address => mapping(address => bool)) votedAddresses; struct PendingAdminVote { string voteType; address nominatedAddress; address[] votedAddresses; } event AdminVoteStarted ( string voteType, address nominatedAddress, address nominatingAddress ); event AdminVoteConcluded ( string voteType, address approvedAddress ); event AdminVoteCast ( string voteType, address nominatedAddress, address voteAddress ); modifier onlyAdmin() { require(admins[msg.sender], "wPPC: sender is not an admin"); _; } function castAdminVote(string memory _type, address _address) public { bool isAdding = isAddingVote(_type); if (pendingAdminVotes[_address].nominatedAddress != _address) { if (isAdding) { return nominateAddressForAdmin(_address); } else { return nominateAddressForRemoval(_address); } } castVote(_type, _address); if (calculatePercentage(pendingAdminVotes[_address].votedAddresses.length, adminCount, 3) <= 500) { return; } if (isAdding) { admins[_address] = true; adminCount += 1; } else { delete admins[_address]; adminCount -= 1; } emit AdminVoteConcluded(_type, _address); for(uint i = 0; i < pendingAdminVotes[_address].votedAddresses.length; i++) { delete votedAddresses[_address][pendingAdminVotes[_address].votedAddresses[i]]; } delete pendingAdminVotes[_address]; } function isAddingVote(string memory _type) internal pure returns (bool) { if (keccak256(abi.encodePacked(_type)) == keccak256(abi.encodePacked("add"))) { return true; } else if (keccak256(abi.encodePacked(_type)) == keccak256(abi.encodePacked("remove"))) { return false; } else { revert(string(abi.encodePacked(_type, " is not a valid vote type"))); } } function nominateAddressForAdmin(address _address) internal { require(senderIsOwner() || isAdmin(msg.sender), "wPPC: sender is neither owner nor admin"); require(!isAdmin(_address), "wPPC: address is already an admin"); require(pendingAdminVotes[_address].nominatedAddress == address(0x0), "wPPC: address nominated and pending vote"); if (senderIsOwner() && adminCount == 0) { admins[_address] = true; adminCount += 1; emit AdminVoteConcluded("add", _address); return; } require(!senderIsOwner(), "wPPC: Owner cannot add more admins!"); startAdminVote("add", _address); castAdminVote("add", _address); } function nominateAddressForRemoval(address _address) internal onlyAdmin { require(isAdmin(_address), "wPPC: address is not an admin"); require(pendingAdminVotes[_address].nominatedAddress == address(0x0), "wPPC: address nominated and pending vote"); startAdminVote("remove", _address); castAdminVote("remove", _address); } function startAdminVote(string memory _type, address _address) internal onlyAdmin { address[] memory emptyAddressList; pendingAdminVotes[_address] = PendingAdminVote( { voteType: _type, nominatedAddress: _address, votedAddresses: emptyAddressList } ); emit AdminVoteStarted(_type, _address, msg.sender); } function castVote(string memory _type, address _address) internal onlyAdmin { address senderAddress = msg.sender; require(pendingAdminVotes[_address].nominatedAddress == _address, "wPPC: address is not nominated"); require(!votedAddresses[_address][senderAddress], "wPPC: sender has already voted"); require(keccak256(abi.encodePacked(pendingAdminVotes[_address].voteType)) == keccak256(abi.encodePacked(_type)), "wPPC: wrong vote type"); pendingAdminVotes[_address].votedAddresses.push(senderAddress); votedAddresses[_address][senderAddress] = true; emit AdminVoteCast(_type, _address, senderAddress); } function calculatePercentage(uint numerator, uint denominator, uint precision) internal pure returns (uint quotient) { uint _numerator = (denominator == 1 ? 1 : numerator) * 10 ** (precision+1); uint _quotient = ((_numerator / denominator)) / 10; return ( _quotient); } function senderIsOwner() internal view returns (bool) { return owner() == msg.sender; } function isAdmin(address _address) internal view returns (bool) { return admins[_address]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `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 // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @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 // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"voteType","type":"string"},{"indexed":false,"internalType":"address","name":"nominatedAddress","type":"address"},{"indexed":false,"internalType":"address","name":"voteAddress","type":"address"}],"name":"AdminVoteCast","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"voteType","type":"string"},{"indexed":false,"internalType":"address","name":"approvedAddress","type":"address"}],"name":"AdminVoteConcluded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"voteType","type":"string"},{"indexed":false,"internalType":"address","name":"nominatedAddress","type":"address"},{"indexed":false,"internalType":"address","name":"nominatingAddress","type":"address"}],"name":"AdminVoteStarted","type":"event"},{"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":"account","type":"address"}],"name":"Paused","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":"account","type":"address"}],"name":"Unpaused","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":"tokens","type":"uint256"},{"indexed":false,"internalType":"string","name":"externalAddress","type":"string"}],"name":"WPPCBurned","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"},{"internalType":"string","name":"_externalAddress","type":"string"}],"name":"burnTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_type","type":"string"},{"internalType":"address","name":"_address","type":"address"}],"name":"castAdminVote","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"string","name":"_externalAddress","type":"string"},{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"address","name":"_signerA","type":"address"},{"internalType":"bytes","name":"_signatureA","type":"bytes"},{"internalType":"address","name":"_signerB","type":"address"},{"internalType":"bytes","name":"_signatureB","type":"bytes"},{"internalType":"address","name":"_signerC","type":"address"},{"internalType":"bytes","name":"_signatureC","type":"bytes"}],"name":"claimTokens","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":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526005805460ff60a81b191690556009805463ffffffff19166127101790553480156200002f57600080fd5b50604080518082018252600f81526e2bb930b83832b22832b2b931b7b4b760891b6020808301918252835180850190945260048452637750504360e01b90840152815191929162000083916003916200011f565b508051620000999060049060208401906200011f565b505050620000b6620000b0620000c960201b60201c565b620000cd565b6005805460ff60a01b1916905562000202565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200012d90620001c5565b90600052602060002090601f0160209004810192826200015157600085556200019c565b82601f106200016c57805160ff19168380011785556200019c565b828001600101855582156200019c579182015b828111156200019c5782518255916020019190600101906200017f565b50620001aa929150620001ae565b5090565b5b80821115620001aa5760008155600101620001af565b600281046001821680620001da57607f821691505b60208210811415620001fc57634e487b7160e01b600052602260045260246000fd5b50919050565b61285180620002126000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c8063715018a6116100ad578063a457c2d711610071578063a457c2d714610237578063a9059cbb1461024a578063b4eca8fa1461025d578063dd62ed3e14610270578063f2fde38b146102835761012c565b8063715018a6146101f75780638456cb59146101ff5780638da5cb5b146102075780638faa18561461021c57806395d89b411461022f5761012c565b806339509351116100f457806339509351146101ac5780633f4ba83a146101bf5780635c975abb146101c95780635de213f3146101d157806370a08231146101e45761012c565b806306fdde0314610131578063095ea7b31461014f57806318160ddd1461016f57806323b872dd14610184578063313ce56714610197575b600080fd5b610139610296565b6040516101469190611e09565b60405180910390f35b61016261015d366004611a61565b610328565b6040516101469190611de0565b610177610345565b604051610146919061255f565b610162610192366004611a26565b61034b565b61019f6103e6565b6040516101469190612589565b6101626101ba366004611a61565b6103eb565b6101c761043f565b005b610162610478565b6101c76101df366004611a8a565b610488565b6101776101f23660046119da565b610714565b6101c7610733565b6101c761077c565b61020f6107b3565b6040516101469190611dcc565b6101c761022a366004611acd565b6107c2565b61013961082e565b610162610245366004611a61565b61083d565b610162610258366004611a61565b6108b6565b6101c761026b366004611b12565b6108ca565b61017761027e3660046119f4565b610ae7565b6101c76102913660046119da565b610b12565b6060600380546102a590612799565b80601f01602080910402602001604051908101604052809291908181526020018280546102d190612799565b801561031e5780601f106102f35761010080835404028352916020019161031e565b820191906000526020600020905b81548152906001019060200180831161030157829003601f168201915b5050505050905090565b600061033c610335610b83565b8484610b87565b50600192915050565b60025490565b6000610358848484610c3b565b6001600160a01b038416600090815260016020526040812081610379610b83565b6001600160a01b03166001600160a01b03168152602001908152602001600020549050828110156103c55760405162461bcd60e51b81526004016103bc9061214b565b60405180910390fd5b6103d9856103d1610b83565b858403610b87565b60019150505b9392505050565b600690565b600061033c6103f8610b83565b848460016000610406610b83565b6001600160a01b03908116825260208083019390935260409182016000908120918b168152925290205461043a91906125a3565b610b87565b3360009081526006602052604090205460ff1661046e5760405162461bcd60e51b81526004016103bc90612528565b610476610d65565b565b600554600160a01b900460ff1690565b600061049383610dd6565b6001600160a01b038084166000818152600760205260409020600101549293509116146104d85780156104cf576104c982610ec3565b50610710565b6104c98261107f565b6104e2838361115e565b6001600160a01b0382166000908152600760205260409020600201546005546101f49161051a91600160a81b900460ff166003611330565b116105255750610710565b801561058a576001600160a01b0382166000908152600660205260409020805460ff191660019081179091556005805460159061056d908490600160a81b900460ff166125bb565b92506101000a81548160ff021916908360ff1602179055506105e3565b6001600160a01b0382166000908152600660205260409020805460ff1916905560058054600191906015906105ca908490600160a81b900460ff1661274a565b92506101000a81548160ff021916908360ff1602179055505b7fc377bab11b0127455dee18044769b964fb3a89d93290ba120e6b91ce9e67e3b78383604051610614929190611e1c565b60405180910390a160005b6001600160a01b0383166000908152600760205260409020600201548110156106c8576001600160a01b03831660009081526008602090815260408083206007909252822060020180549192918490811061068a57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020805460ff19169055806106c0816127d4565b91505061061f565b506001600160a01b0382166000908152600760205260408120906106ec82826117fa565b6001820180546001600160a01b031916905561070c600283016000611836565b5050505b5050565b6001600160a01b0381166000908152602081905260409020545b919050565b61073b610b83565b6001600160a01b031661074c6107b3565b6001600160a01b0316146107725760405162461bcd60e51b81526004016103bc90612193565b6104766000611388565b3360009081526006602052604090205460ff166107ab5760405162461bcd60e51b81526004016103bc90612528565b6104766113da565b6005546001600160a01b031690565b3332146107e15760405162461bcd60e51b81526004016103bc906121c8565b6107eb338361143b565b60405160009033907f935de72880f413b300ee847a0c53a5dda664c42a0a4adddd88cf2a556f39ae01906108229086908690612568565b60405180910390a35050565b6060600480546102a590612799565b6000806001600061084c610b83565b6001600160a01b03908116825260208083019390935260409182016000908120918816815292529020549050828110156108985760405162461bcd60e51b81526004016103bc906124ac565b6108ac6108a3610b83565b85858403610b87565b5060019392505050565b600061033c6108c3610b83565b8484610c3b565b3332146108e95760405162461bcd60e51b81526004016103bc906121c8565b600a886040516108f99190611c82565b9081526040519081900360200190205460ff16156109295760405162461bcd60e51b81526004016103bc906123cd565b6000610969610963898c8c8b6040516020016109489493929190611c33565b6040516020818303038152906040528051906020012061152d565b8761155d565b9050600061099061098a8a8d8d8a6040516020016109489493929190611c33565b8661155d565b905060006109b76109b18b8e8e896040516020016109489493929190611c33565b8561155d565b9050816001600160a01b0316836001600160a01b031614806109ea5750806001600160a01b0316826001600160a01b0316145b15610a075760405162461bcd60e51b81526004016103bc90612114565b6001600160a01b03831660009081526006602052604090205460ff161580610a4857506001600160a01b03821660009081526006602052604090205460ff16155b80610a6c57506001600160a01b03811660009081526006602052604090205460ff16155b15610a895760405162461bcd60e51b81526004016103bc90612308565b6001600a8c604051610a9b9190611c82565b908152604051908190036020019020805491151560ff19909216919091179055600954610ad9908b90610ad49063ffffffff168f612733565b6115cc565b505050505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610b1a610b83565b6001600160a01b0316610b2b6107b3565b6001600160a01b031614610b515760405162461bcd60e51b81526004016103bc90612193565b6001600160a01b038116610b775760405162461bcd60e51b81526004016103bc90611f2c565b610b8081611388565b50565b3390565b6001600160a01b038316610bad5760405162461bcd60e51b81526004016103bc906123fa565b6001600160a01b038216610bd35760405162461bcd60e51b81526004016103bc90611f72565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610c2e90859061255f565b60405180910390a3505050565b6001600160a01b038316610c615760405162461bcd60e51b81526004016103bc90612351565b6001600160a01b038216610c875760405162461bcd60e51b81526004016103bc90611e79565b610c92838383611528565b6001600160a01b03831660009081526020819052604090205481811015610ccb5760405162461bcd60e51b81526004016103bc90611fb4565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610d029084906125a3565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610d4c919061255f565b60405180910390a3610d5f848484611528565b50505050565b610d6d610478565b610d895760405162461bcd60e51b81526004016103bc90611ebc565b6005805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610dbf610b83565b604051610dcc9190611dcc565b60405180910390a1565b6000604051602001610de790611dab565b6040516020818303038152906040528051906020012082604051602001610e0e9190611c82565b604051602081830303815290604052805190602001201415610e325750600161072e565b604051602001610e4190611dba565b6040516020818303038152906040528051906020012082604051602001610e689190611c82565b604051602081830303815290604052805190602001201415610e8c5750600061072e565b81604051602001610e9d9190611c9e565b60408051601f198184030181529082905262461bcd60e51b82526103bc91600401611e09565b610ecb611694565b80610eda5750610eda336116ae565b610ef65760405162461bcd60e51b81526004016103bc9061223f565b610eff816116ae565b15610f1c5760405162461bcd60e51b81526004016103bc906122c7565b6001600160a01b038181166000908152600760205260409020600101541615610f575760405162461bcd60e51b81526004016103bc9061205f565b610f5f611694565b8015610f755750600554600160a81b900460ff16155b15611010576001600160a01b0381166000908152600660205260409020805460ff1916600190811790915560058054601590610fbc908490600160a81b900460ff166125bb565b92506101000a81548160ff021916908360ff1602179055507fc377bab11b0127455dee18044769b964fb3a89d93290ba120e6b91ce9e67e3b7816040516110039190611ffa565b60405180910390a1610b80565b611018611694565b156110355760405162461bcd60e51b81526004016103bc906120a7565b61105a6040518060400160405280600381526020016218591960ea1b815250826116cc565b610b806040518060400160405280600381526020016218591960ea1b81525082610488565b3360009081526006602052604090205460ff166110ae5760405162461bcd60e51b81526004016103bc90612528565b6110b7816116ae565b6110d35760405162461bcd60e51b81526004016103bc90612396565b6001600160a01b03818116600090815260076020526040902060010154161561110e5760405162461bcd60e51b81526004016103bc9061205f565b6111366040518060400160405280600681526020016572656d6f766560d01b815250826116cc565b610b806040518060400160405280600681526020016572656d6f766560d01b81525082610488565b3360009081526006602052604090205460ff1661118d5760405162461bcd60e51b81526004016103bc90612528565b6001600160a01b03808216600081815260076020526040902060010154339216146111ca5760405162461bcd60e51b81526004016103bc90612028565b6001600160a01b0380831660009081526008602090815260408083209385168352929052205460ff16156112105760405162461bcd60e51b81526004016103bc9061243e565b826040516020016112219190611c82565b60408051601f1981840301815282825280516020918201206001600160a01b03861660009081526007835292909220919261125d929101611cdf565b60405160208183030381529060405280519060200120146112905760405162461bcd60e51b81526004016103bc90612210565b6001600160a01b0382811660008181526007602090815260408083206002018054600180820183559185528385200180546001600160a01b031916968816968717905593835260088252808320948352939052829020805460ff19169091179055517f18edac87148c6ace5b50df5748bdac008c6a7824c2e4f2d397a27a92323ad6769061132390859085908590611e46565b60405180910390a1505050565b60008061133e8360016125a3565b61134990600a612646565b84600114611357578561135a565b60015b6113649190612714565b90506000600a61137486846125e0565b61137e91906125e0565b9695505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6113e2610478565b156113ff5760405162461bcd60e51b81526004016103bc906120ea565b6005805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610dbf610b83565b6001600160a01b0382166114615760405162461bcd60e51b81526004016103bc90612286565b61146d82600083611528565b6001600160a01b038216600090815260208190526040902054818110156114a65760405162461bcd60e51b81526004016103bc90611eea565b6001600160a01b03831660009081526020819052604081208383039055600280548492906114d5908490612733565b90915550506040516000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061151890869061255f565b60405180910390a3611528836000845b505050565b6000816040516020016115409190611d7a565b604051602081830303815290604052805190602001209050919050565b60008060008061156c856117b8565b925092509250600186828585604051600081526020016040526040516115959493929190611deb565b6020604051602081039080840390855afa1580156115b7573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b6001600160a01b0382166115f25760405162461bcd60e51b81526004016103bc906124f1565b6115fe60008383611528565b806002600082825461161091906125a3565b90915550506001600160a01b0382166000908152602081905260408120805483929061163d9084906125a3565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061168090859061255f565b60405180910390a361071060008383611528565b60003361169f6107b3565b6001600160a01b031614905090565b6001600160a01b031660009081526006602052604090205460ff1690565b3360009081526006602052604090205460ff166116fb5760405162461bcd60e51b81526004016103bc90612528565b60408051606081810183528482526001600160a01b038416602080840182905283850183905260009182526007815293902082518051929491926117429284920190611854565b506020828101516001830180546001600160a01b0319166001600160a01b039092169190911790556040830151805161178192600285019201906118d8565b509050507f07bcaa5b68499d125764cc5e7af7c40c0f1397bb056cf91e018653fcbed6600b83833360405161132393929190611e46565b600080600083516041146117de5760405162461bcd60e51b81526004016103bc90612475565b50505060208101516040820151606083015160001a9193909250565b50805461180690612799565b6000825580601f106118185750610b80565b601f016020900490600052602060002090810190610b80919061192d565b5080546000825590600052602060002090810190610b80919061192d565b82805461186090612799565b90600052602060002090601f01602090048101928261188257600085556118c8565b82601f1061189b57805160ff19168380011785556118c8565b828001600101855582156118c8579182015b828111156118c85782518255916020019190600101906118ad565b506118d492915061192d565b5090565b8280548282559060005260206000209081019282156118c8579160200282015b828111156118c857825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906118f8565b5b808211156118d4576000815560010161192e565b80356001600160a01b038116811461072e57600080fd5b600082601f830112611969578081fd5b813567ffffffffffffffff8082111561198457611984612805565b604051601f8301601f1916810160200182811182821017156119a8576119a8612805565b6040528281528483016020018610156119bf578384fd5b82602086016020830137918201602001929092529392505050565b6000602082840312156119eb578081fd5b6103df82611942565b60008060408385031215611a06578081fd5b611a0f83611942565b9150611a1d60208401611942565b90509250929050565b600080600060608486031215611a3a578081fd5b611a4384611942565b9250611a5160208501611942565b9150604084013590509250925092565b60008060408385031215611a73578182fd5b611a7c83611942565b946020939093013593505050565b60008060408385031215611a9c578182fd5b823567ffffffffffffffff811115611ab2578283fd5b611abe85828601611959565b925050611a1d60208401611942565b60008060408385031215611adf578182fd5b82359150602083013567ffffffffffffffff811115611afc578182fd5b611b0885828601611959565b9150509250929050565b60008060008060008060008060006101208a8c031215611b30578485fd5b8935985060208a013567ffffffffffffffff80821115611b4e578687fd5b611b5a8d838e01611959565b9950611b6860408d01611942565b9850611b7660608d01611942565b975060808c0135915080821115611b8b578687fd5b611b978d838e01611959565b9650611ba560a08d01611942565b955060c08c0135915080821115611bba578485fd5b611bc68d838e01611959565b9450611bd460e08d01611942565b93506101008c0135915080821115611bea578283fd5b50611bf78c828d01611959565b9150509295985092959850929598565b60008151808452611c1f81602086016020860161276d565b601f01601f19169290920160200192915050565b60006bffffffffffffffffffffffff19808760601b1683528560148401528451611c6481603486016020890161276d565b60609490941b16919092016034810191909152604801949350505050565b60008251611c9481846020870161276d565b9190910192915050565b60008251611cb081846020870161276d565b7f206973206e6f7420612076616c696420766f7465207479706500000000000000920191825250601901919050565b8154600090819060028104600180831680611cfb57607f831692505b6020808410821415611d1b57634e487b7160e01b87526022600452602487fd5b818015611d2f5760018114611d4057611d6c565b60ff19861689528489019650611d6c565b611d498a612597565b885b86811015611d645781548b820152908501908301611d4b565b505084890196505b509498975050505050505050565b7f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152601c810191909152603c0190565b6218591960ea1b815260030190565b6572656d6f766560d01b815260060190565b6001600160a01b0391909116815260200190565b901515815260200190565b93845260ff9290921660208401526040830152606082015260800190565b6000602082526103df6020830184611c07565b600060408252611e2f6040830185611c07565b905060018060a01b03831660208301529392505050565b600060608252611e596060830186611c07565b6001600160a01b0394851660208401529290931660409091015292915050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b60208082526022908201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604082015261636560f01b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b60408082526003908201526218591960ea1b60608201526001600160a01b0391909116602082015260800190565b6020808252601e908201527f775050433a2061646472657373206973206e6f74206e6f6d696e617465640000604082015260600190565b60208082526028908201527f775050433a2061646472657373206e6f6d696e6174656420616e642070656e64604082015267696e6720766f746560c01b606082015260800190565b60208082526023908201527f775050433a204f776e65722063616e6e6f7420616464206d6f72652061646d696040820152626e732160e81b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252601e908201527f53616d65207769746e6573732063616e6e6f74207369676e2074776963650000604082015260600190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526028908201527f775050433a206d757374207573652065787465726e616c6c79206f776e65642060408201526730b2323932b9b99760c11b606082015260800190565b602080825260159082015274775050433a2077726f6e6720766f7465207479706560581b604082015260600190565b60208082526027908201527f775050433a2073656e646572206973206e656974686572206f776e6572206e6f604082015266391030b236b4b760c91b606082015260800190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526021908201527f775050433a206164647265737320697320616c726561647920616e2061646d696040820152603760f91b606082015260800190565b60208082526029908201527f436f756c64206e6f742076616c6964617465206f6e65206f72206d6f7265207360408201526869676e61747572657360b81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252601d908201527f775050433a2061646472657373206973206e6f7420616e2061646d696e000000604082015260600190565b602080825260139082015272775050433a20696e76616c6964206e6f6e636560681b604082015260600190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b6020808252601e908201527f775050433a2073656e6465722068617320616c726561647920766f7465640000604082015260600190565b60208082526018908201527f696e76616c6964207369676e6174757265206c656e6774680000000000000000604082015260600190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b6020808252601c908201527f775050433a2073656e646572206973206e6f7420616e2061646d696e00000000604082015260600190565b90815260200190565b6000838252604060208301526125816040830184611c07565b949350505050565b60ff91909116815260200190565b60009081526020902090565b600082198211156125b6576125b66127ef565b500190565b600060ff821660ff84168060ff038211156125d8576125d86127ef565b019392505050565b6000826125fb57634e487b7160e01b81526012600452602481fd5b500490565b80825b6001808611612612575061263d565b818704821115612624576126246127ef565b8086161561263157918102915b9490941c938002612603565b94509492505050565b60006103df600019848460008261265f575060016103df565b8161266c575060006103df565b8160018114612682576002811461268c576126b9565b60019150506103df565b60ff84111561269d5761269d6127ef565b6001841b9150848211156126b3576126b36127ef565b506103df565b5060208310610133831016604e8410600b84101617156126ec575081810a838111156126e7576126e76127ef565b6103df565b6126f98484846001612600565b80860482111561270b5761270b6127ef565b02949350505050565b600081600019048311821515161561272e5761272e6127ef565b500290565b600082821015612745576127456127ef565b500390565b600060ff821660ff841680821015612764576127646127ef565b90039392505050565b60005b83811015612788578181015183820152602001612770565b83811115610d5f5750506000910152565b6002810460018216806127ad57607f821691505b602082108114156127ce57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156127e8576127e86127ef565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220b954d49e77a95d1d91e6e94dada6ee5ef7134c7c92a301df101f66987b64b65164736f6c63430008000033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061012c5760003560e01c8063715018a6116100ad578063a457c2d711610071578063a457c2d714610237578063a9059cbb1461024a578063b4eca8fa1461025d578063dd62ed3e14610270578063f2fde38b146102835761012c565b8063715018a6146101f75780638456cb59146101ff5780638da5cb5b146102075780638faa18561461021c57806395d89b411461022f5761012c565b806339509351116100f457806339509351146101ac5780633f4ba83a146101bf5780635c975abb146101c95780635de213f3146101d157806370a08231146101e45761012c565b806306fdde0314610131578063095ea7b31461014f57806318160ddd1461016f57806323b872dd14610184578063313ce56714610197575b600080fd5b610139610296565b6040516101469190611e09565b60405180910390f35b61016261015d366004611a61565b610328565b6040516101469190611de0565b610177610345565b604051610146919061255f565b610162610192366004611a26565b61034b565b61019f6103e6565b6040516101469190612589565b6101626101ba366004611a61565b6103eb565b6101c761043f565b005b610162610478565b6101c76101df366004611a8a565b610488565b6101776101f23660046119da565b610714565b6101c7610733565b6101c761077c565b61020f6107b3565b6040516101469190611dcc565b6101c761022a366004611acd565b6107c2565b61013961082e565b610162610245366004611a61565b61083d565b610162610258366004611a61565b6108b6565b6101c761026b366004611b12565b6108ca565b61017761027e3660046119f4565b610ae7565b6101c76102913660046119da565b610b12565b6060600380546102a590612799565b80601f01602080910402602001604051908101604052809291908181526020018280546102d190612799565b801561031e5780601f106102f35761010080835404028352916020019161031e565b820191906000526020600020905b81548152906001019060200180831161030157829003601f168201915b5050505050905090565b600061033c610335610b83565b8484610b87565b50600192915050565b60025490565b6000610358848484610c3b565b6001600160a01b038416600090815260016020526040812081610379610b83565b6001600160a01b03166001600160a01b03168152602001908152602001600020549050828110156103c55760405162461bcd60e51b81526004016103bc9061214b565b60405180910390fd5b6103d9856103d1610b83565b858403610b87565b60019150505b9392505050565b600690565b600061033c6103f8610b83565b848460016000610406610b83565b6001600160a01b03908116825260208083019390935260409182016000908120918b168152925290205461043a91906125a3565b610b87565b3360009081526006602052604090205460ff1661046e5760405162461bcd60e51b81526004016103bc90612528565b610476610d65565b565b600554600160a01b900460ff1690565b600061049383610dd6565b6001600160a01b038084166000818152600760205260409020600101549293509116146104d85780156104cf576104c982610ec3565b50610710565b6104c98261107f565b6104e2838361115e565b6001600160a01b0382166000908152600760205260409020600201546005546101f49161051a91600160a81b900460ff166003611330565b116105255750610710565b801561058a576001600160a01b0382166000908152600660205260409020805460ff191660019081179091556005805460159061056d908490600160a81b900460ff166125bb565b92506101000a81548160ff021916908360ff1602179055506105e3565b6001600160a01b0382166000908152600660205260409020805460ff1916905560058054600191906015906105ca908490600160a81b900460ff1661274a565b92506101000a81548160ff021916908360ff1602179055505b7fc377bab11b0127455dee18044769b964fb3a89d93290ba120e6b91ce9e67e3b78383604051610614929190611e1c565b60405180910390a160005b6001600160a01b0383166000908152600760205260409020600201548110156106c8576001600160a01b03831660009081526008602090815260408083206007909252822060020180549192918490811061068a57634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031683528201929092526040019020805460ff19169055806106c0816127d4565b91505061061f565b506001600160a01b0382166000908152600760205260408120906106ec82826117fa565b6001820180546001600160a01b031916905561070c600283016000611836565b5050505b5050565b6001600160a01b0381166000908152602081905260409020545b919050565b61073b610b83565b6001600160a01b031661074c6107b3565b6001600160a01b0316146107725760405162461bcd60e51b81526004016103bc90612193565b6104766000611388565b3360009081526006602052604090205460ff166107ab5760405162461bcd60e51b81526004016103bc90612528565b6104766113da565b6005546001600160a01b031690565b3332146107e15760405162461bcd60e51b81526004016103bc906121c8565b6107eb338361143b565b60405160009033907f935de72880f413b300ee847a0c53a5dda664c42a0a4adddd88cf2a556f39ae01906108229086908690612568565b60405180910390a35050565b6060600480546102a590612799565b6000806001600061084c610b83565b6001600160a01b03908116825260208083019390935260409182016000908120918816815292529020549050828110156108985760405162461bcd60e51b81526004016103bc906124ac565b6108ac6108a3610b83565b85858403610b87565b5060019392505050565b600061033c6108c3610b83565b8484610c3b565b3332146108e95760405162461bcd60e51b81526004016103bc906121c8565b600a886040516108f99190611c82565b9081526040519081900360200190205460ff16156109295760405162461bcd60e51b81526004016103bc906123cd565b6000610969610963898c8c8b6040516020016109489493929190611c33565b6040516020818303038152906040528051906020012061152d565b8761155d565b9050600061099061098a8a8d8d8a6040516020016109489493929190611c33565b8661155d565b905060006109b76109b18b8e8e896040516020016109489493929190611c33565b8561155d565b9050816001600160a01b0316836001600160a01b031614806109ea5750806001600160a01b0316826001600160a01b0316145b15610a075760405162461bcd60e51b81526004016103bc90612114565b6001600160a01b03831660009081526006602052604090205460ff161580610a4857506001600160a01b03821660009081526006602052604090205460ff16155b80610a6c57506001600160a01b03811660009081526006602052604090205460ff16155b15610a895760405162461bcd60e51b81526004016103bc90612308565b6001600a8c604051610a9b9190611c82565b908152604051908190036020019020805491151560ff19909216919091179055600954610ad9908b90610ad49063ffffffff168f612733565b6115cc565b505050505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610b1a610b83565b6001600160a01b0316610b2b6107b3565b6001600160a01b031614610b515760405162461bcd60e51b81526004016103bc90612193565b6001600160a01b038116610b775760405162461bcd60e51b81526004016103bc90611f2c565b610b8081611388565b50565b3390565b6001600160a01b038316610bad5760405162461bcd60e51b81526004016103bc906123fa565b6001600160a01b038216610bd35760405162461bcd60e51b81526004016103bc90611f72565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590610c2e90859061255f565b60405180910390a3505050565b6001600160a01b038316610c615760405162461bcd60e51b81526004016103bc90612351565b6001600160a01b038216610c875760405162461bcd60e51b81526004016103bc90611e79565b610c92838383611528565b6001600160a01b03831660009081526020819052604090205481811015610ccb5760405162461bcd60e51b81526004016103bc90611fb4565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610d029084906125a3565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610d4c919061255f565b60405180910390a3610d5f848484611528565b50505050565b610d6d610478565b610d895760405162461bcd60e51b81526004016103bc90611ebc565b6005805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa610dbf610b83565b604051610dcc9190611dcc565b60405180910390a1565b6000604051602001610de790611dab565b6040516020818303038152906040528051906020012082604051602001610e0e9190611c82565b604051602081830303815290604052805190602001201415610e325750600161072e565b604051602001610e4190611dba565b6040516020818303038152906040528051906020012082604051602001610e689190611c82565b604051602081830303815290604052805190602001201415610e8c5750600061072e565b81604051602001610e9d9190611c9e565b60408051601f198184030181529082905262461bcd60e51b82526103bc91600401611e09565b610ecb611694565b80610eda5750610eda336116ae565b610ef65760405162461bcd60e51b81526004016103bc9061223f565b610eff816116ae565b15610f1c5760405162461bcd60e51b81526004016103bc906122c7565b6001600160a01b038181166000908152600760205260409020600101541615610f575760405162461bcd60e51b81526004016103bc9061205f565b610f5f611694565b8015610f755750600554600160a81b900460ff16155b15611010576001600160a01b0381166000908152600660205260409020805460ff1916600190811790915560058054601590610fbc908490600160a81b900460ff166125bb565b92506101000a81548160ff021916908360ff1602179055507fc377bab11b0127455dee18044769b964fb3a89d93290ba120e6b91ce9e67e3b7816040516110039190611ffa565b60405180910390a1610b80565b611018611694565b156110355760405162461bcd60e51b81526004016103bc906120a7565b61105a6040518060400160405280600381526020016218591960ea1b815250826116cc565b610b806040518060400160405280600381526020016218591960ea1b81525082610488565b3360009081526006602052604090205460ff166110ae5760405162461bcd60e51b81526004016103bc90612528565b6110b7816116ae565b6110d35760405162461bcd60e51b81526004016103bc90612396565b6001600160a01b03818116600090815260076020526040902060010154161561110e5760405162461bcd60e51b81526004016103bc9061205f565b6111366040518060400160405280600681526020016572656d6f766560d01b815250826116cc565b610b806040518060400160405280600681526020016572656d6f766560d01b81525082610488565b3360009081526006602052604090205460ff1661118d5760405162461bcd60e51b81526004016103bc90612528565b6001600160a01b03808216600081815260076020526040902060010154339216146111ca5760405162461bcd60e51b81526004016103bc90612028565b6001600160a01b0380831660009081526008602090815260408083209385168352929052205460ff16156112105760405162461bcd60e51b81526004016103bc9061243e565b826040516020016112219190611c82565b60408051601f1981840301815282825280516020918201206001600160a01b03861660009081526007835292909220919261125d929101611cdf565b60405160208183030381529060405280519060200120146112905760405162461bcd60e51b81526004016103bc90612210565b6001600160a01b0382811660008181526007602090815260408083206002018054600180820183559185528385200180546001600160a01b031916968816968717905593835260088252808320948352939052829020805460ff19169091179055517f18edac87148c6ace5b50df5748bdac008c6a7824c2e4f2d397a27a92323ad6769061132390859085908590611e46565b60405180910390a1505050565b60008061133e8360016125a3565b61134990600a612646565b84600114611357578561135a565b60015b6113649190612714565b90506000600a61137486846125e0565b61137e91906125e0565b9695505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6113e2610478565b156113ff5760405162461bcd60e51b81526004016103bc906120ea565b6005805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610dbf610b83565b6001600160a01b0382166114615760405162461bcd60e51b81526004016103bc90612286565b61146d82600083611528565b6001600160a01b038216600090815260208190526040902054818110156114a65760405162461bcd60e51b81526004016103bc90611eea565b6001600160a01b03831660009081526020819052604081208383039055600280548492906114d5908490612733565b90915550506040516000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061151890869061255f565b60405180910390a3611528836000845b505050565b6000816040516020016115409190611d7a565b604051602081830303815290604052805190602001209050919050565b60008060008061156c856117b8565b925092509250600186828585604051600081526020016040526040516115959493929190611deb565b6020604051602081039080840390855afa1580156115b7573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b6001600160a01b0382166115f25760405162461bcd60e51b81526004016103bc906124f1565b6115fe60008383611528565b806002600082825461161091906125a3565b90915550506001600160a01b0382166000908152602081905260408120805483929061163d9084906125a3565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061168090859061255f565b60405180910390a361071060008383611528565b60003361169f6107b3565b6001600160a01b031614905090565b6001600160a01b031660009081526006602052604090205460ff1690565b3360009081526006602052604090205460ff166116fb5760405162461bcd60e51b81526004016103bc90612528565b60408051606081810183528482526001600160a01b038416602080840182905283850183905260009182526007815293902082518051929491926117429284920190611854565b506020828101516001830180546001600160a01b0319166001600160a01b039092169190911790556040830151805161178192600285019201906118d8565b509050507f07bcaa5b68499d125764cc5e7af7c40c0f1397bb056cf91e018653fcbed6600b83833360405161132393929190611e46565b600080600083516041146117de5760405162461bcd60e51b81526004016103bc90612475565b50505060208101516040820151606083015160001a9193909250565b50805461180690612799565b6000825580601f106118185750610b80565b601f016020900490600052602060002090810190610b80919061192d565b5080546000825590600052602060002090810190610b80919061192d565b82805461186090612799565b90600052602060002090601f01602090048101928261188257600085556118c8565b82601f1061189b57805160ff19168380011785556118c8565b828001600101855582156118c8579182015b828111156118c85782518255916020019190600101906118ad565b506118d492915061192d565b5090565b8280548282559060005260206000209081019282156118c8579160200282015b828111156118c857825182546001600160a01b0319166001600160a01b039091161782556020909201916001909101906118f8565b5b808211156118d4576000815560010161192e565b80356001600160a01b038116811461072e57600080fd5b600082601f830112611969578081fd5b813567ffffffffffffffff8082111561198457611984612805565b604051601f8301601f1916810160200182811182821017156119a8576119a8612805565b6040528281528483016020018610156119bf578384fd5b82602086016020830137918201602001929092529392505050565b6000602082840312156119eb578081fd5b6103df82611942565b60008060408385031215611a06578081fd5b611a0f83611942565b9150611a1d60208401611942565b90509250929050565b600080600060608486031215611a3a578081fd5b611a4384611942565b9250611a5160208501611942565b9150604084013590509250925092565b60008060408385031215611a73578182fd5b611a7c83611942565b946020939093013593505050565b60008060408385031215611a9c578182fd5b823567ffffffffffffffff811115611ab2578283fd5b611abe85828601611959565b925050611a1d60208401611942565b60008060408385031215611adf578182fd5b82359150602083013567ffffffffffffffff811115611afc578182fd5b611b0885828601611959565b9150509250929050565b60008060008060008060008060006101208a8c031215611b30578485fd5b8935985060208a013567ffffffffffffffff80821115611b4e578687fd5b611b5a8d838e01611959565b9950611b6860408d01611942565b9850611b7660608d01611942565b975060808c0135915080821115611b8b578687fd5b611b978d838e01611959565b9650611ba560a08d01611942565b955060c08c0135915080821115611bba578485fd5b611bc68d838e01611959565b9450611bd460e08d01611942565b93506101008c0135915080821115611bea578283fd5b50611bf78c828d01611959565b9150509295985092959850929598565b60008151808452611c1f81602086016020860161276d565b601f01601f19169290920160200192915050565b60006bffffffffffffffffffffffff19808760601b1683528560148401528451611c6481603486016020890161276d565b60609490941b16919092016034810191909152604801949350505050565b60008251611c9481846020870161276d565b9190910192915050565b60008251611cb081846020870161276d565b7f206973206e6f7420612076616c696420766f7465207479706500000000000000920191825250601901919050565b8154600090819060028104600180831680611cfb57607f831692505b6020808410821415611d1b57634e487b7160e01b87526022600452602487fd5b818015611d2f5760018114611d4057611d6c565b60ff19861689528489019650611d6c565b611d498a612597565b885b86811015611d645781548b820152908501908301611d4b565b505084890196505b509498975050505050505050565b7f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152601c810191909152603c0190565b6218591960ea1b815260030190565b6572656d6f766560d01b815260060190565b6001600160a01b0391909116815260200190565b901515815260200190565b93845260ff9290921660208401526040830152606082015260800190565b6000602082526103df6020830184611c07565b600060408252611e2f6040830185611c07565b905060018060a01b03831660208301529392505050565b600060608252611e596060830186611c07565b6001600160a01b0394851660208401529290931660409091015292915050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526014908201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604082015260600190565b60208082526022908201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604082015261636560f01b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b60408082526003908201526218591960ea1b60608201526001600160a01b0391909116602082015260800190565b6020808252601e908201527f775050433a2061646472657373206973206e6f74206e6f6d696e617465640000604082015260600190565b60208082526028908201527f775050433a2061646472657373206e6f6d696e6174656420616e642070656e64604082015267696e6720766f746560c01b606082015260800190565b60208082526023908201527f775050433a204f776e65722063616e6e6f7420616464206d6f72652061646d696040820152626e732160e81b606082015260800190565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252601e908201527f53616d65207769746e6573732063616e6e6f74207369676e2074776963650000604082015260600190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526028908201527f775050433a206d757374207573652065787465726e616c6c79206f776e65642060408201526730b2323932b9b99760c11b606082015260800190565b602080825260159082015274775050433a2077726f6e6720766f7465207479706560581b604082015260600190565b60208082526027908201527f775050433a2073656e646572206973206e656974686572206f776e6572206e6f604082015266391030b236b4b760c91b606082015260800190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526021908201527f775050433a206164647265737320697320616c726561647920616e2061646d696040820152603760f91b606082015260800190565b60208082526029908201527f436f756c64206e6f742076616c6964617465206f6e65206f72206d6f7265207360408201526869676e61747572657360b81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b6020808252601d908201527f775050433a2061646472657373206973206e6f7420616e2061646d696e000000604082015260600190565b602080825260139082015272775050433a20696e76616c6964206e6f6e636560681b604082015260600190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b6020808252601e908201527f775050433a2073656e6465722068617320616c726561647920766f7465640000604082015260600190565b60208082526018908201527f696e76616c6964207369676e6174757265206c656e6774680000000000000000604082015260600190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b6020808252601c908201527f775050433a2073656e646572206973206e6f7420616e2061646d696e00000000604082015260600190565b90815260200190565b6000838252604060208301526125816040830184611c07565b949350505050565b60ff91909116815260200190565b60009081526020902090565b600082198211156125b6576125b66127ef565b500190565b600060ff821660ff84168060ff038211156125d8576125d86127ef565b019392505050565b6000826125fb57634e487b7160e01b81526012600452602481fd5b500490565b80825b6001808611612612575061263d565b818704821115612624576126246127ef565b8086161561263157918102915b9490941c938002612603565b94509492505050565b60006103df600019848460008261265f575060016103df565b8161266c575060006103df565b8160018114612682576002811461268c576126b9565b60019150506103df565b60ff84111561269d5761269d6127ef565b6001841b9150848211156126b3576126b36127ef565b506103df565b5060208310610133831016604e8410600b84101617156126ec575081810a838111156126e7576126e76127ef565b6103df565b6126f98484846001612600565b80860482111561270b5761270b6127ef565b02949350505050565b600081600019048311821515161561272e5761272e6127ef565b500290565b600082821015612745576127456127ef565b500390565b600060ff821660ff841680821015612764576127646127ef565b90039392505050565b60005b83811015612788578181015183820152602001612770565b83811115610d5f5750506000910152565b6002810460018216806127ad57607f821691505b602082108114156127ce57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156127e8576127e86127ef565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fdfea2646970667358221220b954d49e77a95d1d91e6e94dada6ee5ef7134c7c92a301df101f66987b64b65164736f6c63430008000033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.