[ { "inputs": [ { "internalType": "string", "name": "name", "type": "string" }, { "internalType": "string", "name": "symbol", "type": "string" }, { "internalType": "uint256", "name": "totalSupply", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "owner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "spender", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Approval", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" }, { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnershipTransferred", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "inputs": [], "name": "MODE_NORMAL", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "MODE_TRANSFER_CONTROLLED", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "MODE_TRANSFER_RESTRICTED", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "_mode", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "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": "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": [], "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": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "v", "type": "uint256" } ], "name": "setMode", "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": "amount", "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": "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" } ]
608060405234801562000010575f80fd5b50604051620010a6380380620010a683398101604081905262000033916200035c565b8282600362000043838262000455565b50600462000052828262000455565b5050506200006f620000696200009b60201b60201c565b6200009f565b6200008d620000866005546001600160a01b031690565b82620000f0565b505060016006555062000543565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382166200014c5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b620001595f8383620001c2565b8060025f8282546200016c91906200051d565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600160065403620002165760405162461bcd60e51b815260206004820152601d60248201527f546f6b656e3a205472616e736665722069732072657374726963746564000000604482015260640162000143565b60026006540362000299576005546001600160a01b03848116911614806200024b57506005546001600160a01b038381169116145b620002995760405162461bcd60e51b815260206004820152601760248201527f546f6b656e3a20496e76616c6964207472616e73666572000000000000000000604482015260640162000143565b505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112620002c2575f80fd5b81516001600160401b0380821115620002df57620002df6200029e565b604051601f8301601f19908116603f011681019082821181831017156200030a576200030a6200029e565b8160405283815260209250868385880101111562000326575f80fd5b5f91505b838210156200034957858201830151818301840152908201906200032a565b5f93810190920192909252949350505050565b5f805f606084860312156200036f575f80fd5b83516001600160401b038082111562000386575f80fd5b6200039487838801620002b2565b94506020860151915080821115620003aa575f80fd5b50620003b986828701620002b2565b925050604084015190509250925092565b600181811c90821680620003df57607f821691505b602082108103620003fe57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000299575f81815260208120601f850160051c810160208610156200042c5750805b601f850160051c820191505b818110156200044d5782815560010162000438565b505050505050565b81516001600160401b038111156200047157620004716200029e565b6200048981620004828454620003ca565b8462000404565b602080601f831160018114620004bf575f8415620004a75750858301515b5f19600386901b1c1916600185901b1785556200044d565b5f85815260208120601f198616915b82811015620004ef57888601518255948401946001909101908401620004ce565b50858210156200050d57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200053d57634e487b7160e01b5f52601160045260245ffd5b92915050565b610b5580620005515f395ff3fe608060405234801561000f575f80fd5b506004361061011c575f3560e01c806370a08231116100a9578063a9059cbb1161006e578063a9059cbb14610227578063c5c03af31461023a578063d72dd3b414610243578063dd62ed3e14610256578063f2fde38b14610269575f80fd5b806370a08231146101bf578063715018a6146101e75780638da5cb5b146101f157806395d89b411461020c578063a457c2d714610214575f80fd5b806323b872dd116100ef57806323b872dd1461017b578063313ce5671461018e57806332be63301461019d57806339509351146101a55780633af3d783146101b8575f80fd5b806306fdde0314610120578063095ea7b31461013e57806318160ddd146101615780631c8fc2c014610173575b5f80fd5b61012861027c565b6040516101359190610999565b60405180910390f35b61015161014c3660046109ff565b61030c565b6040519015158152602001610135565b6002545b604051908152602001610135565b610165600181565b610151610189366004610a27565b610325565b60405160128152602001610135565b610165600281565b6101516101b33660046109ff565b610348565b6101655f81565b6101656101cd366004610a60565b6001600160a01b03165f9081526020819052604090205490565b6101ef610369565b005b6005546040516001600160a01b039091168152602001610135565b61012861037c565b6101516102223660046109ff565b61038b565b6101516102353660046109ff565b61040a565b61016560065481565b6101ef610251366004610a80565b610417565b610165610264366004610a97565b610430565b6101ef610277366004610a60565b61045a565b60606003805461028b90610ac8565b80601f01602080910402602001604051908101604052809291908181526020018280546102b790610ac8565b80156103025780601f106102d957610100808354040283529160200191610302565b820191905f5260205f20905b8154815290600101906020018083116102e557829003601f168201915b5050505050905090565b5f336103198185856104d0565b60019150505b92915050565b5f336103328582856105f3565b61033d85858561066b565b506001949350505050565b5f3361031981858561035a8383610430565b6103649190610b00565b6104d0565b610371610818565b61037a5f610872565b565b60606004805461028b90610ac8565b5f33816103988286610430565b9050838110156103fd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61033d82868684036104d0565b5f3361031981858561066b565b61041f610818565b6006541561042d5760068190555b50565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b610462610818565b6001600160a01b0381166104c75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103f4565b61042d81610872565b6001600160a01b0383166105325760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103f4565b6001600160a01b0382166105935760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103f4565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f6105fe8484610430565b90505f19811461066557818110156106585760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103f4565b61066584848484036104d0565b50505050565b6001600160a01b0383166106cf5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103f4565b6001600160a01b0382166107315760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103f4565b61073c8383836108c3565b6001600160a01b0383165f90815260208190526040902054818110156107b35760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103f4565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610665565b6005546001600160a01b0316331461037a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016103f4565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600654036109155760405162461bcd60e51b815260206004820152601d60248201527f546f6b656e3a205472616e73666572206973207265737472696374656400000060448201526064016103f4565b600260065403610994576005546001600160a01b038481169116148061094857506005546001600160a01b038381169116145b6109945760405162461bcd60e51b815260206004820152601760248201527f546f6b656e3a20496e76616c6964207472616e7366657200000000000000000060448201526064016103f4565b505050565b5f6020808352835180828501525f5b818110156109c4578581018301518582016040015282016109a8565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146109fa575f80fd5b919050565b5f8060408385031215610a10575f80fd5b610a19836109e4565b946020939093013593505050565b5f805f60608486031215610a39575f80fd5b610a42846109e4565b9250610a50602085016109e4565b9150604084013590509250925092565b5f60208284031215610a70575f80fd5b610a79826109e4565b9392505050565b5f60208284031215610a90575f80fd5b5035919050565b5f8060408385031215610aa8575f80fd5b610ab1836109e4565b9150610abf602084016109e4565b90509250929050565b600181811c90821680610adc57607f821691505b602082108103610afa57634e487b7160e01b5f52602260045260245ffd5b50919050565b8082018082111561031f57634e487b7160e01b5f52601160045260245ffdfea264697066735822122096486cda9b29a07adaf85f5496ff06fe0bb03834fd89c768cc6762f351c7717064736f6c63430008140033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000052b7d2dcc80cd2e40000000000000000000000000000000000000000000000000000000000000000000007444f4743414b45000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007444f4743414b4500000000000000000000000000000000000000000000000000