Overview ERC20
PRICE
$0.031130 @ 0.00000316 AVAX (-14.75%)

ON-CHAIN MARKET CAP $33,905.93

Total Supply:
300,000,000.00 PTP

Holders:
28,199
Profile Summary
Blockchain:
C-Chain (43114)


Decimals:
18
Contract Source Code Verified (Partial Match)
Contract Name:
Ptp

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 1000 runs

Created At:
Sun, 12 Dec 2021 15:44:36 GMT
Ptp.sol
Ptp.sol
Ptp.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "account",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "minter_",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "mintingAllowedAfter_",
        "type": "uint256"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "constructor"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": true,
        "internalType": "address",
        "name": "owner",
        "type": "address"
      },
      {
        "indexed": true,
        "internalType": "address",
        "name": "spender",
        "type": "address"
      },
      {
        "indexed": false,
        "internalType": "uint256",
        "name": "amount",
        "type": "uint256"
      }
    ],
    "name": "Approval",
    "type": "event"
  },
  {
    "anonymous": false,
    "inputs": [
      {
        "indexed": false,
        "internalType": "address",
        "name": "minter",
        "type": "address"
      },
      {
        "indexed": false,
        "internalType": "address",
        "name": "newMinter",
        "type": "address"
      }
    ],
    "name": "MinterChanged",
    "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": "amount",
        "type": "uint256"
      }
    ],
    "name": "Transfer",
    "type": "event"
  },
  {
    "inputs": [],
    "name": "DOMAIN_TYPEHASH",
    "outputs": [
      {
        "internalType": "bytes32",
        "name": "",
        "type": "bytes32"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "PERMIT_TYPEHASH",
    "outputs": [
      {
        "internalType": "bytes32",
        "name": "",
        "type": "bytes32"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "account",
        "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": "rawAmount",
        "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": [],
    "name": "decimals",
    "outputs": [
      {
        "internalType": "uint8",
        "name": "",
        "type": "uint8"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "minimumTimeBetweenMints",
    "outputs": [
      {
        "internalType": "uint32",
        "name": "",
        "type": "uint32"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "dst",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "rawAmount",
        "type": "uint256"
      }
    ],
    "name": "mint",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "mintCap",
    "outputs": [
      {
        "internalType": "uint8",
        "name": "",
        "type": "uint8"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "minter",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "mintingAllowedAfter",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "name",
    "outputs": [
      {
        "internalType": "string",
        "name": "",
        "type": "string"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "name": "nonces",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "owner",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "rawAmount",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "deadline",
        "type": "uint256"
      },
      {
        "internalType": "uint8",
        "name": "v",
        "type": "uint8"
      },
      {
        "internalType": "bytes32",
        "name": "r",
        "type": "bytes32"
      },
      {
        "internalType": "bytes32",
        "name": "s",
        "type": "bytes32"
      }
    ],
    "name": "permit",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "minter_",
        "type": "address"
      }
    ],
    "name": "setMinter",
    "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": "dst",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "rawAmount",
        "type": "uint256"
      }
    ],
    "name": "transfer",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "src",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "dst",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "rawAmount",
        "type": "uint256"
      }
    ],
    "name": "transferFrom",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  }
]


Contract Creation Code
60c06040526af8277896582678ac0000006000557f8cad95687ba82c2ce50e74f7b754645e5117c3a5bec8151c0726d5857980a8666080527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c960a05234801561006757600080fd5b50604051620018a9380380620018a9833981016040819052610088916101f2565b428110156101025760405162461bcd60e51b815260206004820152603960248201527f5074703a3a636f6e7374727563746f723a206d696e74696e672063616e206f6e60448201527f6c7920626567696e206166746572206465706c6f796d656e7400000000000000606482015260840160405180910390fd5b600080546001600160a01b03851680835260046020908152604080852080546001600160601b0319166001600160601b0390951694909417909355835492519283529092917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3600180546001600160a01b0319166001600160a01b038416908117909155604080516000815260208101929092527f3b0007eb941cf645526cbb3a4fdaecda9d28ce4843167d9263b536a1f1edc0f6910160405180910390a16002555061022e9050565b80516001600160a01b03811681146101ed57600080fd5b919050565b60008060006060848603121561020757600080fd5b610210846101d6565b925061021e602085016101d6565b9150604084015190509250925092565b60805160a05161164762000262600039600081816102370152610aea0152600081816101fd0152610a6001526116476000f3fe608060405234801561001057600080fd5b50600436106101515760003560e01c806340c10f19116100cd57806395d89b4111610081578063d505accf11610066578063d505accf1461035a578063dd62ed3e1461036d578063fca3b5aa146103af57600080fd5b806395d89b411461030b578063a9059cbb1461034757600080fd5b806370a08231116100b257806370a08231146102b157806376c71ca1146102e35780637ecebe00146102eb57600080fd5b806340c10f191461027c5780635c11d62f1461029157600080fd5b806320606b701161012457806330adf81f1161010957806330adf81f1461023257806330b36cef14610259578063313ce5671461026257600080fd5b806320606b70146101f857806323b872dd1461021f57600080fd5b806306fdde03146101565780630754617214610193578063095ea7b3146101be57806318160ddd146101e1575b600080fd5b61017d60405180604001604052806008815260200167506c61747970757360c01b81525081565b60405161018a9190611225565b60405180910390f35b6001546101a6906001600160a01b031681565b6040516001600160a01b03909116815260200161018a565b6101d16101cc366004611296565b6103c2565b604051901515815260200161018a565b6101ea60005481565b60405190815260200161018a565b6101ea7f000000000000000000000000000000000000000000000000000000000000000081565b6101d161022d3660046112c0565b610486565b6101ea7f000000000000000000000000000000000000000000000000000000000000000081565b6101ea60025481565b61026a601281565b60405160ff909116815260200161018a565b61028f61028a366004611296565b6105d0565b005b61029c6301e1338081565b60405163ffffffff909116815260200161018a565b6101ea6102bf3660046112fc565b6001600160a01b03166000908152600460205260409020546001600160601b031690565b61026a600281565b6101ea6102f93660046112fc565b60056020526000908152604090205481565b61017d6040518060400160405280600381526020017f505450000000000000000000000000000000000000000000000000000000000081525081565b6101d1610355366004611296565b6108f2565b61028f610368366004611317565b61092e565b6101ea61037b36600461138a565b6001600160a01b0391821660009081526003602090815260408083209390941682529190915220546001600160601b031690565b61028f6103bd3660046112fc565b610e09565b6000806000198314156103dd57506001600160601b03610402565b6103ff8360405180606001604052806024815260200161149b60249139610f0a565b90505b3360008181526003602090815260408083206001600160a01b0389168085529083529281902080546bffffffffffffffffffffffff19166001600160601b03871690811790915590519081529192917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a35060019392505050565b6001600160a01b03831660009081526003602090815260408083203380855290835281842054825160608101909352602480845291936001600160601b039091169285926104de928892919061149b90830139610f0a565b9050866001600160a01b0316836001600160a01b03161415801561050b57506001600160601b0382811614155b156105b857600061053583836040518060600160405280603c81526020016114bf603c9139610f42565b6001600160a01b038981166000818152600360209081526040808320948a168084529482529182902080546bffffffffffffffffffffffff19166001600160601b0387169081179091559151918252939450919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505b6105c3878783610f8c565b5060019695505050505050565b6001546001600160a01b031633146106555760405162461bcd60e51b815260206004820152602360248201527f5074703a3a6d696e743a206f6e6c7920746865206d696e7465722063616e206d60448201527f696e74000000000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6002544210156106cd5760405162461bcd60e51b815260206004820152602260248201527f5074703a3a6d696e743a206d696e74696e67206e6f7420616c6c6f776564207960448201527f6574000000000000000000000000000000000000000000000000000000000000606482015260840161064c565b6001600160a01b0382166107495760405162461bcd60e51b815260206004820152602e60248201527f5074703a3a6d696e743a2063616e6e6f74207472616e7366657220746f20746860448201527f65207a65726f2061646472657373000000000000000000000000000000000000606482015260840161064c565b610757426301e133806111ad565b6002819055506000610781826040518060600160405280602181526020016114fb60219139610f0a565b905061079d610796600054600260ff166111c0565b60646111cc565b816001600160601b031611156107f55760405162461bcd60e51b815260206004820152601c60248201527f5074703a3a6d696e743a206578636565646564206d696e742063617000000000604482015260640161064c565b61082b61080d600054836001600160601b03166111ad565b60405180606001604052806026815260200161157460269139610f0a565b6001600160601b0390811660009081556001600160a01b03851681526004602090815260409182902054825160608101909352602480845261087d949190911692859290919061159a908301396111d8565b6001600160a01b038416600081815260046020908152604080832080546bffffffffffffffffffffffff19166001600160601b03968716179055519385168452919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91015b60405180910390a3505050565b600080610917836040518060600160405280602581526020016115ed60259139610f0a565b9050610924338583610f8c565b5060019392505050565b8260ff16601b148061094357508260ff16601c145b61098f5760405162461bcd60e51b815260206004820181905260248201527f5074703a3a7065726d69743a20696e76616c69642072616e676520666f722076604482015260640161064c565b7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a181106109fe5760405162461bcd60e51b815260206004820181905260248201527f5074703a3a7065726d69743a20696e76616c69642072616e676520666f722073604482015260640161064c565b6000600019861415610a1857506001600160601b03610a3d565b610a3a8660405180606001604052806023815260200161155160239139610f0a565b90505b6040805180820182526008815267506c61747970757360c01b60209182015281517f0000000000000000000000000000000000000000000000000000000000000000818301527f7cc29ce4e3ec76aaf5bd4759bd516ee6f57d7ce3f53fe538b34810bcdbd2a7b581840152466060820152306080808301919091528351808303909101815260a090910183528051908201206001600160a01b038b166000908152600590925291812080547f0000000000000000000000000000000000000000000000000000000000000000918c918c918c919086610b1b836113d3565b909155506040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810188905260e00160405160208183030381529060405280519060200120905060008282604051602001610bb59291907f190100000000000000000000000000000000000000000000000000000000000081526002810192909252602282015260420190565b60408051601f198184030181528282528051602091820120600080855291840180845281905260ff8b169284019290925260608301899052608083018890529092509060019060a0016020604051602081039080840390855afa158015610c20573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610c835760405162461bcd60e51b815260206004820152601e60248201527f5074703a3a7065726d69743a20696e76616c6964207369676e61747572650000604482015260640161064c565b8b6001600160a01b0316816001600160a01b031614610ce45760405162461bcd60e51b815260206004820152601960248201527f5074703a3a7065726d69743a20756e617574686f72697a656400000000000000604482015260640161064c565b88421115610d345760405162461bcd60e51b815260206004820152601e60248201527f5074703a3a7065726d69743a207369676e617475726520657870697265640000604482015260640161064c565b84600360008e6001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002060006101000a8154816001600160601b0302191690836001600160601b031602179055508a6001600160a01b03168c6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92587604051610df391906001600160601b0391909116815260200190565b60405180910390a3505050505050505050505050565b6001546001600160a01b03163314610e895760405162461bcd60e51b815260206004820152603d60248201527f5074703a3a7365744d696e7465723a206f6e6c7920746865206d696e7465722060448201527f63616e206368616e676520746865206d696e7465722061646472657373000000606482015260840161064c565b600154604080516001600160a01b03928316815291831660208301527f3b0007eb941cf645526cbb3a4fdaecda9d28ce4843167d9263b536a1f1edc0f6910160405180910390a1600180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6000816c010000000000000000000000008410610f3a5760405162461bcd60e51b815260040161064c9190611225565b509192915050565b6000836001600160601b0316836001600160601b031611158290610f795760405162461bcd60e51b815260040161064c9190611225565b50610f8483856113ee565b949350505050565b6001600160a01b0383166110085760405162461bcd60e51b815260206004820152603b60248201527f5074703a3a5f7472616e73666572546f6b656e733a2063616e6e6f742074726160448201527f6e736665722066726f6d20746865207a65726f20616464726573730000000000606482015260840161064c565b6001600160a01b0382166110845760405162461bcd60e51b815260206004820152603960248201527f5074703a3a5f7472616e73666572546f6b656e733a2063616e6e6f742074726160448201527f6e7366657220746f20746865207a65726f206164647265737300000000000000606482015260840161064c565b6001600160a01b0383166000908152600460209081526040918290205482516060810190935260358084526110cf936001600160601b03909216928592919061151c90830139610f42565b6001600160a01b03848116600090815260046020908152604080832080546bffffffffffffffffffffffff19166001600160601b0396871617905592861682529082902054825160608101909352602f80845261113c94919091169285929091906115be908301396111d8565b6001600160a01b0383811660008181526004602090815260409182902080546bffffffffffffffffffffffff19166001600160601b03968716179055905193851684529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016108e5565b60006111b98284611416565b9392505050565b60006111b9828461142e565b60006111b9828461144d565b6000806111e5848661146f565b9050846001600160601b0316816001600160601b03161015839061121c5760405162461bcd60e51b815260040161064c9190611225565b50949350505050565b600060208083528351808285015260005b8181101561125257858101830151858201604001528201611236565b81811115611264576000604083870101525b50601f01601f1916929092016040019392505050565b80356001600160a01b038116811461129157600080fd5b919050565b600080604083850312156112a957600080fd5b6112b28361127a565b946020939093013593505050565b6000806000606084860312156112d557600080fd5b6112de8461127a565b92506112ec6020850161127a565b9150604084013590509250925092565b60006020828403121561130e57600080fd5b6111b98261127a565b600080600080600080600060e0888a03121561133257600080fd5b61133b8861127a565b96506113496020890161127a565b95506040880135945060608801359350608088013560ff8116811461136d57600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561139d57600080fd5b6113a68361127a565b91506113b46020840161127a565b90509250929050565b634e487b7160e01b600052601160045260246000fd5b60006000198214156113e7576113e76113bd565b5060010190565b60006001600160601b038381169083168181101561140e5761140e6113bd565b039392505050565b60008219821115611429576114296113bd565b500190565b6000816000190483118215151615611448576114486113bd565b500290565b60008261146a57634e487b7160e01b600052601260045260246000fd5b500490565b60006001600160601b03808316818516808303821115611491576114916113bd565b0194935050505056fe5074703a3a617070726f76653a20616d6f756e74206578636565647320393620626974735074703a3a7472616e7366657246726f6d3a207472616e7366657220616d6f756e742065786365656473207370656e64657220616c6c6f77616e63655074703a3a6d696e743a20616d6f756e74206578636565647320393620626974735074703a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e7420657863656564732062616c616e63655074703a3a7065726d69743a20616d6f756e74206578636565647320393620626974735074703a3a6d696e743a20746f74616c537570706c79206578636565647320393620626974735074703a3a6d696e743a207472616e7366657220616d6f756e74206f766572666c6f77735074703a3a5f7472616e73666572546f6b656e733a207472616e7366657220616d6f756e74206f766572666c6f77735074703a3a7472616e736665723a20616d6f756e7420657863656564732039362062697473a264697066735822122089cc78e8f89503ba4205cb70c5a3b863ed46c10a83ba7884bc65b4ae203f11b364736f6c63430008090033000000000000000000000000cfd216bc3d347c4d173267ae4456f7a1a23f0c1b000000000000000000000000c4cf4996ee374591d60fa80bcdfbf2f25cde7cbe0000000000000000000000000000000000000000000000000000000065787fdb