[ { "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": [], "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" } ]
60a06040523480156200001157600080fd5b50604051620012ba380380620012ba833981810160405260208110156200003757600080fd5b5051604080518082018252600d81526c2bb930b83832b2102927a3a2a960991b6020828101918252835180850190945260068452653ba927a3a2a960d11b9084015281519192916200008c91600391620000dc565b508051620000a2906004906020840190620000dc565b50506005805460ff19166012179055506001600160a01b038116620000c657600080fd5b60601b6001600160601b03191660805262000188565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826200011457600085556200015f565b82601f106200012f57805160ff19168380011785556200015f565b828001600101855582156200015f579182015b828111156200015f57825182559160200191906001019062000142565b506200016d92915062000171565b5090565b5b808211156200016d576000815560010162000172565b60805160601c611100620001ba6000398061045c52806105c35280610727528061078f528061086752506111006000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c806370a0823111610097578063c7eaef1e11610066578063c7eaef1e1461031c578063dd62ed3e14610340578063de0e9a3e1461036e578063ea598cb01461038b57610100565b806370a082311461029657806395d89b41146102bc578063a457c2d7146102c4578063a9059cbb146102f057610100565b806323b872dd116100d357806323b872dd146101f9578063313ce5671461022f578063395093511461024d5780633f398cd81461027957610100565b806306fdde0314610105578063095ea7b31461018257806311a4340e146101c257806318160ddd146101f1575b600080fd5b61010d6103a8565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561014757818101518382015260200161012f565b50505050905090810190601f1680156101745780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101ae6004803603604081101561019857600080fd5b506001600160a01b03813516906020013561043e565b604080519115158252519081900360200190f35b6101df600480360360208110156101d857600080fd5b5035610455565b60408051918252519081900360200190f35b6101df6104fd565b6101ae6004803603606081101561020f57600080fd5b506001600160a01b03813581169160208101359091169060400135610503565b61023761056c565b6040805160ff9092168252519081900360200190f35b6101ae6004803603604081101561026357600080fd5b506001600160a01b038135169060200135610575565b6101df6004803603602081101561028f57600080fd5b50356105ab565b6101df600480360360208110156102ac57600080fd5b50356001600160a01b031661064d565b61010d610668565b6101ae600480360360408110156102da57600080fd5b506001600160a01b0381351690602001356106c9565b6101ae6004803603604081101561030657600080fd5b506001600160a01b038135169060200135610718565b610324610725565b604080516001600160a01b039092168252519081900360200190f35b6101df6004803603604081101561035657600080fd5b506001600160a01b0381358116916020013516610749565b6101df6004803603602081101561038457600080fd5b5035610774565b6101df600480360360208110156103a157600080fd5b5035610837565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104345780601f1061040957610100808354040283529160200191610434565b820191906000526020600020905b81548152906001019060200180831161041757829003601f168201915b5050505050905090565b600061044b3384846108f3565b5060015b92915050565b600061044f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632986c0e56040518163ffffffff1660e01b815260040160206040518083038186803b1580156104b357600080fd5b505afa1580156104c7573d6000803e3d6000fd5b505050506040513d60208110156104dd57600080fd5b50516104f76104ea61056c565b859060ff16600a0a6109df565b90610a3f565b60025490565b6000610510848484610a81565b610562843361055d85604051806060016040528060288152602001611014602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190610bdc565b6108f3565b5060019392505050565b60055460ff1690565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161044b91859061055d9086610c73565b600061044f6105b861056c565b60ff16600a0a6104f77f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632986c0e56040518163ffffffff1660e01b815260040160206040518083038186803b15801561061a57600080fd5b505afa15801561062e573d6000803e3d6000fd5b505050506040513d602081101561064457600080fd5b505185906109df565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104345780601f1061040957610100808354040283529160200191610434565b600061044b338461055d856040518060600160405280602581526020016110a6602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190610bdc565b600061044b338484610a81565b7f000000000000000000000000000000000000000000000000000000000000000081565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60006107803383610ccd565b600061078b836105ab565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb33836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561080457600080fd5b505af1158015610818573d6000803e3d6000fd5b505050506040513d602081101561082e57600080fd5b50909392505050565b604080516323b872dd60e01b81523360048201523060248201526044810183905290516000916001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916323b872dd9160648082019260209290919082900301818787803b1580156108af57600080fd5b505af11580156108c3573d6000803e3d6000fd5b505050506040513d60208110156108d957600080fd5b50600090506108e783610455565b905061044f3382610dc9565b6001600160a01b0383166109385760405162461bcd60e51b81526004018080602001828103825260248152602001806110826024913960400191505060405180910390fd5b6001600160a01b03821661097d5760405162461bcd60e51b8152600401808060200182810382526022815260200180610fab6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6000826109ee5750600061044f565b828202828482816109fb57fe5b0414610a385760405162461bcd60e51b8152600401808060200182810382526021815260200180610ff36021913960400191505060405180910390fd5b9392505050565b6000610a3883836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610eb9565b6001600160a01b038316610ac65760405162461bcd60e51b815260040180806020018281038252602581526020018061105d6025913960400191505060405180910390fd5b6001600160a01b038216610b0b5760405162461bcd60e51b8152600401808060200182810382526023815260200180610f666023913960400191505060405180910390fd5b610b16838383610f1e565b610b5381604051806060016040528060268152602001610fcd602691396001600160a01b0386166000908152602081905260409020549190610bdc565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610b829082610c73565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610c6b5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610c30578181015183820152602001610c18565b50505050905090810190601f168015610c5d5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610a38576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6001600160a01b038216610d125760405162461bcd60e51b815260040180806020018281038252602181526020018061103c6021913960400191505060405180910390fd5b610d1e82600083610f1e565b610d5b81604051806060016040528060228152602001610f89602291396001600160a01b0385166000908152602081905260409020549190610bdc565b6001600160a01b038316600090815260208190526040902055600254610d819082610f23565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6001600160a01b038216610e24576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610e3060008383610f1e565b600254610e3d9082610c73565b6002556001600160a01b038216600090815260208190526040902054610e639082610c73565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b60008183610f085760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610c30578181015183820152602001610c18565b506000838581610f1457fe5b0495945050505050565b505050565b6000610a3883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610bdc56fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220ec1c4add43a81cb518aca5a32d5fb25a790708f2b72ba9198b3349746b4f6eb064736f6c63430007050033000000000000000000000000ec6b908eb69a971952de3035fefc4a5d72e10bab