[ { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "dst", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "wad", "type": "uint256" }, { "indexed": false, "internalType": "string", "name": "nilAddress", "type": "string" } ], "name": "Deposit", "type": "event" }, { "anonymous": false, "inputs": [ { "indexed": true, "internalType": "address", "name": "src", "type": "address" }, { "indexed": false, "internalType": "uint256", "name": "wad", "type": "uint256" }, { "indexed": false, "internalType": "string", "name": "nilAddress", "type": "string" } ], "name": "Withdrawal", "type": "event" }, { "inputs": [ { "internalType": "address", "name": "", "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": "string", "name": "_nilAddress", "type": "string" } ], "name": "deposit", "outputs": [], "stateMutability": "payable", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_address", "type": "address" } ], "name": "getBalanceOf", "outputs": [ { "internalType": "uint256", "name": "", "type": "uint256" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "_address", "type": "address" } ], "name": "getNilAddress", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [], "name": "name", "outputs": [ { "internalType": "string", "name": "", "type": "string" } ], "stateMutability": "view", "type": "function" }, { "inputs": [ { "internalType": "address", "name": "", "type": "address" } ], "name": "nilAddress", "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": "uint256", "name": "wad", "type": "uint256" } ], "name": "withdraw", "outputs": [], "stateMutability": "nonpayable", "type": "function" }, { "stateMutability": "payable", "type": "receive" } ]
60806040526040518060400160405280601281526020017f4e696c6c696f6e5365637265745661756c7400000000000000000000000000008152505f908161004791906102f3565b506040518060400160405280601281526020017f4e696c6c696f6e5365637265745661756c7400000000000000000000000000008152506001908161008c91906102f3565b50601260025f6101000a81548160ff021916908360ff1602179055503480156100b3575f80fd5b506103c2565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061013457607f821691505b602082108103610147576101466100f0565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026101a97fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8261016e565b6101b3868361016e565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f6101f76101f26101ed846101cb565b6101d4565b6101cb565b9050919050565b5f819050919050565b610210836101dd565b61022461021c826101fe565b84845461017a565b825550505050565b5f90565b61023861022c565b610243818484610207565b505050565b5b818110156102665761025b5f82610230565b600181019050610249565b5050565b601f8211156102ab5761027c8161014d565b6102858461015f565b81016020851015610294578190505b6102a86102a08561015f565b830182610248565b50505b505050565b5f82821c905092915050565b5f6102cb5f19846008026102b0565b1980831691505092915050565b5f6102e383836102bc565b9150826002028217905092915050565b6102fc826100b9565b67ffffffffffffffff811115610315576103146100c3565b5b61031f825461011d565b61032a82828561026a565b5f60209050601f83116001811461035b575f8415610349578287015190505b61035385826102d8565b8655506103ba565b601f1984166103698661014d565b5f5b828110156103905784890151825560018201915060208501945060208101905061036b565b868310156103ad57848901516103a9601f8916826102bc565b8355505b6001600288020188555050505b505050505050565b611204806103cf5f395ff3fe608060405260043610610094575f3560e01c806395d89b411161005857806395d89b41146101ba5780639b96eece146101e4578063a26e118614610220578063ceae15511461023c578063ea79abe414610278576100d4565b806306fdde03146100d857806318160ddd146101025780632e1a7d4d1461012c578063313ce5671461015457806370a082311461017e576100d4565b366100d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016100cb90610923565b60405180910390fd5b5f80fd5b3480156100e3575f80fd5b506100ec6102b4565b6040516100f991906109a1565b60405180910390f35b34801561010d575f80fd5b5061011661033f565b60405161012391906109d9565b60405180910390f35b348015610137575f80fd5b50610152600480360381019061014d9190610a2d565b610346565b005b34801561015f575f80fd5b50610168610551565b6040516101759190610a73565b60405180910390f35b348015610189575f80fd5b506101a4600480360381019061019f9190610ae6565b610563565b6040516101b191906109d9565b60405180910390f35b3480156101c5575f80fd5b506101ce610578565b6040516101db91906109a1565b60405180910390f35b3480156101ef575f80fd5b5061020a60048036038101906102059190610ae6565b610604565b60405161021791906109d9565b60405180910390f35b61023a60048036038101906102359190610c3d565b61064a565b005b348015610247575f80fd5b50610262600480360381019061025d9190610ae6565b61073b565b60405161026f91906109a1565b60405180910390f35b348015610283575f80fd5b5061029e60048036038101906102999190610ae6565b6107d6565b6040516102ab91906109a1565b60405180910390f35b5f80546102c090610cb1565b80601f01602080910402602001604051908101604052809291908181526020018280546102ec90610cb1565b80156103375780601f1061030e57610100808354040283529160200191610337565b820191905f5260205f20905b81548152906001019060200180831161031a57829003601f168201915b505050505081565b5f47905090565b8060035f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205410156103c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103bd90610d2b565b60405180910390fd5b8060035f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546104129190610d76565b925050819055505f3373ffffffffffffffffffffffffffffffffffffffff168260405161043e90610dd6565b5f6040518083038185875af1925050503d805f8114610478576040519150601f19603f3d011682016040523d82523d5f602084013e61047d565b606091505b50509050806104c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104b890610e34565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167fecb269d89bfded20a4f5e6e51b509df1e3309a995946c9be8d6a8e2ddfa6b89c8360045f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20604051610545929190610ee5565b60405180910390a25050565b60025f9054906101000a900460ff1681565b6003602052805f5260405f205f915090505481565b6001805461058590610cb1565b80601f01602080910402602001604051908101604052809291908181526020018280546105b190610cb1565b80156105fc5780601f106105d3576101008083540402835291602001916105fc565b820191905f5260205f20905b8154815290600101906020018083116105df57829003601f168201915b505050505081565b5f60035f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b3460035f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282546106969190610f13565b925050819055508060045f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2090816106e791906110d1565b503373ffffffffffffffffffffffffffffffffffffffff167f643e927b32d5bfd08eccd2fcbd97057ad413850f857a2359639114e8e8dd3d7b34836040516107309291906111a0565b60405180910390a250565b6004602052805f5260405f205f91509050805461075790610cb1565b80601f016020809104026020016040519081016040528092919081815260200182805461078390610cb1565b80156107ce5780601f106107a5576101008083540402835291602001916107ce565b820191905f5260205f20905b8154815290600101906020018083116107b157829003601f168201915b505050505081565b606060045f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20805461082090610cb1565b80601f016020809104026020016040519081016040528092919081815260200182805461084c90610cb1565b80156108975780601f1061086e57610100808354040283529160200191610897565b820191905f5260205f20905b81548152906001019060200180831161087a57829003601f168201915b50505050509050919050565b5f82825260208201905092915050565b7f44697265637420455448207472616e736665727320617265206e6f7420616c6c5f8201527f6f7765642e2055736520746865206465706f7369742066756e6374696f6e2e00602082015250565b5f61090d603f836108a3565b9150610918826108b3565b604082019050919050565b5f6020820190508181035f83015261093a81610901565b9050919050565b5f81519050919050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f61097382610941565b61097d81856108a3565b935061098d81856020860161094b565b61099681610959565b840191505092915050565b5f6020820190508181035f8301526109b98184610969565b905092915050565b5f819050919050565b6109d3816109c1565b82525050565b5f6020820190506109ec5f8301846109ca565b92915050565b5f604051905090565b5f80fd5b5f80fd5b610a0c816109c1565b8114610a16575f80fd5b50565b5f81359050610a2781610a03565b92915050565b5f60208284031215610a4257610a416109fb565b5b5f610a4f84828501610a19565b91505092915050565b5f60ff82169050919050565b610a6d81610a58565b82525050565b5f602082019050610a865f830184610a64565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610ab582610a8c565b9050919050565b610ac581610aab565b8114610acf575f80fd5b50565b5f81359050610ae081610abc565b92915050565b5f60208284031215610afb57610afa6109fb565b5b5f610b0884828501610ad2565b91505092915050565b5f80fd5b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b610b4f82610959565b810181811067ffffffffffffffff82111715610b6e57610b6d610b19565b5b80604052505050565b5f610b806109f2565b9050610b8c8282610b46565b919050565b5f67ffffffffffffffff821115610bab57610baa610b19565b5b610bb482610959565b9050602081019050919050565b828183375f83830152505050565b5f610be1610bdc84610b91565b610b77565b905082815260208101848484011115610bfd57610bfc610b15565b5b610c08848285610bc1565b509392505050565b5f82601f830112610c2457610c23610b11565b5b8135610c34848260208601610bcf565b91505092915050565b5f60208284031215610c5257610c516109fb565b5b5f82013567ffffffffffffffff811115610c6f57610c6e6109ff565b5b610c7b84828501610c10565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680610cc857607f821691505b602082108103610cdb57610cda610c84565b5b50919050565b7f496e73756666696369656e742062616c616e63650000000000000000000000005f82015250565b5f610d156014836108a3565b9150610d2082610ce1565b602082019050919050565b5f6020820190508181035f830152610d4281610d09565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f610d80826109c1565b9150610d8b836109c1565b9250828203905081811115610da357610da2610d49565b5b92915050565b5f81905092915050565b50565b5f610dc15f83610da9565b9150610dcc82610db3565b5f82019050919050565b5f610de082610db6565b9150819050919050565b7f5472616e73666572206661696c656400000000000000000000000000000000005f82015250565b5f610e1e600f836108a3565b9150610e2982610dea565b602082019050919050565b5f6020820190508181035f830152610e4b81610e12565b9050919050565b5f819050815f5260205f209050919050565b5f8154610e7081610cb1565b610e7a81866108a3565b9450600182165f8114610e945760018114610eaa57610edc565b60ff198316865281151560200286019350610edc565b610eb385610e52565b5f5b83811015610ed457815481890152600182019150602081019050610eb5565b808801955050505b50505092915050565b5f604082019050610ef85f8301856109ca565b8181036020830152610f0a8184610e64565b90509392505050565b5f610f1d826109c1565b9150610f28836109c1565b9250828201905080821115610f4057610f3f610d49565b5b92915050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302610f907fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82610f55565b610f9a8683610f55565b95508019841693508086168417925050509392505050565b5f819050919050565b5f610fd5610fd0610fcb846109c1565b610fb2565b6109c1565b9050919050565b5f819050919050565b610fee83610fbb565b611002610ffa82610fdc565b848454610f61565b825550505050565b5f90565b61101661100a565b611021818484610fe5565b505050565b5b81811015611044576110395f8261100e565b600181019050611027565b5050565b601f8211156110895761105a81610e52565b61106384610f46565b81016020851015611072578190505b61108661107e85610f46565b830182611026565b50505b505050565b5f82821c905092915050565b5f6110a95f198460080261108e565b1980831691505092915050565b5f6110c1838361109a565b9150826002028217905092915050565b6110da82610941565b67ffffffffffffffff8111156110f3576110f2610b19565b5b6110fd8254610cb1565b611108828285611048565b5f60209050601f831160018114611139575f8415611127578287015190505b61113185826110b6565b865550611198565b601f19841661114786610e52565b5f5b8281101561116e57848901518255600182019150602085019450602081019050611149565b8683101561118b5784890151611187601f89168261109a565b8355505b6001600288020188555050505b505050505050565b5f6040820190506111b35f8301856109ca565b81810360208301526111c58184610969565b9050939250505056fea26469706673582212203df155b366e6bff630e3ebf3ded9704f1d8df9c4a4017d1be9e1adf9552f853064736f6c634300081a0033