[ { "inputs": [ { "internalType": "address", "name": "_tokenSwap", "type": "address" } ], "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": "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": "DEFAULT_ADMIN_ROLE", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "INITIAL_SUPPLY", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "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": "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" } ], "name": "burn", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "burnFrom", "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": "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": "uint256", "name": "index", "type": "uint256" } ], "name": "getRoleMember", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "bytes32", "name": "role", "type": "bytes32" } ], "name": "getRoleMemberCount", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "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": "spender", "type": "address" }, { "internalType": "uint256", "name": "addedValue", "type": "uint256" } ], "name": "increaseAllowance", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "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": "account", "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": [], "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" } ]
60806040523480156200001157600080fd5b50604051620019f9380380620019f9833981810160405260208110156200003757600080fd5b5051604080518082018252600a8152692637b7b6902a37b5b2b760b11b602082810191825283518085019094526004808552634c4f4f4d60e01b918501919091528251929392620000899290620003d8565b5080516200009f906005906020840190620003d8565b50506006805460ff19166012179055506001600160a01b03811615801590620000e25750620000e2816001600160a01b03166200014b60201b62000ac81760201c565b6200011f5760405162461bcd60e51b8152600401808060200182810382526023815260200180620019d66023913960400191505060405180910390fd5b6200012c60003362000151565b62000144816b033b2e3c9fd0803ce800000062000161565b5062000484565b3b151590565b6200015d828262000274565b5050565b6001600160a01b038216620001bd576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b620001cb60008383620002ed565b620001e781600354620002f260201b62000ace1790919060201c565b6003556001600160a01b0382166000908152600160209081526040909120546200021c91839062000ace620002f2821b17901c565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000828152602081815260409091206200029991839062000b2862000356821b17901c565b156200015d57620002a96200036d565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b505050565b6000828201838110156200034d576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b60006200034d836001600160a01b03841662000371565b3390565b60006200037f8383620003c0565b620003b75750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000350565b50600062000350565b60009081526001919091016020526040902054151590565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826200041057600085556200045b565b82601f106200042b57805160ff19168380011785556200045b565b828001600101855582156200045b579182015b828111156200045b5782518255916020019190600101906200043e565b50620004699291506200046d565b5090565b5b808211156200046957600081556001016200046e565b61154280620004946000396000f3fe608060405234801561001057600080fd5b50600436106101985760003560e01c806370a08231116100e3578063a457c2d71161008c578063d539139311610066578063d5391393146104fe578063d547741f14610506578063dd62ed3e1461053257610198565b8063a457c2d714610489578063a9059cbb146104b5578063ca15c873146104e157610198565b806391d14854116100bd57806391d148541461044d57806395d89b4114610479578063a217fddf1461048157610198565b806370a08231146103bc57806379cc6790146103e25780639010d07c1461040e57610198565b80632ff2e9dc11610145578063395093511161011f578063395093511461034757806340c10f191461037357806342966c681461039f57610198565b80632ff2e9dc146102f5578063313ce567146102fd57806336568abe1461031b57610198565b806323b872dd1161017657806323b872dd14610274578063248a9ca3146102aa5780632f2ff15d146102c757610198565b806306fdde031461019d578063095ea7b31461021a57806318160ddd1461025a575b600080fd5b6101a5610560565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101df5781810151838201526020016101c7565b50505050905090810190601f16801561020c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102466004803603604081101561023057600080fd5b506001600160a01b0381351690602001356105f6565b604080519115158252519081900360200190f35b610262610614565b60408051918252519081900360200190f35b6102466004803603606081101561028a57600080fd5b506001600160a01b0381358116916020810135909116906040013561061a565b610262600480360360208110156102c057600080fd5b50356106a1565b6102f3600480360360408110156102dd57600080fd5b50803590602001356001600160a01b03166106b6565b005b610262610722565b61030561072a565b6040805160ff9092168252519081900360200190f35b6102f36004803603604081101561033157600080fd5b50803590602001356001600160a01b0316610733565b6102466004803603604081101561035d57600080fd5b506001600160a01b038135169060200135610794565b6102f36004803603604081101561038957600080fd5b506001600160a01b0381351690602001356107e2565b6102f3600480360360208110156103b557600080fd5b5035610867565b610262600480360360208110156103d257600080fd5b50356001600160a01b031661087b565b6102f3600480360360408110156103f857600080fd5b506001600160a01b038135169060200135610896565b6104316004803603604081101561042457600080fd5b50803590602001356108f0565b604080516001600160a01b039092168252519081900360200190f35b6102466004803603604081101561046357600080fd5b50803590602001356001600160a01b031661090f565b6101a5610927565b610262610988565b6102466004803603604081101561049f57600080fd5b506001600160a01b03813516906020013561098d565b610246600480360360408110156104cb57600080fd5b506001600160a01b0381351690602001356109f5565b610262600480360360208110156104f757600080fd5b5035610a09565b610262610a20565b6102f36004803603604081101561051c57600080fd5b50803590602001356001600160a01b0316610a44565b6102626004803603604081101561054857600080fd5b506001600160a01b0381358116916020013516610a9d565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105ec5780601f106105c1576101008083540402835291602001916105ec565b820191906000526020600020905b8154815290600101906020018083116105cf57829003601f168201915b5050505050905090565b600061060a610603610b3d565b8484610b41565b5060015b92915050565b60035490565b6000610627848484610c2d565b61069784610633610b3d565b61069285604051806060016040528060288152602001611403602891396001600160a01b038a16600090815260026020526040812090610671610b3d565b6001600160a01b031681526020810191909152604001600020549190610d8a565b610b41565b5060019392505050565b60009081526020819052604090206002015490565b6000828152602081905260409020600201546106d9906106d4610b3d565b61090f565b6107145760405162461bcd60e51b815260040180806020018281038252602f81526020018061133a602f913960400191505060405180910390fd5b61071e8282610e21565b5050565b633b9aca0081565b60065460ff1690565b61073b610b3d565b6001600160a01b0316816001600160a01b03161461078a5760405162461bcd60e51b815260040180806020018281038252602f8152602001806114de602f913960400191505060405180910390fd5b61071e8282610e8a565b600061060a6107a1610b3d565b8461069285600260006107b2610b3d565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610ace565b61080c7ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc93361090f565b61085d576040805162461bcd60e51b815260206004820152601960248201527f4c6f6f6d546f6b656e3a206e6f7420617574686f72697a656400000000000000604482015290519081900360640190fd5b61071e8282610ef3565b610878610872610b3d565b82610fe5565b50565b6001600160a01b031660009081526001602052604090205490565b60006108cd8260405180606001604052806024815260200161142b602491396108c6866108c1610b3d565b610a9d565b9190610d8a565b90506108e1836108db610b3d565b83610b41565b6108eb8383610fe5565b505050565b600082815260208190526040812061090890836110e1565b9392505050565b600082815260208190526040812061090890836110ed565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105ec5780601f106105c1576101008083540402835291602001916105ec565b600081565b600061060a61099a610b3d565b84610692856040518060600160405280602581526020016114b960259139600260006109c4610b3d565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610d8a565b600061060a610a02610b3d565b8484610c2d565b600081815260208190526040812061060e90611102565b7ff0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc981565b600082815260208190526040902060020154610a62906106d4610b3d565b61078a5760405162461bcd60e51b81526004018080602001828103825260308152602001806113d36030913960400191505060405180910390fd5b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b3b151590565b600082820183811015610908576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6000610908836001600160a01b03841661110d565b3390565b6001600160a01b038316610b865760405162461bcd60e51b81526004018080602001828103825260248152602001806114956024913960400191505060405180910390fd5b6001600160a01b038216610bcb5760405162461bcd60e51b815260040180806020018281038252602281526020018061138b6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610c725760405162461bcd60e51b81526004018080602001828103825260258152602001806114706025913960400191505060405180910390fd5b6001600160a01b038216610cb75760405162461bcd60e51b81526004018080602001828103825260238152602001806113176023913960400191505060405180910390fd5b610cc28383836108eb565b610cff816040518060600160405280602681526020016113ad602691396001600160a01b0386166000908152600160205260409020549190610d8a565b6001600160a01b038085166000908152600160205260408082209390935590841681522054610d2e9082610ace565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610e195760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610dde578181015183820152602001610dc6565b50505050905090810190601f168015610e0b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6000828152602081905260409020610e399082610b28565b1561071e57610e46610b3d565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152602081905260409020610ea29082611157565b1561071e57610eaf610b3d565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6001600160a01b038216610f4e576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610f5a600083836108eb565b600354610f679082610ace565b6003556001600160a01b038216600090815260016020526040902054610f8d9082610ace565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b03821661102a5760405162461bcd60e51b815260040180806020018281038252602181526020018061144f6021913960400191505060405180910390fd5b611036826000836108eb565b61107381604051806060016040528060228152602001611369602291396001600160a01b0385166000908152600160205260409020549190610d8a565b6001600160a01b038316600090815260016020526040902055600354611099908261116c565b6003556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600061090883836111ae565b6000610908836001600160a01b038416611212565b600061060e8261122a565b60006111198383611212565b61114f5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561060e565b50600061060e565b6000610908836001600160a01b03841661122e565b600061090883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610d8a565b815460009082106111f05760405162461bcd60e51b81526004018080602001828103825260228152602001806112f56022913960400191505060405180910390fd5b8260000182815481106111ff57fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b5490565b600081815260018301602052604081205480156112ea578354600019808301919081019060009087908390811061126157fe5b906000526020600020015490508087600001848154811061127e57fe5b6000918252602080832090910192909255828152600189810190925260409020908401905586548790806112ae57fe5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061060e565b600091505061060e56fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647345524332303a207472616e7366657220746f20746865207a65726f2061646472657373416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e7445524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b6545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a26469706673582212204972be75839e9c70533da7c78db69078b8ad9ced9e7a3d6ad0d9995d1ccd491364736f6c634300070600334c6f6f6d546f6b656e3a20696e76616c696420636f6e747261637420616464726573730000000000000000000000007711863244783348ae78c2bdebb9802b297dce56
Loading