[ { "inputs": [], "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": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "Transfer", "type": "event" }, { "stateMutability": "nonpayable", "type": "fallback" }, { "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": "pure", "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": [ { "internalType": "address", "name": "authority", "type": "address" } ], "name": "setTRES", "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" } ]
60806040523480156200001157600080fd5b50607660f81b600660003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360f81c02179055506040518060400160405280600d81526020017f4d6f6c74726573204d6f6e65790000000000000000000000000000000000000081525060039081620000b4919062000478565b506040518060400160405280600481526020017f545245530000000000000000000000000000000000000000000000000000000081525060049081620000fb919062000478565b506200011a336b0102e853ffd88e89d90000006200012060201b60201c565b620005f7565b80600260008282546200013491906200058e565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546200018b91906200058e565b925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620001f29190620005da565b60405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200028057607f821691505b60208210810362000296576200029562000238565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b600060088302620003007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620002c1565b6200030c8683620002c1565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b600062000359620003536200034d8462000324565b6200032e565b62000324565b9050919050565b6000819050919050565b620003758362000338565b6200038d620003848262000360565b848454620002ce565b825550505050565b600090565b620003a462000395565b620003b18184846200036a565b505050565b5b81811015620003d957620003cd6000826200039a565b600181019050620003b7565b5050565b601f8211156200042857620003f2816200029c565b620003fd84620002b1565b810160208510156200040d578190505b620004256200041c85620002b1565b830182620003b6565b50505b505050565b600082821c905092915050565b60006200044d600019846008026200042d565b1980831691505092915050565b60006200046883836200043a565b9150826002028217905092915050565b6200048382620001fe565b67ffffffffffffffff8111156200049f576200049e62000209565b5b620004ab825462000267565b620004b8828285620003dd565b600060209050601f831160018114620004f05760008415620004db578287015190505b620004e785826200045a565b86555062000557565b601f19841662000500866200029c565b60005b828110156200052a5784890151825560018201915060208501945060208101905062000503565b868310156200054a578489015162000546601f8916826200043a565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006200059b8262000324565b9150620005a88362000324565b9250828201905080821115620005c357620005c26200055f565b5b92915050565b620005d48162000324565b82525050565b6000602082019050620005f16000830184620005c9565b92915050565b61102b80620006076000396000f3fe608060405234801561001057600080fd5b50600436106100b85760003560e01c806370a082311161007157806370a08231146101de57806395d89b411461020e5780639b1fedbf1461022c578063a457c2d714610248578063a9059cbb14610278578063dd62ed3e146102a8576100b9565b806306fdde03146100f4578063095ea7b31461011257806318160ddd1461014257806323b872dd14610160578063313ce5671461019057806339509351146101ae576100b9565b5b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100eb90610bc7565b60405180910390fd5b6100fc6102d8565b6040516101099190610c66565b60405180910390f35b61012c60048036038101906101279190610d21565b61036a565b6040516101399190610d7c565b60405180910390f35b61014a610381565b6040516101579190610da6565b60405180910390f35b61017a60048036038101906101759190610dc1565b61038b565b6040516101879190610d7c565b60405180910390f35b610198610435565b6040516101a59190610e30565b60405180910390f35b6101c860048036038101906101c39190610d21565b61043e565b6040516101d59190610d7c565b60405180910390f35b6101f860048036038101906101f39190610e4b565b6104dc565b6040516102059190610da6565b60405180910390f35b610216610524565b6040516102239190610c66565b60405180910390f35b61024660048036038101906102419190610e4b565b6105b6565b005b610262600480360381019061025d9190610d21565b61069a565b60405161026f9190610d7c565b60405180910390f35b610292600480360381019061028d9190610d21565b610738565b60405161029f9190610d7c565b60405180910390f35b6102c260048036038101906102bd9190610e78565b61074f565b6040516102cf9190610da6565b60405180910390f35b6060600380546102e790610ee7565b80601f016020809104026020016040519081016040528092919081815260200182805461031390610ee7565b80156103605780601f1061033557610100808354040283529160200191610360565b820191906000526020600020905b81548152906001019060200180831161034357829003601f168201915b5050505050905090565b60006103773384846107d6565b6001905092915050565b6000600254905090565b60006103988484846108c1565b61042a843384600160008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546104259190610f47565b6107d6565b600190509392505050565b60006012905090565b60006104d2338484600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546104cd9190610f7b565b6107d6565b6001905092915050565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60606004805461053390610ee7565b80601f016020809104026020016040519081016040528092919081815260200182805461055f90610ee7565b80156105ac5780601f10610581576101008083540402835291602001916105ac565b820191906000526020600020905b81548152906001019060200180831161058f57829003601f168201915b5050505050905090565b600060f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916600660003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff19160361065657600080fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600061072e338484600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546107299190610f47565b6107d6565b6001905092915050565b60006107453384846108c1565b6001905092915050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516108b49190610da6565b60405180910390a3505050565b6108c96109dd565b806000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546109179190610f47565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461096c9190610f7b565b925050819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516109d09190610da6565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610b68576000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16604051610a7a90610fe0565b6000604051808303816000865af19150503d8060008114610ab7576040519150601f19603f3d011682016040523d82523d6000602084013e610abc565b606091505b5050905080610b6657600060f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916600660003273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460f81b7effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191603610b6557600080fd5b5b505b565b600082825260208201905092915050565b7f4661696c65645452455300000000000000000000000000000000000000000000600082015250565b6000610bb1600a83610b6a565b9150610bbc82610b7b565b602082019050919050565b60006020820190508181036000830152610be081610ba4565b9050919050565b600081519050919050565b60005b83811015610c10578082015181840152602081019050610bf5565b60008484015250505050565b6000601f19601f8301169050919050565b6000610c3882610be7565b610c428185610b6a565b9350610c52818560208601610bf2565b610c5b81610c1c565b840191505092915050565b60006020820190508181036000830152610c808184610c2d565b905092915050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610cb882610c8d565b9050919050565b610cc881610cad565b8114610cd357600080fd5b50565b600081359050610ce581610cbf565b92915050565b6000819050919050565b610cfe81610ceb565b8114610d0957600080fd5b50565b600081359050610d1b81610cf5565b92915050565b60008060408385031215610d3857610d37610c88565b5b6000610d4685828601610cd6565b9250506020610d5785828601610d0c565b9150509250929050565b60008115159050919050565b610d7681610d61565b82525050565b6000602082019050610d916000830184610d6d565b92915050565b610da081610ceb565b82525050565b6000602082019050610dbb6000830184610d97565b92915050565b600080600060608486031215610dda57610dd9610c88565b5b6000610de886828701610cd6565b9350506020610df986828701610cd6565b9250506040610e0a86828701610d0c565b9150509250925092565b600060ff82169050919050565b610e2a81610e14565b82525050565b6000602082019050610e456000830184610e21565b92915050565b600060208284031215610e6157610e60610c88565b5b6000610e6f84828501610cd6565b91505092915050565b60008060408385031215610e8f57610e8e610c88565b5b6000610e9d85828601610cd6565b9250506020610eae85828601610cd6565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680610eff57607f821691505b602082108103610f1257610f11610eb8565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000610f5282610ceb565b9150610f5d83610ceb565b9250828203905081811115610f7557610f74610f18565b5b92915050565b6000610f8682610ceb565b9150610f9183610ceb565b9250828201905080821115610fa957610fa8610f18565b5b92915050565b600081905092915050565b50565b6000610fca600083610faf565b9150610fd582610fba565b600082019050919050565b6000610feb82610fbd565b915081905091905056fea2646970667358221220ee3756bb1c5c8288439f928d12924c773ae6b9953e56d8eb3a6563d108d7f43d64736f6c63430008110033