[ { "inputs": [ { "internalType": "address", "name": "_sGG", "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": [ { "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": "sGG", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "sGGTowsGG", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "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": "wrap", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "_amount", "type": "uint256" } ], "name": "wsGGTosGG", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" } ]
60a06040523480156200001157600080fd5b50604051620012cf380380620012cf833981810160405260208110156200003757600080fd5b5051604080518082018252600b81526a577261707065642073474760a81b6020828101918252835180850190945260048452637773474760e01b9084015281519192916200008891600391620000d8565b5080516200009e906004906020840190620000d8565b50506005805460ff19166012179055506001600160a01b038116620000c257600080fd5b60601b6001600160601b03191660805262000184565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826200011057600085556200015b565b82601f106200012b57805160ff19168380011785556200015b565b828001600101855582156200015b579182015b828111156200015b5782518255916020019190600101906200013e565b50620001699291506200016d565b5090565b5b808211156200016957600081556001016200016e565b60805160601c611119620001b66000398061050a52806105c3528061064f528061078f528061088052506111196000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80635d33589211610097578063a9059cbb11610066578063a9059cbb14610314578063dd62ed3e14610340578063de0e9a3e1461036e578063ea598cb01461038b57610100565b80635d3358921461029657806370a08231146102ba57806395d89b41146102e0578063a457c2d7146102e857610100565b8063313ce567116100d3578063313ce5671461021257806339509351146102305780634112057a1461025c5780634566e8aa1461027957610100565b806306fdde0314610105578063095ea7b31461018257806318160ddd146101c257806323b872dd146101dc575b600080fd5b61010d6103a8565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561014757818101518382015260200161012f565b50505050905090810190601f1680156101745780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101ae6004803603604081101561019857600080fd5b506001600160a01b03813516906020013561043e565b604080519115158252519081900360200190f35b6101ca610455565b60408051918252519081900360200190f35b6101ae600480360360608110156101f257600080fd5b506001600160a01b0381358116916020810135909116906040013561045b565b61021a6104c4565b6040805160ff9092168252519081900360200190f35b6101ae6004803603604081101561024657600080fd5b506001600160a01b0381351690602001356104cd565b6101ca6004803603602081101561027257600080fd5b5035610503565b6101ca6004803603602081101561028f57600080fd5b50356105ab565b61029e61064d565b604080516001600160a01b039092168252519081900360200190f35b6101ca600480360360208110156102d057600080fd5b50356001600160a01b0316610671565b61010d61068c565b6101ae600480360360408110156102fe57600080fd5b506001600160a01b0381351690602001356106ed565b6101ae6004803603604081101561032a57600080fd5b506001600160a01b03813516906020013561073c565b6101ca6004803603604081101561035657600080fd5b506001600160a01b0381358116916020013516610749565b6101ca6004803603602081101561038457600080fd5b5035610774565b6101ca600480360360208110156103a157600080fd5b5035610837565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104345780601f1061040957610100808354040283529160200191610434565b820191906000526020600020905b81548152906001019060200180831161041757829003601f168201915b5050505050905090565b600061044b33848461090c565b5060015b92915050565b60025490565b60006104688484846109f8565b6104ba84336104b58560405180606001604052806028815260200161102d602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190610b53565b61090c565b5060019392505050565b60055460ff1690565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161044b9185906104b59086610bea565b600061044f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632986c0e56040518163ffffffff1660e01b815260040160206040518083038186803b15801561056157600080fd5b505afa158015610575573d6000803e3d6000fd5b505050506040513d602081101561058b57600080fd5b50516105a56105986104c4565b859060ff16600a0a610c4b565b90610ca4565b600061044f6105b86104c4565b60ff16600a0a6105a57f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316632986c0e56040518163ffffffff1660e01b815260040160206040518083038186803b15801561061a57600080fd5b505afa15801561062e573d6000803e3d6000fd5b505050506040513d602081101561064457600080fd5b50518590610c4b565b7f000000000000000000000000000000000000000000000000000000000000000081565b6001600160a01b031660009081526020819052604090205490565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104345780601f1061040957610100808354040283529160200191610434565b600061044b33846104b5856040518060600160405280602581526020016110bf602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190610b53565b600061044b3384846109f8565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60006107803383610ce6565b600061078b836105ab565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb33836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561080457600080fd5b505af1158015610818573d6000803e3d6000fd5b505050506040513d602081101561082e57600080fd5b50909392505050565b604080517f23b872dd0000000000000000000000000000000000000000000000000000000081523360048201523060248201526044810183905290516000916001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916323b872dd9160648082019260209290919082900301818787803b1580156108c857600080fd5b505af11580156108dc573d6000803e3d6000fd5b505050506040513d60208110156108f257600080fd5b506000905061090083610503565b905061044f3382610de2565b6001600160a01b0383166109515760405162461bcd60e51b815260040180806020018281038252602481526020018061109b6024913960400191505060405180910390fd5b6001600160a01b0382166109965760405162461bcd60e51b8152600401808060200182810382526022815260200180610fc46022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610a3d5760405162461bcd60e51b81526004018080602001828103825260258152602001806110766025913960400191505060405180910390fd5b6001600160a01b038216610a825760405162461bcd60e51b8152600401808060200182810382526023815260200180610f7f6023913960400191505060405180910390fd5b610a8d838383610ed2565b610aca81604051806060016040528060268152602001610fe6602691396001600160a01b0386166000908152602081905260409020549190610b53565b6001600160a01b038085166000908152602081905260408082209390935590841681522054610af99082610bea565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008184841115610be25760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610ba7578181015183820152602001610b8f565b50505050905090810190601f168015610bd45780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600082820183811015610c44576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b600082610c5a5750600061044f565b82820282848281610c6757fe5b0414610c445760405162461bcd60e51b815260040180806020018281038252602181526020018061100c6021913960400191505060405180910390fd5b6000610c4483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610ed7565b6001600160a01b038216610d2b5760405162461bcd60e51b81526004018080602001828103825260218152602001806110556021913960400191505060405180910390fd5b610d3782600083610ed2565b610d7481604051806060016040528060228152602001610fa2602291396001600160a01b0385166000908152602081905260409020549190610b53565b6001600160a01b038316600090815260208190526040902055600254610d9a9082610f3c565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b6001600160a01b038216610e3d576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b610e4960008383610ed2565b600254610e569082610bea565b6002556001600160a01b038216600090815260208190526040902054610e7c9082610bea565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b505050565b60008183610f265760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610ba7578181015183820152602001610b8f565b506000838581610f3257fe5b0495945050505050565b6000610c4483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610b5356fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220d9e07d3c6405e1443679ec7a216ceb5101ce673040efafaa63d67cbe5a2f693e64736f6c634300070500330000000000000000000000002482ec3928adf1718caa5956608684f5a54e14d0