[ { "inputs": [ { "internalType": "address", "name": "_wandProtocol", "type": "address" }, { "internalType": "address", "name": "_settings", "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": false, "internalType": "uint256", "name": "addedSupply", "type": "uint256" } ], "name": "Rebased", "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" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "from", "type": "address" }, { "indexed": true, "internalType": "address", "name": "to", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "sharesValue", "type": "uint256" } ], "name": "TransferShares", "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": "blast", "outputs": [ { "internalType": "contract IBlast", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "burn", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "decimals", "outputs": [ { "internalType": "uint8", "name": "", "type": "uint8" } ], "stateMutability": "pure", "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": "uint256", "name": "sharesAmount", "type": "uint256" } ], "name": "getBalanceByShares", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "balance", "type": "uint256" } ], "name": "getSharesByBalance", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "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": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "mint", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "owner", "outputs": [ { "internalType": "address", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "uint256", "name": "addedSupply", "type": "uint256" } ], "name": "rebase", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "settings", "outputs": [ { "internalType": "contract IProtocolSettings", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "account", "type": "address" } ], "name": "sharesOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "symbol", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "pure", "type": "function" }, { "inputs": [], "name": "totalShares", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "totalSupply", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "transfer", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "from", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "amount", "type": "uint256" } ], "name": "transferFrom", "outputs": [ { "internalType": "bool", "name": "", "type": "bool" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "sharesAmount", "type": "uint256" } ], "name": "transferShares", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "sender", "type": "address" }, { "internalType": "address", "name": "to", "type": "address" }, { "internalType": "uint256", "name": "sharesAmount", "type": "uint256" } ], "name": "transferSharesFrom", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "nonpayable", "type": "function" }, { "inputs": [], "name": "wandProtocol", "outputs": [ { "internalType": "contract IWandProtocol", "name": "", "type": "address" } ], "stateMutability": "view", "type": "function" } ]
60e06040523462000076576200001f620000186200012a565b9062000214565b6040516118cc6200041982396080518181816104470152818161070b01528181610f54015281816111360152611210015260a0518181816103280152610ac2015260c0518181816106580152610b6501526118cc90f35b600080fd5b634e487b7160e01b600052604160045260246000fd5b90601f01601f191681019081106001600160401b03821117620000b357604052565b6200007b565b90620000d0620000c860405190565b928362000091565b565b6001600160a01b031690565b90565b6001600160a01b038116036200007657565b90505190620000d082620000e1565b91906040838203126200007657620000de90620001208185620000f3565b93602001620000f3565b6200014d62001ce5803803806200014181620000b9565b92833981019062000102565b9091565b620000d2620000de620000de9290565b620000de9062000151565b156200017457565b60405162461bcd60e51b815260206004820152601560248201527f5a65726f206164647265737320646574656374656400000000000000000000006044820152606490fd5b620000de90620000d2906001600160a01b031682565b620000de90620001b9565b620000de90620001cf565b906020828203126200007657620000de91620000f3565b6040513d6000823e3d90fd5b60009103126200007657565b906200025c906200022583620003c7565b62000256600093620002378562000161565b906001600160a01b0380831691161415908162000375575b506200016c565b620001da565b60c0526200029560206200027c620002566080516001600160a01b031690565b6349d3d5e1906200028c60405190565b93849260e01b90565b825260049082905afa80156200033a57620002ba9160009162000340575b50620001da565b60a052620002d46200025660a0516001600160a01b031690565b634e606c4790803b156200007657620002f39183916200028c60405190565b8252600490829084905af180156200033a576200030e575050565b81620000d092903d1062000332575b62000329818362000091565b81019062000208565b503d6200031d565b620001fc565b62000366915060203d81116200036d575b6200035d818362000091565b810190620001e5565b38620002b3565b503d62000351565b6001600160a01b031690506001600160a01b0383161415386200024f565b620000de620000de620000de9290565b620000de600162000393565b90620000de620000de620003c39262000393565b9055565b620003d290620003e8565b620000d0620003e0620003a3565b6000620003af565b62000413906200025662000401620000d2600062000161565b6001600160a01b03831614156200016c565b60805256fe6080604052600436101561001257600080fd5b60003560e01c806306fdde0314610192578063095ea7b31461018d578063175e1a7d1461018857806318160ddd1461018357806323b872dd1461017e578063313ce5671461017957806339509351146101745780633a98ef391461016f5780633fef6dc11461016a57806340c10f19146101655780636d7804591461016057806370a082311461015b5780638da57af6146101565780638da5cb5b146101515780638fcb4e5b1461014c57806395d89b41146101475780639dc29fac14610142578063a457c2d71461013d578063a9059cbb14610138578063bc4f2d6d14610133578063db977f951461012e578063dd62ed3e14610129578063e06174e4146101245763f5eb42dc036101a25761067c565b610643565b610627565b6105e9565b6105cc565b6105b0565b610594565b610578565b61055d565b610541565b61051a565b6104e6565b6104b7565b610487565b61046b565b610432565b610417565b6103fb565b6103cc565b6103b0565b610354565b610313565b6102a6565b610216565b60009103126101a257565b600080fd5b60005b8381106101ba5750506000910152565b81810151838201526020016101aa565b6101eb6101f46020936101fe936101df815190565b80835293849260200190565b958691016101a7565b601f01601f191690565b0190565b6020808252610213929101906101ca565b90565b346101a257610226366004610197565b61023d6102316107fd565b60405191829182610202565b0390f35b6001600160a01b031690565b61025681610241565b036101a257565b9050359061026a8261024d565b565b80610256565b9050359061026a8261026c565b91906040838203126101a25761021390610299818561025d565b93602001610272565b9052565b346101a25761023d6102c26102bc36600461027f565b90610da9565b60405191829182901515815260200190565b61021390610241906001600160a01b031682565b610213906102d4565b610213906102e8565b6102a2906102f1565b60208101929161026a91906102fa565b346101a257610323366004610197565b61023d7f00000000000000000000000000000000000000000000000000000000000000005b60405191829182610303565b346101a257610364366004610197565b61023d61036f61085c565b6040515b9182918290815260200190565b90916060828403126101a257610213610399848461025d565b936103a7816020860161025d565b93604001610272565b346101a25761023d6102c26103c6366004610380565b91610d7f565b346101a2576103dc366004610197565b61023d6103e7610841565b6040519182918260ff909116815260200190565b346101a25761023d6102c261041136600461027f565b90610dee565b346101a257610427366004610197565b61023d61036f6108bd565b346101a257610442366004610197565b61023d7f0000000000000000000000000000000000000000000000000000000000000000610348565b346101a25761023d61036f61048136600461027f565b90611106565b346101a25761023d61036f61049d366004610380565b9161132f565b906020828203126101a2576102139161025d565b346101a25761023d61036f6104cd3660046104a3565b61087e565b906020828203126101a25761021391610272565b346101a25761023d61036f6104fc3660046104d2565b6108e3565b6102a290610241565b60208101929161026a9190610501565b346101a25761052a366004610197565b61023d610535610701565b6040519182918261050a565b346101a25761023d61036f61055736600461027f565b906112ea565b346101a25761056d366004610197565b61023d610231610826565b346101a25761023d61036f61058e36600461027f565b906112aa565b346101a25761023d6102c26105aa36600461027f565b90610e9c565b346101a25761023d6102c26105c636600461027f565b90610ca6565b346101a2576105e46105df3660046104d2565b6111ec565b604051005b346101a25761023d61036f6105ff3660046104d2565b6109bb565b91906040838203126101a2576102139061061e818561025d565b9360200161025d565b346101a25761023d61036f61063d366004610604565b9061089d565b346101a257610653366004610197565b61023d7f0000000000000000000000000000000000000000000000000000000000000000610348565b346101a25761023d61036f6106923660046104a3565b6108c7565b634e487b7160e01b600052604160045260246000fd5b90601f01601f1916810190811067ffffffffffffffff8211176106cf57604052565b610697565b9050519061026a8261024d565b906020828203126101a257610213916106d4565b6040513d6000823e3d90fd5b610747602061072f7f00000000000000000000000000000000000000000000000000000000000000006102f1565b63c1d6ba699061073e60405190565b93849260e01b90565b825260049082905afa90811561078a57600091610762575090565b610213915060203d8111610783575b61077b81836106ad565b8101906106e1565b503d610771565b6106f5565b9061026a61079c60405190565b92836106ad565b67ffffffffffffffff81116106cf57602090601f01601f19160190565b906107d26107cd836107a3565b61078f565b918252565b6107e160086107c0565b672bb0b732102aa9a160c11b602082015290565b6102136107d7565b6102136107f5565b61080f60036107c0565b622aa9a160e91b602082015290565b610213610805565b61021361081e565b61083b6102136102139290565b60ff1690565b610213601261082e565b6102139081565b610213905461084b565b6102136001610852565b90610870906102f1565b600052602052604060002090565b6105ff61089861021392610890600090565b506003610866565b610852565b610213916108b8610898926108b0600090565b506004610866565b610866565b6102136002610852565b61089861021391610890600090565b6102136102136102139290565b6108ed6001610852565b6000906109006108fc836108d6565b9190565b14908115610935575b50610213576109256102139161091f6002610852565b90610982565b61092f6001610852565b906109b1565b905061094d6108fc6109476002610852565b926108d6565b1438610909565b634e487b7160e01b600052601160045260246000fd5b8181029291811591840414171561097d57565b610954565b610213919061096a565b634e487b7160e01b600052601260045260246000fd5b81156109ac570490565b61098c565b61021391906109a2565b6109c56002610852565b6000906109d46108fc836108d6565b146109f557506109eb6102139161091f6001610852565b61092f6002610852565b61021391506108d6565b90610a129291610a0d610d1c565b610ab1565b9061026a610d4e565b9050519061026a8261026c565b600211156101a257565b9050519061026a82610a28565b6080818303126101a257610a538282610a1b565b92610213610a648460208501610a1b565b93610a728160408601610a1b565b93606001610a32565b906020828203126101a25761021391610a1b565b91602061026a929493610aaa60408201966000830190610501565b0190610501565b90610abc9291610c90565b90610ae67f00000000000000000000000000000000000000000000000000000000000000006102f1565b63dde798a490610af5306102f1565b610b08610b0160405190565b9360e01b90565b835260808380610b1b846004830161050a565b0381855afa92831561078a57600080919094610c5c575b50600093610b426108fc866108d6565b119081610c47575b50610b5457505050565b610ba19163954fa5ee936020610b897f00000000000000000000000000000000000000000000000000000000000000006102f1565b6361d027b390610b9860405190565b96879260e01b90565b825260049082905afa93841561078a57600094610c21575b50610bdb9060209495610be6610bce60405190565b9788968795869460e01b90565b845260048401610a8f565b03925af1801561078a57610bf75750565b610c179060203d8111610c1a575b610c0f81836106ad565b810190610a7b565b50565b503d610c05565b6020945090610c3f610bdb92863d81116107835761077b81836106ad565b945090610bb9565b9050610c556108fc856108d6565b1138610b4a565b9050610c8091935060803d8111610c89575b610c7881836106ad565b810190610a3f565b50939193610b32565b503d610c6e565b50610ca191903361133c565b61133c565b600190565b610213919060006109ff565b61021360026108d6565b15610cc357565b60405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606490fd5b90610213610213610d18926108d6565b9055565b61026a610d296000610852565b610d3d610d34610cb2565b91821415610cbc565b6000610d08565b61021360016108d6565b61026a610d3d610d44565b90610a12939291610d68610d1c565b50610abc92610ca1929091610c9c83335b836114c4565b6102139291906000610d59565b90610a129291610d9a610d1c565b50610abc91610ca191336113e5565b61021391906000610d8c565b90610a129291610dc3610d1c565b50610abc91610ca191610de83392610de3610898846108b8876004610866565b610e07565b916113e5565b61021391906000610db5565b9190820180921161097d57565b6102139190610dfa565b90610a129291610e1f610d1c565b90610abc9291610e6d565b15610e3157565b60405162461bcd60e51b8152602060048201526014602482015273416c6c6f77616e63652062656c6f77207a65726f60601b6044820152606490fd5b50610ca191339190610de890610e8b610898846108b8876004610866565b610e9782821015610e2a565b610eb5565b61021391906000610e11565b9190820391821161097d57565b6102139190610ea8565b90610a129291610ecd610d1c565b610f47565b801515610256565b9050519061026a82610ed2565b906020828203126101a25761021391610eda565b15610f0257565b60405162461bcd60e51b815260206004820152601e60248201527f43616c6c6572206973206e6f742061205661756c7420636f6e747261637400006044820152606490fd5b90610fa492916020610f787f00000000000000000000000000000000000000000000000000000000000000006102f1565b63652b9b4190610f993392610f8c60405190565b9889948593849360e01b90565b83526004830161050a565b03915afa93841561078a5761021394610fc591600091610fca575b50610efb565b611091565b610feb915060203d8111610ff1575b610fe381836106ad565b810190610ee7565b38610fbf565b503d610fd9565b6102416102136102139290565b61021390610ff8565b1561101557565b60405162461bcd60e51b815260206004820152601560248201527416995c9bc81859191c995cdcc819195d1958dd1959605a1b6044820152606490fd5b1561105957565b60405162461bcd60e51b815260206004820152601060248201526f105b5bdd5b9d081d1bdbc81cdb585b1b60821b6044820152606490fd5b5090610213906000906110d26110cb6110a984611005565b936110c66110b686610241565b6110bf89610241565b141561100e565b6108d6565b8211611052565b6110db816108e3565b9384926110e8848361170e565b506111016110fa84610de36001610852565b6001610d08565b61181d565b61021391906000610ebf565b6111239061111e610d1c565b61112b565b61026a610d4e565b61117b90602061115a7f00000000000000000000000000000000000000000000000000000000000000006102f1565b63652b9b4190610f99339261116e60405190565b9687948593849360e01b90565b03915afa91821561078a5761026a9261119b91600091610fca5750610efb565b6111a86110cb60006108d6565b6111b96110fa82610de36001610852565b6111e77fa3e5fc7a6648da6157201f1e26fcbbfeee8088fb7914fb85edf2056040c234c59161037360405190565b0390a1565b61026a90611112565b90610a129291611203610d1c565b9061123492916020610f787f00000000000000000000000000000000000000000000000000000000000000006102f1565b03915afa93841561078a576102139461125491600091610fca5750610efb565b9061021391506000926112826110cb61126c86611005565b956110c661127988610241565b6110bf87610241565b61128b816108e3565b93826112988680956117af565b506111016110fa84610e976001610852565b610213919060006111f5565b90610a1292916112c4610d1c565b50610abc9161021390336112d9828583611623565b6112e2826109bb565b93849161181d565b610213919060006112b6565b90610a12939291611305610d1c565b50610abc9261021391611317826109bb565b9384916113248333610d79565b611101848383611623565b61021392919060006112f6565b909161026a9261134b826108e3565b92611101848383611623565b1561135e57565b60405162461bcd60e51b8152602060048201526019602482015278417070726f76652066726f6d207a65726f206164647265737360381b6044820152606490fd5b156113a657565b60405162461bcd60e51b8152602060048201526017602482015276417070726f766520746f207a65726f206164647265737360481b6044820152606490fd5b6114266114166113f56000611005565b61141161140182610241565b61140a86610241565b1415611357565b610241565b61141f84610241565b141561139f565b61143e83611439846108b8856004610866565b610d08565b61147e61147461146e7f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925936102f1565b936102f1565b9361037360405190565b0390a3565b1561148a57565b60405162461bcd60e51b8152602060048201526012602482015271105b1b1bddd85b98d948195e18d95959195960721b6044820152606490fd5b906114d7610898826108b8856004610866565b60001981036114e7575b50505050565b61150093610de8916114fb82821015611483565b610ea8565b388080806114e1565b1561151057565b60405162461bcd60e51b815260206004820152601a60248201527f5472616e736665722066726f6d207a65726f20616464726573730000000000006044820152606490fd5b1561155c57565b60405162461bcd60e51b81526020600482015260186024820152775472616e7366657220746f207a65726f206164647265737360401b6044820152606490fd5b156115a357565b60405162461bcd60e51b8152602060048201526019602482015278151c985b9cd9995c881d1bc81d1a1a5cc818dbdb9d1c9858dd603a1b6044820152606490fd5b156115eb57565b60405162461bcd60e51b815260206004820152601060248201526f10985b185b98d948195e18d95959195960821b6044820152606490fd5b90611439906116c561026a9461166b61165b61163f6000611005565b61141161164b82610241565b6116548a610241565b1415611509565b61166485610241565b1415611555565b61168a61167a611411306102f1565b61168385610241565b141561159c565b6116b86003956114396116b1846116a4610898858c610866565b610e9781835b11156115e4565b9188610866565b610de36108988487610866565b92610866565b156116d257565b60405162461bcd60e51b81526020600482015260146024820152734d696e7420746f207a65726f206164647265737360601b6044820152606490fd5b906114396108bd9261171e600090565b5061173f61172f6114116000611005565b61173883610241565b14156116cb565b61175761175084610de36002610852565b6002610d08565b6116c5600393610de36108988487610866565b1561177157565b60405162461bcd60e51b81526020600482015260166024820152754275726e2066726f6d207a65726f206164647265737360501b6044820152606490fd5b906114396108bd926117bf600090565b506117e06117d06114116000611005565b6117d983610241565b141561176a565b6116c56003936117ff6117f96102136108988689610866565b826116aa565b61181061175082610e976002610852565b610e976108988487610866565b916118659391611859936118517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef916102f1565b9485926102f1565b95869361037360405190565b0390a361147e7f9d9c909296d9c674451c0c24f02cb64981eb3b727f99865939192f880a755dcb916103736040519056fea2646970667358221220c5ed7016d054ed7a1eaa4800d0fb3d0f17ab2aa11d8dcc77101ec8465096f05864736f6c63430008120033000000000000000000000000fb3b5a012dff831182e667fc83d37716744694c1000000000000000000000000780743e2ae35e14fe0ae9e02684a0293cf69ef59