[ { "inputs": [], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "account", "type": "address" } ], "name": "AddedToWhitelist", "type": "event" }, { "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": "account", "type": "address" } ], "name": "RemovedFromWhitelist", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "bool", "name": "status", "type": "bool" } ], "name": "TradeStatusChanged", "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": "_account", "type": "address" } ], "name": "addToWhitelist", "outputs": [], "stateMutability": "nonpayable", "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": "openTrade", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_account", "type": "address" } ], "name": "removeFromWhitelist", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "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": [], "name": "tradeOpen", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "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" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "whitelist", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "view", "type": "function" } ]
60806040526005805460ff60a01b191690553480156200001d575f80fd5b506040518060400160405280600f81526020016e13995dc8159a5cda5bdb88119d5b99608a1b81525060405180604001604052806003815260200162272b2360e91b815250816003908162000073919062000354565b50600462000082828262000354565b5050506200009f62000099620000d860201b60201c565b620000dc565b6b204fce5e3e25026110000000620000b833826200012d565b50335f908152600660205260409020805460ff1916600117905562000442565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038216620001895760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b620001965f8383620001ff565b8060025f828254620001a991906200041c565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005548390600160a01b900460ff16806200023157506001600160a01b0381165f9081526006602052604090205460ff165b806200024457506001600160a01b038116155b620002aa5760405162461bcd60e51b815260206004820152602f60248201527f547261646520697320636c6f73656420616e64206163636f756e74206973206e60448201526e1bdd081a5b881dda1a5d195b1a5cdd608a1b606482015260840162000180565b50505050565b505050565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680620002de57607f821691505b602082108103620002fd57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620002b0575f81815260208120601f850160051c810160208610156200032b5750805b601f850160051c820191505b818110156200034c5782815560010162000337565b505050505050565b81516001600160401b03811115620003705762000370620002b5565b6200038881620003818454620002c9565b8462000303565b602080601f831160018114620003be575f8415620003a65750858301515b5f19600386901b1c1916600185901b1785556200034c565b5f85815260208120601f198616915b82811015620003ee57888601518255948401946001909101908401620003cd565b50858210156200040c57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200043c57634e487b7160e01b5f52601160045260245ffd5b92915050565b610c2380620004505f395ff3fe608060405234801561000f575f80fd5b506004361061011c575f3560e01c80638ab1d681116100a9578063a9059cbb1161006e578063a9059cbb14610259578063dd62ed3e1461026c578063e43252d71461027f578063f2fde38b14610292578063fb201b1d146102a5575f80fd5b80638ab1d681146101ee5780638da5cb5b1461020157806395d89b411461021c5780639b19251a14610224578063a457c2d714610246575f80fd5b806325fa0b98116100ef57806325fa0b9814610186578063313ce5671461019a57806339509351146101a957806370a08231146101bc578063715018a6146101e4575f80fd5b806306fdde0314610120578063095ea7b31461013e57806318160ddd1461016157806323b872dd14610173575b5f80fd5b6101286102ad565b6040516101359190610a7e565b60405180910390f35b61015161014c366004610ae4565b61033d565b6040519015158152602001610135565b6002545b604051908152602001610135565b610151610181366004610b0c565b610356565b60055461015190600160a01b900460ff1681565b60405160128152602001610135565b6101516101b7366004610ae4565b610379565b6101656101ca366004610b45565b6001600160a01b03165f9081526020819052604090205490565b6101ec61039a565b005b6101ec6101fc366004610b45565b6103ad565b6005546040516001600160a01b039091168152602001610135565b6101286103fd565b610151610232366004610b45565b60066020525f908152604090205460ff1681565b610151610254366004610ae4565b61040c565b610151610267366004610ae4565b61048b565b61016561027a366004610b65565b610498565b6101ec61028d366004610b45565b6104c2565b6101ec6102a0366004610b45565b610515565b6101ec61058e565b6060600380546102bc90610b96565b80601f01602080910402602001604051908101604052809291908181526020018280546102e890610b96565b80156103335780601f1061030a57610100808354040283529160200191610333565b820191905f5260205f20905b81548152906001019060200180831161031657829003601f168201915b5050505050905090565b5f3361034a8185856105df565b60019150505b92915050565b5f33610363858285610702565b61036e85858561077a565b506001949350505050565b5f3361034a81858561038b8383610498565b6103959190610bce565b6105df565b6103a2610927565b6103ab5f610981565b565b6103b5610927565b6001600160a01b0381165f81815260066020526040808220805460ff19169055517fcdd2e9b91a56913d370075169cefa1602ba36be5301664f752192bb1709df7579190a250565b6060600480546102bc90610b96565b5f33816104198286610498565b90508381101561047e5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084015b60405180910390fd5b61036e82868684036105df565b5f3361034a81858561077a565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6104ca610927565b6001600160a01b0381165f81815260066020526040808220805460ff19166001179055517fa850ae9193f515cbae8d35e8925bd2be26627fc91bce650b8652ed254e9cab039190a250565b61051d610927565b6001600160a01b0381166105825760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610475565b61058b81610981565b50565b610596610927565b6005805460ff60a01b1916600160a01b179055604051600181527f278e15605aad3f4dc71adf664bb99cbdfea329b6e4343fd6590439260f761c0a9060200160405180910390a1565b6001600160a01b0383166106415760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610475565b6001600160a01b0382166106a25760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610475565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f61070d8484610498565b90505f19811461077457818110156107675760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610475565b61077484848484036105df565b50505050565b6001600160a01b0383166107de5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610475565b6001600160a01b0382166108405760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610475565b61084b8383836109d2565b6001600160a01b0383165f90815260208190526040902054818110156108c25760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610475565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610774565b6005546001600160a01b031633146103ab5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610475565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6005548390600160a01b900460ff1680610a0357506001600160a01b0381165f9081526006602052604090205460ff165b80610a1557506001600160a01b038116155b610a795760405162461bcd60e51b815260206004820152602f60248201527f547261646520697320636c6f73656420616e64206163636f756e74206973206e60448201526e1bdd081a5b881dda1a5d195b1a5cdd608a1b6064820152608401610475565b610774565b5f6020808352835180828501525f5b81811015610aa957858101830151858201604001528201610a8d565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610adf575f80fd5b919050565b5f8060408385031215610af5575f80fd5b610afe83610ac9565b946020939093013593505050565b5f805f60608486031215610b1e575f80fd5b610b2784610ac9565b9250610b3560208501610ac9565b9150604084013590509250925092565b5f60208284031215610b55575f80fd5b610b5e82610ac9565b9392505050565b5f8060408385031215610b76575f80fd5b610b7f83610ac9565b9150610b8d60208401610ac9565b90509250929050565b600181811c90821680610baa57607f821691505b602082108103610bc857634e487b7160e01b5f52602260045260245ffd5b50919050565b8082018082111561035057634e487b7160e01b5f52601160045260245ffdfea2646970667358221220b580ba8a83e46c2c15c9f032a48fb943dd83b72846fdf4775e2eb9333d2c85a564736f6c63430008140033