[ { "inputs": [ { "internalType": "address", "name": "initialTotalSupplyHolder_", "type": "address" }, { "internalType": "address", "name": "_oldToken", "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": "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": "DOMAIN_SEPARATOR", "outputs": [ { "internalType": "bytes32", "name": "", "type": "bytes32" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "PERMIT_TYPEHASH", "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": "burnOwnTokens", "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": "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": "initialSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "nonces", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "oldParty", "outputs": [ { "internalType": "contract ERC20", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "owner", "type": "address" }, { "internalType": "address", "name": "spender", "type": "address" }, { "internalType": "uint256", "name": "value", "type": "uint256" }, { "internalType": "uint256", "name": "deadline", "type": "uint256" }, { "internalType": "uint8", "name": "v", "type": "uint8" }, { "internalType": "bytes32", "name": "r", "type": "bytes32" }, { "internalType": "bytes32", "name": "s", "type": "bytes32" } ], "name": "permit", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "tokens", "type": "uint256" } ], "name": "swapToNewParty", "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" }, { "inputs": [ { "internalType": "address", "name": "newOwner", "type": "address" } ], "name": "transferOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" } ]
60806040523480156200001157600080fd5b506040516200180538038062001805833981016040819052620000349162000431565b60408051808201825260088152672820a92a2c902b1960c11b602080830191825283518085019094526005845264504152545960d81b90840152815191929162000081916003916200036e565b508051620000979060049060208401906200036e565b505050620000b4620000ae6200019760201b60201c565b6200019b565b467f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f620000e0620001ed565b805160209182012060408051808201825260018152603160f81b90840152516200013293927fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc691869130910162000468565b60408051601f19818403018152919052805160209091012060065562000164836a5afd67f2dc0e1b2e00000062000287565b50600880546001600160a01b039384166001600160a01b0319918216179091556009805492909316911617905562000536565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b606060038054620001fe90620004f9565b80601f01602080910402602001604051908101604052809291908181526020018280546200022c90620004f9565b80156200027d5780601f1062000251576101008083540402835291602001916200027d565b820191906000526020600020905b8154815290600101906020018083116200025f57829003601f168201915b5050505050905090565b6001600160a01b038216620002b95760405162461bcd60e51b8152600401620002b09062000494565b60405180910390fd5b620002c76000838362000369565b8060026000828254620002db9190620004d4565b90915550506001600160a01b038216600090815260208190526040812080548392906200030a908490620004d4565b90915550506040516001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906200034f908590620004cb565b60405180910390a3620003656000838362000369565b5050565b505050565b8280546200037c90620004f9565b90600052602060002090601f016020900481019282620003a05760008555620003eb565b82601f10620003bb57805160ff1916838001178555620003eb565b82800160010185558215620003eb579182015b82811115620003eb578251825591602001919060010190620003ce565b50620003f9929150620003fd565b5090565b5b80821115620003f95760008155600101620003fe565b80516001600160a01b03811681146200042c57600080fd5b919050565b6000806040838503121562000444578182fd5b6200044f8362000414565b91506200045f6020840162000414565b90509250929050565b9485526020850193909352604084019190915260608301526001600160a01b0316608082015260a00190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b60008219821115620004f457634e487b7160e01b81526011600452602481fd5b500190565b6002810460018216806200050e57607f821691505b602082108114156200053057634e487b7160e01b600052602260045260246000fd5b50919050565b6112bf80620005466000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c8063715018a6116100b8578063a9059cbb1161007c578063a9059cbb14610260578063d505accf14610273578063dd62ed3e14610286578063dd7f92d214610299578063e93f9388146102ac578063f2fde38b146102b457610142565b8063715018a6146102155780637ecebe001461021d5780638da5cb5b1461023057806395d89b4114610245578063a457c2d71461024d57610142565b8063313ce5671161010a578063313ce567146101b55780633644e515146101ca578063378dc3dc146101d257806339509351146101da57806352d8348e146101ed57806370a082311461020257610142565b806306fdde0314610147578063095ea7b31461016557806318160ddd1461018557806323b872dd1461019a57806330adf81f146101ad575b600080fd5b61014f6102c7565b60405161015c9190610e4d565b60405180910390f35b610178610173366004610d33565b610359565b60405161015c9190610de7565b61018d610376565b60405161015c9190610df2565b6101786101a8366004610c87565b61037c565b61018d610415565b6101bd610439565b60405161015c91906111e0565b61018d61043e565b61018d610444565b6101786101e8366004610d33565b610453565b6102006101fb366004610d7c565b6104a7565b005b61018d610210366004610c34565b6104b4565b6102006104d3565b61018d61022b366004610c34565b61051e565b610238610530565b60405161015c9190610daf565b61014f61053f565b61017861025b366004610d33565b61054e565b61017861026e366004610d33565b6105c7565b610200610281366004610cc2565b6105db565b61018d610294366004610c55565b610756565b6102006102a7366004610d7c565b610781565b61023861078b565b6102006102c2366004610c34565b61079a565b6060600380546102d69061121d565b80601f01602080910402602001604051908101604052809291908181526020018280546103029061121d565b801561034f5780601f106103245761010080835404028352916020019161034f565b820191906000526020600020905b81548152906001019060200180831161033257829003601f168201915b5050505050905090565b600061036d610366610808565b848461080c565b50600192915050565b60025490565b60006103898484846108c0565b6001600160a01b0384166000908152600160205260408120816103aa610808565b6001600160a01b03166001600160a01b03168152602001908152602001600020549050828110156103f65760405162461bcd60e51b81526004016103ed90610ff3565b60405180910390fd5b61040a85610402610808565b85840361080c565b506001949350505050565b7f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c981565b601290565b60065481565b6a5afd67f2dc0e1b2e00000081565b600061036d610460610808565b84846001600061046e610808565b6001600160a01b03908116825260208083019390935260409182016000908120918b16815292529020546104a291906111ee565b61080c565b6104b181336109ea565b50565b6001600160a01b0381166000908152602081905260409020545b919050565b6104db610808565b6001600160a01b03166104ec610530565b6001600160a01b0316146105125760405162461bcd60e51b81526004016103ed9061103b565b61051c6000610ad9565b565b60076020526000908152604090205481565b6005546001600160a01b031690565b6060600480546102d69061121d565b6000806001600061055d610808565b6001600160a01b03908116825260208083019390935260409182016000908120918816815292529020549050828110156105a95760405162461bcd60e51b81526004016103ed9061119b565b6105bd6105b4610808565b8585840361080c565b5060019392505050565b600061036d6105d4610808565b84846108c0565b428410156105fb5760405162461bcd60e51b81526004016103ed90611171565b6006546001600160a01b038816600090815260076020526040812080549192917f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9918b918b918b91908761064e83611258565b919050558a60405160200161066896959493929190610dfb565b6040516020818303038152906040528051906020012060405160200161068f929190610d94565b6040516020818303038152906040528051906020012090506000600182868686604051600081526020016040526040516106cc9493929190610e2f565b6020604051602081039080840390855afa1580156106ee573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116158015906107245750886001600160a01b0316816001600160a01b0316145b6107405760405162461bcd60e51b81526004016103ed9061113a565b61074b89898961080c565b505050505050505050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6104b13382610b2b565b6009546001600160a01b031681565b6107a2610808565b6001600160a01b03166107b3610530565b6001600160a01b0316146107d95760405162461bcd60e51b81526004016103ed9061103b565b6001600160a01b0381166107ff5760405162461bcd60e51b81526004016103ed90610f25565b6104b181610ad9565b3390565b6001600160a01b0383166108325760405162461bcd60e51b81526004016103ed906110f6565b6001600160a01b0382166108585760405162461bcd60e51b81526004016103ed90610f6b565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906108b3908590610df2565b60405180910390a3505050565b6001600160a01b0383166108e65760405162461bcd60e51b81526004016103ed906110b1565b6001600160a01b03821661090c5760405162461bcd60e51b81526004016103ed90610ea0565b610917838383610c18565b6001600160a01b038316600090815260208190526040902054818110156109505760405162461bcd60e51b81526004016103ed90610fad565b6001600160a01b038085166000908152602081905260408082208585039055918516815290812080548492906109879084906111ee565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516109d19190610df2565b60405180910390a36109e4848484610c18565b50505050565b6009546040516323b872dd60e01b81526001600160a01b03909116906323b872dd90610a1f9084906001908790600401610dc3565b602060405180830381600087803b158015610a3957600080fd5b505af1158015610a4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a719190610d5c565b50600854610a89906001600160a01b031682846108c0565b806001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610acd9190610df2565b60405180910390a35050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216610b515760405162461bcd60e51b81526004016103ed90611070565b610b5d82600083610c18565b6001600160a01b03821660009081526020819052604090205481811015610b965760405162461bcd60e51b81526004016103ed90610ee3565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610bc5908490611206565b90915550506040516000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90610c08908690610df2565b60405180910390a3610c18836000845b505050565b80356001600160a01b03811681146104ce57600080fd5b600060208284031215610c45578081fd5b610c4e82610c1d565b9392505050565b60008060408385031215610c67578081fd5b610c7083610c1d565b9150610c7e60208401610c1d565b90509250929050565b600080600060608486031215610c9b578081fd5b610ca484610c1d565b9250610cb260208501610c1d565b9150604084013590509250925092565b600080600080600080600060e0888a031215610cdc578283fd5b610ce588610c1d565b9650610cf360208901610c1d565b95506040880135945060608801359350608088013560ff81168114610d16578384fd5b9699959850939692959460a0840135945060c09093013592915050565b60008060408385031215610d45578182fd5b610d4e83610c1d565b946020939093013593505050565b600060208284031215610d6d578081fd5b81518015158114610c4e578182fd5b600060208284031215610d8d578081fd5b5035919050565b61190160f01b81526002810192909252602282015260420190565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b901515815260200190565b90815260200190565b9586526001600160a01b0394851660208701529290931660408501526060840152608083019190915260a082015260c00190565b93845260ff9290921660208401526040830152606082015260800190565b6000602080835283518082850152825b81811015610e7957858101830151858201604001528201610e5d565b81811115610e8a5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526022908201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604082015261636560f01b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b60208082526026908201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604082015265616c616e636560d01b606082015260800190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b6020808252601a908201527f504152545956323a20494e56414c49445f5349474e4154555245000000000000604082015260600190565b60208082526010908201526f1410549516558c8e881156141254915160821b604082015260600190565b60208082526025908201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604082015264207a65726f60d81b606082015260800190565b60ff91909116815260200190565b6000821982111561120157611201611273565b500190565b60008282101561121857611218611273565b500390565b60028104600182168061123157607f821691505b6020821081141561125257634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561126c5761126c611273565b5060010190565b634e487b7160e01b600052601160045260246000fdfea2646970667358221220a56acecd92c330f55653389ba6aa76d47962d5d1727ee83c4d204b9dbc46bac464736f6c6343000800003300000000000000000000000081b42df04bfd9329ab897de2ae1b2543d68209ce00000000000000000000000069a61f38df59cbb51962e69c54d39184e21c27ec