[ { "inputs": [ { "internalType": "address", "name": "_owner", "type": "address" }, { "internalType": "address", "name": "_associatedContract", "type": "address" }, { "internalType": "uint256", "name": "_totalSupply", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "constructor" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "associatedContract", "type": "address" } ], "name": "AssociatedContractUpdated", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "oldOwner", "type": "address" }, { "indexed": false, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnerChanged", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": false, "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "OwnerNominated", "type": "event" }, { "inputs": [], "name": "acceptOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" }, { "internalType": "address", "name": "", "type": "address" } ], "name": "allowance", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "associatedContract", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "balanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_owner", "type": "address" } ], "name": "nominateNewOwner", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "nominatedOwner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "tokenOwner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "setAllowance", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_associatedContract", "type": "address" } ], "name": "setAssociatedContract", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" } ], "name": "setBalanceOf", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "setTotalSupply", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" } ]
608060405234801561001057600080fd5b5060405161082838038061082883398101604081905261002f916101a8565b8282816001600160a01b03811661008d5760405162461bcd60e51b815260206004820152601960248201527f4f776e657220616464726573732063616e6e6f7420626520300000000000000060448201526064015b60405180910390fd5b600080546001600160a01b0319166001600160a01b03831690811782556040805192835260208301919091527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c910160405180910390a1506000546001600160a01b03166101315760405162461bcd60e51b815260206004820152601160248201527013dddb995c881b5d5cdd081899481cd95d607a1b6044820152606401610084565b600280546001600160a01b0319166001600160a01b0383169081179091556040519081527f73f20cff579e8a4086fa607db83867595f1b6a798e718c0bfa0b94a404128e039060200160405180910390a150505050506101e4565b80516001600160a01b03811681146101a357600080fd5b919050565b6000806000606084860312156101bd57600080fd5b6101c68461018c565b92506101d46020850161018c565b9150604084015190509250925092565b610635806101f36000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c80638da5cb5b116100715780638da5cb5b14610150578063aefc4ccb14610163578063b46310f614610176578063da46098c14610189578063dd62ed3e1461019c578063f7ea7a3d146101c757600080fd5b80631627540c146100b957806318160ddd146100ce57806352f445ca146100ea57806353a47bb7146100fd57806370a082311461012857806379ba509714610148575b600080fd5b6100cc6100c73660046104d7565b6101da565b005b6100d760055481565b6040519081526020015b60405180910390f35b6100cc6100f83660046104d7565b610237565b600154610110906001600160a01b031681565b6040516001600160a01b0390911681526020016100e1565b6100d76101363660046104d7565b60036020526000908152604090205481565b6100cc61028d565b600054610110906001600160a01b031681565b600254610110906001600160a01b031681565b6100cc6101843660046104f9565b61037c565b6100cc610197366004610523565b6103c2565b6100d76101aa36600461055f565b600460209081526000928352604080842090915290825290205481565b6100cc6101d5366004610592565b610418565b6101e2610447565b600180546001600160a01b0319166001600160a01b0383169081179091556040519081527f906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22906020015b60405180910390a150565b61023f610447565b600280546001600160a01b0319166001600160a01b0383169081179091556040519081527f73f20cff579e8a4086fa607db83867595f1b6a798e718c0bfa0b94a404128e039060200161022c565b6001546001600160a01b0316331461030a5760405162461bcd60e51b815260206004820152603560248201527f596f75206d757374206265206e6f6d696e61746564206265666f726520796f7560448201527402063616e20616363657074206f776e65727368697605c1b60648201526084015b60405180910390fd5b600054600154604080516001600160a01b0393841681529290911660208301527fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c910160405180910390a160018054600080546001600160a01b03199081166001600160a01b03841617909155169055565b6002546001600160a01b031633146103a65760405162461bcd60e51b8152600401610301906105ab565b6001600160a01b03909116600090815260036020526040902055565b6002546001600160a01b031633146103ec5760405162461bcd60e51b8152600401610301906105ab565b6001600160a01b0392831660009081526004602090815260408083209490951682529290925291902055565b6002546001600160a01b031633146104425760405162461bcd60e51b8152600401610301906105ab565b600555565b6000546001600160a01b031633146104b95760405162461bcd60e51b815260206004820152602f60248201527f4f6e6c792074686520636f6e7472616374206f776e6572206d6179207065726660448201526e37b936903a3434b99030b1ba34b7b760891b6064820152608401610301565b565b80356001600160a01b03811681146104d257600080fd5b919050565b6000602082840312156104e957600080fd5b6104f2826104bb565b9392505050565b6000806040838503121561050c57600080fd5b610515836104bb565b946020939093013593505050565b60008060006060848603121561053857600080fd5b610541846104bb565b925061054f602085016104bb565b9150604084013590509250925092565b6000806040838503121561057257600080fd5b61057b836104bb565b9150610589602084016104bb565b90509250929050565b6000602082840312156105a457600080fd5b5035919050565b60208082526034908201527f4f6e6c7920746865206173736f63696174656420636f6e74726163742063616e604082015273103832b93337b936903a3434b99030b1ba34b7b760611b60608201526080019056fea26469706673582212209179d59dd875052c15d7b6a6c05181bfde4f7b8f30174bbd6f928794b93dc24864736f6c634300080900330000000000000000000000006f808ae3445a711ecaa4da5c8330b051541a4de000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000