Overview ERC20
PRICE
n/a

ON-CHAIN MARKET CAP n/a

Total Supply:
125.74 WBTC

Holders:
13,112
Profile Summary
Blockchain:
Minato (1946)


Decimals:
8
Contract Source Code Verified (Partial Match)
Contract Name:
MintableERC20

Compiler Version
v0.8.27+commit.40a35a09

Optimization Enabled:
Yes with 10 runs

Created At:
Tue, 15 Oct 2024 06:04:18 GMT
draft-IERC6093.sol
@openzeppelin
contracts
interfaces
draft-IERC6093.sol


Contract ABI
[
  {
    "inputs": [
      {
        "internalType": "string",
        "name": "name",
        "type": "string"
      },
      {
        "internalType": "string",
        "name": "symbol",
        "type": "string"
      },
      {
        "internalType": "uint8",
        "name": "decimals",
        "type": "uint8"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "constructor"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "allowance",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "needed",
        "type": "uint256"
      }
    ],
    "name": "ERC20InsufficientAllowance",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "sender",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "balance",
        "type": "uint256"
      },
      {
        "internalType": "uint256",
        "name": "needed",
        "type": "uint256"
      }
    ],
    "name": "ERC20InsufficientBalance",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "approver",
        "type": "address"
      }
    ],
    "name": "ERC20InvalidApprover",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "receiver",
        "type": "address"
      }
    ],
    "name": "ERC20InvalidReceiver",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "sender",
        "type": "address"
      }
    ],
    "name": "ERC20InvalidSender",
    "type": "error"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      }
    ],
    "name": "ERC20InvalidSpender",
    "type": "error"
  },
  {
    "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": "from",
        "type": "address"
      },
      {
        "indexed": true,
        "internalType": "address",
        "name": "to",
        "type": "address"
      },
      {
        "indexed": false,
        "internalType": "uint256",
        "name": "value",
        "type": "uint256"
      }
    ],
    "name": "Transfer",
    "type": "event"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "owner",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      }
    ],
    "name": "allowance",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "spender",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "value",
        "type": "uint256"
      }
    ],
    "name": "approve",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "account",
        "type": "address"
      }
    ],
    "name": "balanceOf",
    "outputs": [
      {
        "internalType": "uint256",
        "name": "",
        "type": "uint256"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "_account",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "_amount",
        "type": "uint256"
      }
    ],
    "name": "burn",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "decimals",
    "outputs": [
      {
        "internalType": "uint8",
        "name": "",
        "type": "uint8"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "gov",
    "outputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "",
        "type": "address"
      }
    ],
    "name": "isMinter",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "_account",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "_amount",
        "type": "uint256"
      }
    ],
    "name": "mint",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [],
    "name": "name",
    "outputs": [
      {
        "internalType": "string",
        "name": "",
        "type": "string"
      }
    ],
    "stateMutability": "view",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "_gov",
        "type": "address"
      }
    ],
    "name": "setGov",
    "outputs": [],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "_minter",
        "type": "address"
      },
      {
        "internalType": "bool",
        "name": "_isActive",
        "type": "bool"
      }
    ],
    "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": "to",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "value",
        "type": "uint256"
      }
    ],
    "name": "transfer",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  },
  {
    "inputs": [
      {
        "internalType": "address",
        "name": "from",
        "type": "address"
      },
      {
        "internalType": "address",
        "name": "to",
        "type": "address"
      },
      {
        "internalType": "uint256",
        "name": "value",
        "type": "uint256"
      }
    ],
    "name": "transferFrom",
    "outputs": [
      {
        "internalType": "bool",
        "name": "",
        "type": "bool"
      }
    ],
    "stateMutability": "nonpayable",
    "type": "function"
  }
]


Contract Creation Code
608060405234801561001057600080fd5b50604051610d37380380610d3783398101604081905261002f9161014b565b600080546001600160a01b03191633179055828282828260046100528382610257565b50600561005f8282610257565b5050506100718161007c60201b60201c565b505050505050610315565b6006805460ff191660ff92909216919091179055565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126100b957600080fd5b81516001600160401b038111156100d2576100d2610092565b604051601f8201601f19908116603f011681016001600160401b038111828210171561010057610100610092565b60405281815283820160200185101561011857600080fd5b60005b828110156101375760208186018101518383018201520161011b565b506000918101602001919091529392505050565b60008060006060848603121561016057600080fd5b83516001600160401b0381111561017657600080fd5b610182868287016100a8565b602086015190945090506001600160401b038111156101a057600080fd5b6101ac868287016100a8565b925050604084015160ff811681146101c357600080fd5b809150509250925092565b600181811c908216806101e257607f821691505b60208210810361020257634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561025257806000526020600020601f840160051c8101602085101561022f5750805b601f840160051c820191505b8181101561024f576000815560010161023b565b50505b505050565b81516001600160401b0381111561027057610270610092565b6102848161027e84546101ce565b84610208565b6020601f8211600181146102b857600083156102a05750848201515b600019600385901b1c1916600184901b17845561024f565b600084815260208120601f198516915b828110156102e857878501518255602094850194600190920191016102c8565b50848210156103065786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b610a13806103246000396000f3fe608060405234801561001057600080fd5b50600436106100c55760003560e01c806306fdde03146100ca578063095ea7b3146100e857806312d43a511461010b57806318160ddd1461012b57806323b872dd1461013d578063313ce5671461015057806340c10f191461016557806370a082311461017857806395d89b41146101a15780639dc29fac146101a9578063a9059cbb146101bc578063aa271e1a146101cf578063cf456ae7146101f2578063cfad57a214610207578063dd62ed3e1461021a575b600080fd5b6100d261022d565b6040516100df919061078a565b60405180910390f35b6100fb6100f63660046107f4565b6102bf565b60405190151581526020016100df565b60005461011e906001600160a01b031681565b6040516100df919061081e565b6003545b6040519081526020016100df565b6100fb61014b366004610832565b6102d9565b60065460405160ff90911681526020016100df565b6100fb6101733660046107f4565b6102fd565b61012f61018636600461086f565b6001600160a01b031660009081526001602052604090205490565b6100d2610348565b6100fb6101b73660046107f4565b610357565b6100fb6101ca3660046107f4565b610390565b6100fb6101dd36600461086f565b60076020526000908152604090205460ff1681565b610205610200366004610891565b61039e565b005b61020561021536600461086f565b6103f3565b61012f6102283660046108cd565b61043f565b60606004805461023c90610900565b80601f016020809104026020016040519081016040528092919081815260200182805461026890610900565b80156102b55780601f1061028a576101008083540402835291602001916102b5565b820191906000526020600020905b81548152906001019060200180831161029857829003601f168201915b5050505050905090565b6000336102cd81858561046a565b60019150505b92915050565b6000336102e785828561047c565b6102f28585856104cf565b506001949350505050565b3360009081526007602052604081205460ff166103355760405162461bcd60e51b815260040161032c9061093a565b60405180910390fd5b61033f838361052e565b50600192915050565b60606005805461023c90610900565b3360009081526007602052604081205460ff166103865760405162461bcd60e51b815260040161032c9061093a565b61033f8383610568565b6000336102cd8185856104cf565b6000546001600160a01b031633146103c85760405162461bcd60e51b815260040161032c9061096c565b6001600160a01b03919091166000908152600760205260409020805460ff1916911515919091179055565b6000546001600160a01b0316331461041d5760405162461bcd60e51b815260040161032c9061096c565b600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b610477838383600161059e565b505050565b6000610488848461043f565b905060001981146104c957818110156104ba57828183604051637dc7a0d960e11b815260040161032c9392919061099b565b6104c98484848403600061059e565b50505050565b6001600160a01b0383166104f9576000604051634b637e8f60e11b815260040161032c919061081e565b6001600160a01b03821661052357600060405163ec442f0560e01b815260040161032c919061081e565b610477838383610673565b6001600160a01b03821661055857600060405163ec442f0560e01b815260040161032c919061081e565b61056460008383610673565b5050565b6001600160a01b038216610592576000604051634b637e8f60e11b815260040161032c919061081e565b61056482600083610673565b6001600160a01b0384166105c857600060405163e602df0560e01b815260040161032c919061081e565b6001600160a01b0383166105f2576000604051634a1406b160e11b815260040161032c919061081e565b6001600160a01b03808516600090815260026020908152604080832093871683529290522082905580156104c957826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161066591815260200190565b60405180910390a350505050565b6001600160a01b03831661069e57806003600082825461069391906109bc565b909155506106fd9050565b6001600160a01b038316600090815260016020526040902054818110156106de5783818360405163391434e360e21b815260040161032c9392919061099b565b6001600160a01b03841660009081526001602052604090209082900390555b6001600160a01b03821661071957600380548290039055610738565b6001600160a01b03821660009081526001602052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161077d91815260200190565b60405180910390a3505050565b602081526000825180602084015260005b818110156107b8576020818601810151604086840101520161079b565b506000604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b03811681146107ef57600080fd5b919050565b6000806040838503121561080757600080fd5b610810836107d8565b946020939093013593505050565b6001600160a01b0391909116815260200190565b60008060006060848603121561084757600080fd5b610850846107d8565b925061085e602085016107d8565b929592945050506040919091013590565b60006020828403121561088157600080fd5b61088a826107d8565b9392505050565b600080604083850312156108a457600080fd5b6108ad836107d8565b9150602083013580151581146108c257600080fd5b809150509250929050565b600080604083850312156108e057600080fd5b6108e9836107d8565b91506108f7602084016107d8565b90509250929050565b600181811c9082168061091457607f821691505b60208210810361093457634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526018908201527726b4b73a30b13632a2a92199181d103337b93134b23232b760411b604082015260600190565b60208082526015908201527423b7bb32b93730b136329d103337b93134b23232b760591b604082015260600190565b6001600160a01b039390931683526020830191909152604082015260600190565b808201808211156102d357634e487b7160e01b600052601160045260246000fdfea2646970667358221220af028c1e56e5f557d7da2017b6e41fff7600501d603b95c19e04614de94e5f3d64736f6c634300081b0033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000004574254430000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045742544300000000000000000000000000000000000000000000000000000000