[ { "inputs": [ { "internalType": "address", "name": "_MEMO", "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": "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": "MEMO", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "MEMOTowMEMO", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "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": [], "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": [ { "internalType": "string", "name": "name_", "type": "string" }, { "internalType": "string", "name": "symbol_", "type": "string" } ], "name": "initialize", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "initializer", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "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": "uint256", "name": "_amount", "type": "uint256" } ], "name": "unwrap", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "wMEMOToMEMO", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "wrap", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" } ]
60a06040523480156200001157600080fd5b506040516200156038038062001560833981810160405260208110156200003757600080fd5b5051604080518082018252600d81526c2bb930b83832b2102a37b5b2b760991b6020828101918252835180850190945260068452653baa37b5b2b760d11b9084015281519192916200008c91600391620000f3565b508051620000a2906004906020840190620000f3565b50506005805460ff19166012179055506001600160a01b038116620000c657600080fd5b60601b6001600160601b03191660805260058054610100600160a81b03191633610100021790556200019f565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826200012b576000855562000176565b82601f106200014657805160ff191683800117855562000176565b8280016001018555821562000176579182015b828111156200017657825182559160200191906001019062000159565b506200018492915062000188565b5090565b5b8082111562000184576000815560010162000189565b60805160601c61138f620001d1600039806105a952806107105280610915528061097d5280610a55525061138f6000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c806370a08231116100a2578063a9059cbb11610071578063a9059cbb14610459578063c7eaef1e14610485578063dd62ed3e1461048d578063de0e9a3e146104bb578063ea598cb0146104d857610116565b806370a08231146103db57806395d89b41146104015780639ce110d714610409578063a457c2d71461042d57610116565b806323b872dd116100e957806323b872dd1461020f578063313ce5671461024557806339509351146102635780633f398cd81461028f5780634cd88b76146102ac57610116565b806306fdde031461011b578063095ea7b31461019857806311a4340e146101d857806318160ddd14610207575b600080fd5b6101236104f5565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015d578181015183820152602001610145565b50505050905090810190601f16801561018a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101c4600480360360408110156101ae57600080fd5b506001600160a01b03813516906020013561058b565b604080519115158252519081900360200190f35b6101f5600480360360208110156101ee57600080fd5b50356105a2565b60408051918252519081900360200190f35b6101f561064a565b6101c46004803603606081101561022557600080fd5b506001600160a01b03813581169160208101359091169060400135610650565b61024d6106b9565b6040805160ff9092168252519081900360200190f35b6101c46004803603604081101561027957600080fd5b506001600160a01b0381351690602001356106c2565b6101f5600480360360208110156102a557600080fd5b50356106f8565b6103d9600480360360408110156102c257600080fd5b8101906020810181356401000000008111156102dd57600080fd5b8201836020820111156102ef57600080fd5b8035906020019184600183028401116401000000008311171561031157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929594936020810193503591505064010000000081111561036457600080fd5b82018360208201111561037657600080fd5b8035906020019184600183028401116401000000008311171561039857600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061079a945050505050565b005b6101f5600480360360208110156103f157600080fd5b50356001600160a01b0316610827565b610123610842565b6104116108a3565b604080516001600160a01b039092168252519081900360200190f35b6101c46004803603604081101561044357600080fd5b506001600160a01b0381351690602001356108b7565b6101c46004803603604081101561046f57600080fd5b506001600160a01b038135169060200135610906565b610411610913565b6101f5600480360360408110156104a357600080fd5b506001600160a01b0381358116916020013516610937565b6101f5600480360360208110156104d157600080fd5b5035610962565b6101f5600480360360208110156104ee57600080fd5b5035610a25565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105815780601f1061055657610100808354040283529160200191610581565b820191906000526020600020905b81548152906001019060200180831161056457829003601f168201915b5050505050905090565b6000610598338484610ae1565b5060015b92915050565b600061059c7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632986c0e56040518163ffffffff1660e01b815260040160206040518083038186803b15801561060057600080fd5b505afa158015610614573d6000803e3d6000fd5b505050506040513d602081101561062a57600080fd5b50516106446106376106b9565b859060ff16600a0a610bcd565b90610c2d565b60025490565b600061065d848484610c6f565b6106af84336106aa856040518060600160405280602881526020016112a3602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190610dca565b610ae1565b5060019392505050565b60055460ff1690565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916105989185906106aa9086610e61565b600061059c6107056106b9565b60ff16600a0a6106447f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632986c0e56040518163ffffffff1660e01b815260040160206040518083038186803b15801561076757600080fd5b505afa15801561077b573d6000803e3d6000fd5b505050506040513d602081101561079157600080fd5b50518590610bcd565b60055461010090046001600160a01b031633146107ea576040805162461bcd60e51b81526020600482015260096024820152686e6f7420616c6c6f7760b81b604482015290519081900360640190fd5b81516107fd906003906020850190611153565b508051610811906004906020840190611153565b505060058054610100600160a81b031916905550565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105815780601f1061055657610100808354040283529160200191610581565b60055461010090046001600160a01b031681565b600061059833846106aa85604051806060016040528060258152602001611335602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190610dca565b6000610598338484610c6f565b7f000000000000000000000000000000000000000000000000000000000000000081565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600061096e3383610ebb565b6000610979836106f8565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb33836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b1580156109f257600080fd5b505af1158015610a06573d6000803e3d6000fd5b505050506040513d6020811015610a1c57600080fd5b50909392505050565b604080516323b872dd60e01b81523360048201523060248201526044810183905290516000916001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916323b872dd9160648082019260209290919082900301818787803b158015610a9d57600080fd5b505af1158015610ab1573d6000803e3d6000fd5b505050506040513d6020811015610ac757600080fd5b5060009050610ad5836105a2565b905061059c3382610fb7565b6001600160a01b038316610b265760405162461bcd60e51b81526004018080602001828103825260248152602001806113116024913960400191505060405180910390fd5b6001600160a01b038216610b6b5760405162461bcd60e51b815260040180806020018281038252602281526020018061123a6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600082610bdc5750600061059c565b82820282848281610be957fe5b0414610c265760405162461bcd60e51b81526004018080602001828103825260218152602001806112826021913960400191505060405180910390fd5b9392505050565b6000610c2683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506110a7565b6001600160a01b038316610cb45760405162461bcd60e51b81526004018080602001828103825260258152602001806112ec6025913960400191505060405180910390fd5b6001600160a01b038216610cf95760405162461bcd60e51b81526004018080602001828103825260238152602001806111f56023913960400191505060405180910390fd5b610d0483838361110c565b610d418160405180606001604052806026815260200161125c602691396001600160a01b0386166000908152602081905260409020549190610dca565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610d709082610e61565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610e595760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610e1e578181015183820152602001610e06565b50505050905090810190601f168015610e4b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610c26576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b038216610f005760405162461bcd60e51b81526004018080602001828103825260218152602001806112cb6021913960400191505060405180910390fd5b610f0c8260008361110c565b610f4981604051806060016040528060228152602001611218602291396001600160a01b0385166000908152602081905260409020549190610dca565b6001600160a01b038316600090815260208190526040902055600254610f6f9082611111565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6001600160a01b038216611012576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b61101e6000838361110c565b60025461102b9082610e61565b6002556001600160a01b0382166000908152602081905260409020546110519082610e61565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600081836110f65760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610e1e578181015183820152602001610e06565b50600083858161110257fe5b0495945050505050565b505050565b6000610c2683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610dca565b828054600181600116156101000203166002900490600052602060002090601f01602090048101928261118957600085556111cf565b82601f106111a257805160ff19168380011785556111cf565b828001600101855582156111cf579182015b828111156111cf5782518255916020019190600101906111b4565b506111db9291506111df565b5090565b5b808211156111db57600081556001016111e056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212204e58876f379439142132c2e033aa6310a3c651d1dd8a1620a3f6a8df7215ea0764736f6c6343000706003300000000000000000000000091d680545a1ff4411c1ff4c927f86cd34adb932a