Loading
[ { "inputs": [ { "internalType": "string", "name": "name_", "type": "string" }, { "internalType": "string", "name": "symbol_", "type": "string" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "inputs": [], "name": "AccessControlBadConfirmation", "type": "error" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "bytes32", "name": "neededRole", "type": "bytes32" } ], "name": "AccessControlUnauthorizedAccount", "type": "error" }, { "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": "bytes32", "name": "role", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "previousAdminRole", "type": "bytes32" }, { "indexed": true, "internalType": "bytes32", "name": "newAdminRole", "type": "bytes32" } ], "name": "RoleAdminChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": true, "internalType": "address", "name": "sender", "type": "address" } ], "name": "RoleGranted", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "indexed": true, "internalType": "address", "name": "account", "type": "address" }, { "indexed": true, "internalType": "address", "name": "sender", "type": "address" } ], "name": "RoleRevoked", "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": [], "name": "ADMIN_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "BURNER_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "DEFAULT_ADMIN_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "MINTER_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" } ], "name": "allowance", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "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": "value", "type": "uint256" } ], "name": "burn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" } ], "name": "getRoleAdmin", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" } ], "name": "grantRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" } ], "name": "hasRole", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "mint", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "callerConfirmation", "type": "address" } ], "name": "renounceRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" }, { "internalType": "address", "name": "account", "type": "address" } ], "name": "revokeRole", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" } ], "name": "supportsInterface", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "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" } ]
60806040523480156200001157600080fd5b506040516200105e3803806200105e833981016040819052620000349162000240565b8181600362000044838262000339565b50600462000053828262000339565b506200006591506000905033620000c8565b50620000927f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633620000c8565b50620000bf7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84833620000c8565b50505062000405565b60008281526005602090815260408083206001600160a01b038516845290915281205460ff16620001715760008381526005602090815260408083206001600160a01b03861684529091529020805460ff19166001179055620001283390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a450600162000175565b5060005b92915050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620001a357600080fd5b81516001600160401b0380821115620001c057620001c06200017b565b604051601f8301601f19908116603f01168101908282118183101715620001eb57620001eb6200017b565b816040528381526020925086838588010111156200020857600080fd5b600091505b838210156200022c57858201830151818301840152908201906200020d565b600093810190920192909252949350505050565b600080604083850312156200025457600080fd5b82516001600160401b03808211156200026c57600080fd5b6200027a8683870162000191565b935060208501519150808211156200029157600080fd5b50620002a08582860162000191565b9150509250929050565b600181811c90821680620002bf57607f821691505b602082108103620002e057634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200033457600081815260208120601f850160051c810160208610156200030f5750805b601f850160051c820191505b8181101562000330578281556001016200031b565b5050505b505050565b81516001600160401b038111156200035557620003556200017b565b6200036d81620003668454620002aa565b84620002e6565b602080601f831160018114620003a557600084156200038c5750858301515b600019600386901b1c1916600185901b17855562000330565b600085815260208120601f198616915b82811015620003d657888601518255948401946001909101908401620003b5565b5085821015620003f55787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b610c4980620004156000396000f3fe608060405234801561001057600080fd5b50600436106101375760003560e01c806340c10f19116100b85780639dc29fac1161007c5780639dc29fac146102b0578063a217fddf146102c3578063a9059cbb146102cb578063d5391393146102de578063d547741f14610305578063dd62ed3e1461031857600080fd5b806340c10f191461023257806370a082311461024557806375b238fc1461026e57806391d148541461029557806395d89b41146102a857600080fd5b8063248a9ca3116100ff578063248a9ca3146101b1578063282c51f3146101d45780632f2ff15d146101fb578063313ce5671461021057806336568abe1461021f57600080fd5b806301ffc9a71461013c57806306fdde0314610164578063095ea7b31461017957806318160ddd1461018c57806323b872dd1461019e575b600080fd5b61014f61014a366004610a2d565b610351565b60405190151581526020015b60405180910390f35b61016c610388565b60405161015b9190610a5e565b61014f610187366004610ac8565b61041a565b6002545b60405190815260200161015b565b61014f6101ac366004610af2565b610432565b6101906101bf366004610b2e565b60009081526005602052604090206001015490565b6101907f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84881565b61020e610209366004610b47565b610456565b005b6040516012815260200161015b565b61020e61022d366004610b47565b610481565b61020e610240366004610ac8565b6104b9565b610190610253366004610b73565b6001600160a01b031660009081526020819052604090205490565b6101907fa49807205ce4d355092ef5a8a18f56e8913cf4a201fbe287825b095693c2177581565b61014f6102a3366004610b47565b6104ed565b61016c610518565b61020e6102be366004610ac8565b610527565b610190600081565b61014f6102d9366004610ac8565b61055b565b6101907f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b61020e610313366004610b47565b610569565b610190610326366004610b8e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60006001600160e01b03198216637965db0b60e01b148061038257506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606003805461039790610bb8565b80601f01602080910402602001604051908101604052809291908181526020018280546103c390610bb8565b80156104105780601f106103e557610100808354040283529160200191610410565b820191906000526020600020905b8154815290600101906020018083116103f357829003601f168201915b5050505050905090565b60003361042881858561058e565b5060019392505050565b60003361044085828561059b565b61044b858585610618565b506001949350505050565b60008281526005602052604090206001015461047181610677565b61047b8383610684565b50505050565b6001600160a01b03811633146104aa5760405163334bd91960e11b815260040160405180910390fd5b6104b48282610718565b505050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66104e381610677565b6104b48383610785565b60009182526005602090815260408084206001600160a01b0393909316845291905290205460ff1690565b60606004805461039790610bb8565b7f3c11d16cbaffd01df69ce1c404f6340ee057498f5f00246190ea54220576a84861055181610677565b6104b483836107bf565b600033610428818585610618565b60008281526005602052604090206001015461058481610677565b61047b8383610718565b6104b483838360016107f5565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461047b578181101561060957604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064015b60405180910390fd5b61047b848484840360006107f5565b6001600160a01b03831661064257604051634b637e8f60e11b815260006004820152602401610600565b6001600160a01b03821661066c5760405163ec442f0560e01b815260006004820152602401610600565b6104b48383836108ca565b61068181336109f4565b50565b600061069083836104ed565b6107105760008381526005602090815260408083206001600160a01b03861684529091529020805460ff191660011790556106c83390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001610382565b506000610382565b600061072483836104ed565b156107105760008381526005602090815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a4506001610382565b6001600160a01b0382166107af5760405163ec442f0560e01b815260006004820152602401610600565b6107bb600083836108ca565b5050565b6001600160a01b0382166107e957604051634b637e8f60e11b815260006004820152602401610600565b6107bb826000836108ca565b6001600160a01b03841661081f5760405163e602df0560e01b815260006004820152602401610600565b6001600160a01b03831661084957604051634a1406b160e11b815260006004820152602401610600565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561047b57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516108bc91815260200190565b60405180910390a350505050565b6001600160a01b0383166108f55780600260008282546108ea9190610bf2565b909155506109679050565b6001600160a01b038316600090815260208190526040902054818110156109485760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610600565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216610983576002805482900390556109a2565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516109e791815260200190565b60405180910390a3505050565b6109fe82826104ed565b6107bb5760405163e2517d3f60e01b81526001600160a01b038216600482015260248101839052604401610600565b600060208284031215610a3f57600080fd5b81356001600160e01b031981168114610a5757600080fd5b9392505050565b600060208083528351808285015260005b81811015610a8b57858101830151858201604001528201610a6f565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610ac357600080fd5b919050565b60008060408385031215610adb57600080fd5b610ae483610aac565b946020939093013593505050565b600080600060608486031215610b0757600080fd5b610b1084610aac565b9250610b1e60208501610aac565b9150604084013590509250925092565b600060208284031215610b4057600080fd5b5035919050565b60008060408385031215610b5a57600080fd5b82359150610b6a60208401610aac565b90509250929050565b600060208284031215610b8557600080fd5b610a5782610aac565b60008060408385031215610ba157600080fd5b610baa83610aac565b9150610b6a60208401610aac565b600181811c90821680610bcc57607f821691505b602082108103610bec57634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561038257634e487b7160e01b600052601160045260246000fdfea264697066735822122076fc70e9876fb75fbdefae5a7c341a343fdc1b709031562b3486a5a4838a583764736f6c634300081500330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000094d6f636b4552433230000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024d4b000000000000000000000000000000000000000000000000000000000000
0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000094d6f636b4552433230000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024d4b000000000000000000000000000000000000000000000000000000000000
----Decoded View------------Arg [0] : name_ (string): MockERC20Arg [1] : symbol_ (string): MK
----Encoded View------------Arg [0] : 0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000094d6f636b45524332300000000000000000000000000000000000000000000000Arg [1] : 0x000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000024d4b000000000000000000000000000000000000000000000000000000000000