@tokamak-network/thanos-contracts
Version:
1 lines • 49.6 kB
JSON
{"abi":[{"type":"function","name":"allowance","inputs":[{"name":"owner","type":"address","internalType":"address"},{"name":"spender","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"approve","inputs":[{"name":"guy","type":"address","internalType":"address"},{"name":"wad","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"type":"function","name":"balanceOf","inputs":[{"name":"owner","type":"address","internalType":"address"}],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"decimals","inputs":[],"outputs":[{"name":"","type":"uint8","internalType":"uint8"}],"stateMutability":"pure"},{"type":"function","name":"deposit","inputs":[],"outputs":[],"stateMutability":"payable"},{"type":"function","name":"name","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"type":"function","name":"symbol","inputs":[],"outputs":[{"name":"","type":"string","internalType":"string"}],"stateMutability":"view"},{"type":"function","name":"totalSupply","inputs":[],"outputs":[{"name":"","type":"uint256","internalType":"uint256"}],"stateMutability":"view"},{"type":"function","name":"transfer","inputs":[{"name":"dst","type":"address","internalType":"address"},{"name":"wad","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"type":"function","name":"transferFrom","inputs":[{"name":"src","type":"address","internalType":"address"},{"name":"dst","type":"address","internalType":"address"},{"name":"wad","type":"uint256","internalType":"uint256"}],"outputs":[{"name":"","type":"bool","internalType":"bool"}],"stateMutability":"nonpayable"},{"type":"function","name":"withdraw","inputs":[{"name":"wad","type":"uint256","internalType":"uint256"}],"outputs":[],"stateMutability":"nonpayable"},{"type":"event","name":"Approval","inputs":[{"name":"src","type":"address","indexed":true,"internalType":"address"},{"name":"guy","type":"address","indexed":true,"internalType":"address"},{"name":"wad","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"Deposit","inputs":[{"name":"dst","type":"address","indexed":true,"internalType":"address"},{"name":"wad","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"name":"src","type":"address","indexed":true,"internalType":"address"},{"name":"dst","type":"address","indexed":true,"internalType":"address"},{"name":"wad","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false},{"type":"event","name":"Withdrawal","inputs":[{"name":"src","type":"address","indexed":true,"internalType":"address"},{"name":"wad","type":"uint256","indexed":false,"internalType":"uint256"}],"anonymous":false}],"bytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"deployedBytecode":{"object":"0x","sourceMap":"","linkReferences":{}},"methodIdentifiers":{"allowance(address,address)":"dd62ed3e","approve(address,uint256)":"095ea7b3","balanceOf(address)":"70a08231","decimals()":"313ce567","deposit()":"d0e30db0","name()":"06fdde03","symbol()":"95d89b41","totalSupply()":"18160ddd","transfer(address,uint256)":"a9059cbb","transferFrom(address,address,uint256)":"23b872dd","withdraw(uint256)":"2e1a7d4d"},"rawMetadata":"{\"compiler\":{\"version\":\"0.8.15+commit.e14f2714\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"src\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"guy\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"dst\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"src\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"dst\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"src\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"Withdrawal\",\"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\":\"guy\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"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\":\"dst\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"src\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"dst\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"wad\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"events\":{\"Approval(address,address,uint256)\":{\"params\":{\"guy\":\"The address that was approved to transfer.\",\"src\":\"The address that approved the transfer.\",\"wad\":\"The amount that was approved to transfer.\"}},\"Deposit(address,uint256)\":{\"params\":{\"dst\":\"The address that deposited the WETH.\",\"wad\":\"The amount of WETH that was deposited.\"}},\"Transfer(address,address,uint256)\":{\"params\":{\"dst\":\"The address that received the WETH.\",\"src\":\"The address that transferred the WETH.\",\"wad\":\"The amount of WETH that was transferred.\"}},\"Withdrawal(address,uint256)\":{\"params\":{\"src\":\"The address that withdrew the WETH.\",\"wad\":\"The amount of WETH that was withdrawn.\"}}},\"kind\":\"dev\",\"methods\":{\"allowance(address,address)\":{\"params\":{\"owner\":\"The address that owns the WETH.\",\"spender\":\"The address that is approved to transfer the WETH.\"},\"returns\":{\"_0\":\"The amount of WETH that the spender can transfer on behalf of the owner.\"}},\"approve(address,uint256)\":{\"params\":{\"guy\":\"The address that is approved to transfer the WETH.\",\"wad\":\"The amount that is approved to transfer.\"},\"returns\":{\"_0\":\"True if the approval was successful.\"}},\"balanceOf(address)\":{\"params\":{\"owner\":\"The address to query the balance of.\"},\"returns\":{\"_0\":\"The balance of the given address.\"}},\"decimals()\":{\"returns\":{\"_0\":\"The number of decimals the token uses.\"}},\"name()\":{\"returns\":{\"_0\":\"The name of the token.\"}},\"symbol()\":{\"returns\":{\"_0\":\"The symbol of the token.\"}},\"totalSupply()\":{\"returns\":{\"_0\":\"The total supply of WETH.\"}},\"transfer(address,uint256)\":{\"params\":{\"dst\":\"The address to transfer the WETH to.\",\"wad\":\"The amount of WETH to transfer.\"},\"returns\":{\"_0\":\"True if the transfer was successful.\"}},\"transferFrom(address,address,uint256)\":{\"params\":{\"dst\":\"The address to transfer the WETH to.\",\"src\":\"The address to transfer the WETH from.\",\"wad\":\"The amount of WETH to transfer.\"},\"returns\":{\"_0\":\"True if the transfer was successful.\"}},\"withdraw(uint256)\":{\"params\":{\"wad\":\"The amount of ETH to withdraw.\"}}},\"title\":\"IWETH\",\"version\":1},\"userdoc\":{\"events\":{\"Approval(address,address,uint256)\":{\"notice\":\"Emitted when an approval is made.\"},\"Deposit(address,uint256)\":{\"notice\":\"Emitted when a deposit is made.\"},\"Transfer(address,address,uint256)\":{\"notice\":\"Emitted when a transfer is made.\"},\"Withdrawal(address,uint256)\":{\"notice\":\"Emitted when a withdrawal is made.\"}},\"kind\":\"user\",\"methods\":{\"allowance(address,address)\":{\"notice\":\"Returns the amount of WETH that the spender can transfer on behalf of the owner.\"},\"approve(address,uint256)\":{\"notice\":\"Approves the given address to transfer the WETH on behalf of the caller.\"},\"balanceOf(address)\":{\"notice\":\"Returns the balance of the given address.\"},\"decimals()\":{\"notice\":\"Returns the number of decimals the token uses.\"},\"deposit()\":{\"notice\":\"Allows WETH to be deposited by sending ether to the contract.\"},\"name()\":{\"notice\":\"Returns the name of the token.\"},\"symbol()\":{\"notice\":\"Returns the symbol of the token.\"},\"totalSupply()\":{\"notice\":\"Returns the total supply of WETH.\"},\"transfer(address,uint256)\":{\"notice\":\"Transfers the given amount of WETH to the given address.\"},\"transferFrom(address,address,uint256)\":{\"notice\":\"Transfers the given amount of WETH from the given address to the given address.\"},\"withdraw(uint256)\":{\"notice\":\"Withdraws an amount of ETH.\"}},\"notice\":\"Interface for WETH9.\",\"version\":1}},\"settings\":{\"compilationTarget\":{\"src/dispute/interfaces/IWETH.sol\":\"IWETH\"},\"evmVersion\":\"london\",\"libraries\":{\"src/tokamak-contracts/USDC/L2/tokamak-USDC/v2/FiatTokenV2_2.sol:SignatureChecker\":\"0x4200000000000000000000000000000000000776\"},\"metadata\":{\"bytecodeHash\":\"none\"},\"optimizer\":{\"enabled\":true,\"runs\":999999},\"remappings\":[\":@lib-keccak/=lib/lib-keccak/contracts/lib/\",\":@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/\",\":@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/\",\":@openzeppelin/contracts_v3.1.0/=lib/openzeppelin-contracts_v3.1.0/contracts/\",\":@openzeppelin/contracts_v5.0.1/=lib/openzeppelin-contracts_v5.0.1/contracts/\",\":@rari-capital/solmate/=lib/solmate/\",\":@solady-test/=lib/lib-keccak/lib/solady/test/\",\":@solady/=lib/solady/src/\",\":automate/=lib/automate/contracts/\",\":ds-test/=lib/forge-std/lib/ds-test/src/\",\":erc4626-tests/=lib/openzeppelin-contracts_v5.0.1/lib/erc4626-tests/\",\":forge-std/=lib/forge-std/src/\",\":gelato/=lib/automate/contracts/\",\":hardhat/=lib/automate/node_modules/hardhat/\",\":kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/\",\":lib-keccak/=lib/lib-keccak/contracts/\",\":openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/\",\":openzeppelin-contracts/=lib/openzeppelin-contracts/\",\":openzeppelin-contracts_v3.1.0/=lib/openzeppelin-contracts_v3.1.0/contracts/\",\":openzeppelin-contracts_v5.0.1/=lib/openzeppelin-contracts_v5.0.1/\",\":prb-test/=lib/automate/lib/prb-test/src/\",\":prb/-est/=lib/automate/lib/prb-test/src/\",\":safe-contracts/=lib/safe-contracts/contracts/\",\":solady/=lib/solady/\",\":solmate/=lib/solmate/src/\"]},\"sources\":{\"src/dispute/interfaces/IWETH.sol\":{\"keccak256\":\"0x3858f6c0ce3ec7978b1ea1772484c25aec7c8c480ceaf18239f726fdd06fdd1f\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://b72cf3bc31324409480e9ae6eb3e2654da8dff3cbf9f2136b19fe714293b3766\",\"dweb:/ipfs/QmTW3JiFUo8pYhDbthPH8ZSp5f1nmdga4CSzo4YdEzppnM\"]}},\"version\":1}","metadata":{"compiler":{"version":"0.8.15+commit.e14f2714"},"language":"Solidity","output":{"abi":[{"inputs":[{"internalType":"address","name":"src","type":"address","indexed":true},{"internalType":"address","name":"guy","type":"address","indexed":true},{"internalType":"uint256","name":"wad","type":"uint256","indexed":false}],"type":"event","name":"Approval","anonymous":false},{"inputs":[{"internalType":"address","name":"dst","type":"address","indexed":true},{"internalType":"uint256","name":"wad","type":"uint256","indexed":false}],"type":"event","name":"Deposit","anonymous":false},{"inputs":[{"internalType":"address","name":"src","type":"address","indexed":true},{"internalType":"address","name":"dst","type":"address","indexed":true},{"internalType":"uint256","name":"wad","type":"uint256","indexed":false}],"type":"event","name":"Transfer","anonymous":false},{"inputs":[{"internalType":"address","name":"src","type":"address","indexed":true},{"internalType":"uint256","name":"wad","type":"uint256","indexed":false}],"type":"event","name":"Withdrawal","anonymous":false},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"stateMutability":"view","type":"function","name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"guy","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function","name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[],"stateMutability":"pure","type":"function","name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}]},{"inputs":[],"stateMutability":"payable","type":"function","name":"deposit"},{"inputs":[],"stateMutability":"view","type":"function","name":"name","outputs":[{"internalType":"string","name":"","type":"string"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}]},{"inputs":[],"stateMutability":"view","type":"function","name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}]},{"inputs":[{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"address","name":"src","type":"address"},{"internalType":"address","name":"dst","type":"address"},{"internalType":"uint256","name":"wad","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}]},{"inputs":[{"internalType":"uint256","name":"wad","type":"uint256"}],"stateMutability":"nonpayable","type":"function","name":"withdraw"}],"devdoc":{"kind":"dev","methods":{"allowance(address,address)":{"params":{"owner":"The address that owns the WETH.","spender":"The address that is approved to transfer the WETH."},"returns":{"_0":"The amount of WETH that the spender can transfer on behalf of the owner."}},"approve(address,uint256)":{"params":{"guy":"The address that is approved to transfer the WETH.","wad":"The amount that is approved to transfer."},"returns":{"_0":"True if the approval was successful."}},"balanceOf(address)":{"params":{"owner":"The address to query the balance of."},"returns":{"_0":"The balance of the given address."}},"decimals()":{"returns":{"_0":"The number of decimals the token uses."}},"name()":{"returns":{"_0":"The name of the token."}},"symbol()":{"returns":{"_0":"The symbol of the token."}},"totalSupply()":{"returns":{"_0":"The total supply of WETH."}},"transfer(address,uint256)":{"params":{"dst":"The address to transfer the WETH to.","wad":"The amount of WETH to transfer."},"returns":{"_0":"True if the transfer was successful."}},"transferFrom(address,address,uint256)":{"params":{"dst":"The address to transfer the WETH to.","src":"The address to transfer the WETH from.","wad":"The amount of WETH to transfer."},"returns":{"_0":"True if the transfer was successful."}},"withdraw(uint256)":{"params":{"wad":"The amount of ETH to withdraw."}}},"version":1},"userdoc":{"kind":"user","methods":{"allowance(address,address)":{"notice":"Returns the amount of WETH that the spender can transfer on behalf of the owner."},"approve(address,uint256)":{"notice":"Approves the given address to transfer the WETH on behalf of the caller."},"balanceOf(address)":{"notice":"Returns the balance of the given address."},"decimals()":{"notice":"Returns the number of decimals the token uses."},"deposit()":{"notice":"Allows WETH to be deposited by sending ether to the contract."},"name()":{"notice":"Returns the name of the token."},"symbol()":{"notice":"Returns the symbol of the token."},"totalSupply()":{"notice":"Returns the total supply of WETH."},"transfer(address,uint256)":{"notice":"Transfers the given amount of WETH to the given address."},"transferFrom(address,address,uint256)":{"notice":"Transfers the given amount of WETH from the given address to the given address."},"withdraw(uint256)":{"notice":"Withdraws an amount of ETH."}},"version":1}},"settings":{"remappings":["@lib-keccak/=lib/lib-keccak/contracts/lib/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","@openzeppelin/contracts_v3.1.0/=lib/openzeppelin-contracts_v3.1.0/contracts/","@openzeppelin/contracts_v5.0.1/=lib/openzeppelin-contracts_v5.0.1/contracts/","@rari-capital/solmate/=lib/solmate/","@solady-test/=lib/lib-keccak/lib/solady/test/","@solady/=lib/solady/src/","automate/=lib/automate/contracts/","ds-test/=lib/forge-std/lib/ds-test/src/","erc4626-tests/=lib/openzeppelin-contracts_v5.0.1/lib/erc4626-tests/","forge-std/=lib/forge-std/src/","gelato/=lib/automate/contracts/","hardhat/=lib/automate/node_modules/hardhat/","kontrol-cheatcodes/=lib/kontrol-cheatcodes/src/","lib-keccak/=lib/lib-keccak/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/","openzeppelin-contracts/=lib/openzeppelin-contracts/","openzeppelin-contracts_v3.1.0/=lib/openzeppelin-contracts_v3.1.0/contracts/","openzeppelin-contracts_v5.0.1/=lib/openzeppelin-contracts_v5.0.1/","prb-test/=lib/automate/lib/prb-test/src/","prb/-est/=lib/automate/lib/prb-test/src/","safe-contracts/=lib/safe-contracts/contracts/","solady/=lib/solady/","solmate/=lib/solmate/src/"],"optimizer":{"enabled":true,"runs":999999},"metadata":{"bytecodeHash":"none"},"compilationTarget":{"src/dispute/interfaces/IWETH.sol":"IWETH"},"evmVersion":"london","libraries":{"src/tokamak-contracts/USDC/L2/tokamak-USDC/v2/FiatTokenV2_2.sol:SignatureChecker":"0x4200000000000000000000000000000000000776"}},"sources":{"src/dispute/interfaces/IWETH.sol":{"keccak256":"0x3858f6c0ce3ec7978b1ea1772484c25aec7c8c480ceaf18239f726fdd06fdd1f","urls":["bzz-raw://b72cf3bc31324409480e9ae6eb3e2654da8dff3cbf9f2136b19fe714293b3766","dweb:/ipfs/QmTW3JiFUo8pYhDbthPH8ZSp5f1nmdga4CSzo4YdEzppnM"],"license":"MIT"}},"version":1},"storageLayout":{"storage":[],"types":{}},"userdoc":{"version":1,"kind":"user","methods":{"allowance(address,address)":{"notice":"Returns the amount of WETH that the spender can transfer on behalf of the owner."},"approve(address,uint256)":{"notice":"Approves the given address to transfer the WETH on behalf of the caller."},"balanceOf(address)":{"notice":"Returns the balance of the given address."},"decimals()":{"notice":"Returns the number of decimals the token uses."},"deposit()":{"notice":"Allows WETH to be deposited by sending ether to the contract."},"name()":{"notice":"Returns the name of the token."},"symbol()":{"notice":"Returns the symbol of the token."},"totalSupply()":{"notice":"Returns the total supply of WETH."},"transfer(address,uint256)":{"notice":"Transfers the given amount of WETH to the given address."},"transferFrom(address,address,uint256)":{"notice":"Transfers the given amount of WETH from the given address to the given address."},"withdraw(uint256)":{"notice":"Withdraws an amount of ETH."}},"events":{"Approval(address,address,uint256)":{"notice":"Emitted when an approval is made."},"Deposit(address,uint256)":{"notice":"Emitted when a deposit is made."},"Transfer(address,address,uint256)":{"notice":"Emitted when a transfer is made."},"Withdrawal(address,uint256)":{"notice":"Emitted when a withdrawal is made."}},"notice":"Interface for WETH9."},"devdoc":{"version":1,"kind":"dev","methods":{"allowance(address,address)":{"params":{"owner":"The address that owns the WETH.","spender":"The address that is approved to transfer the WETH."},"returns":{"_0":"The amount of WETH that the spender can transfer on behalf of the owner."}},"approve(address,uint256)":{"params":{"guy":"The address that is approved to transfer the WETH.","wad":"The amount that is approved to transfer."},"returns":{"_0":"True if the approval was successful."}},"balanceOf(address)":{"params":{"owner":"The address to query the balance of."},"returns":{"_0":"The balance of the given address."}},"decimals()":{"returns":{"_0":"The number of decimals the token uses."}},"name()":{"returns":{"_0":"The name of the token."}},"symbol()":{"returns":{"_0":"The symbol of the token."}},"totalSupply()":{"returns":{"_0":"The total supply of WETH."}},"transfer(address,uint256)":{"params":{"dst":"The address to transfer the WETH to.","wad":"The amount of WETH to transfer."},"returns":{"_0":"True if the transfer was successful."}},"transferFrom(address,address,uint256)":{"params":{"dst":"The address to transfer the WETH to.","src":"The address to transfer the WETH from.","wad":"The amount of WETH to transfer."},"returns":{"_0":"True if the transfer was successful."}},"withdraw(uint256)":{"params":{"wad":"The amount of ETH to withdraw."}}},"events":{"Approval(address,address,uint256)":{"params":{"guy":"The address that was approved to transfer.","src":"The address that approved the transfer.","wad":"The amount that was approved to transfer."}},"Deposit(address,uint256)":{"params":{"dst":"The address that deposited the WETH.","wad":"The amount of WETH that was deposited."}},"Transfer(address,address,uint256)":{"params":{"dst":"The address that received the WETH.","src":"The address that transferred the WETH.","wad":"The amount of WETH that was transferred."}},"Withdrawal(address,uint256)":{"params":{"src":"The address that withdrew the WETH.","wad":"The amount of WETH that was withdrawn."}}},"title":"IWETH"},"ast":{"absolutePath":"src/dispute/interfaces/IWETH.sol","id":110027,"exportedSymbols":{"IWETH":[110026]},"nodeType":"SourceUnit","src":"32:3719:195","nodes":[{"id":109908,"nodeType":"PragmaDirective","src":"32:23:195","nodes":[],"literals":["solidity","^","0.8",".0"]},{"id":110026,"nodeType":"ContractDefinition","src":"107:3643:195","nodes":[{"id":109918,"nodeType":"EventDefinition","src":"361:70:195","nodes":[],"anonymous":false,"documentation":{"id":109910,"nodeType":"StructuredDocumentation","src":"129:227:195","text":"@notice Emitted when an approval is made.\n @param src The address that approved the transfer.\n @param guy The address that was approved to transfer.\n @param wad The amount that was approved to transfer."},"eventSelector":"8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925","name":"Approval","nameLocation":"367:8:195","parameters":{"id":109917,"nodeType":"ParameterList","parameters":[{"constant":false,"id":109912,"indexed":true,"mutability":"mutable","name":"src","nameLocation":"392:3:195","nodeType":"VariableDeclaration","scope":109918,"src":"376:19:195","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":109911,"name":"address","nodeType":"ElementaryTypeName","src":"376:7:195","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":109914,"indexed":true,"mutability":"mutable","name":"guy","nameLocation":"413:3:195","nodeType":"VariableDeclaration","scope":109918,"src":"397:19:195","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":109913,"name":"address","nodeType":"ElementaryTypeName","src":"397:7:195","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":109916,"indexed":false,"mutability":"mutable","name":"wad","nameLocation":"426:3:195","nodeType":"VariableDeclaration","scope":109918,"src":"418:11:195","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":109915,"name":"uint256","nodeType":"ElementaryTypeName","src":"418:7:195","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"375:55:195"}},{"id":109927,"nodeType":"EventDefinition","src":"659:70:195","nodes":[],"anonymous":false,"documentation":{"id":109919,"nodeType":"StructuredDocumentation","src":"437:217:195","text":"@notice Emitted when a transfer is made.\n @param src The address that transferred the WETH.\n @param dst The address that received the WETH.\n @param wad The amount of WETH that was transferred."},"eventSelector":"ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef","name":"Transfer","nameLocation":"665:8:195","parameters":{"id":109926,"nodeType":"ParameterList","parameters":[{"constant":false,"id":109921,"indexed":true,"mutability":"mutable","name":"src","nameLocation":"690:3:195","nodeType":"VariableDeclaration","scope":109927,"src":"674:19:195","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":109920,"name":"address","nodeType":"ElementaryTypeName","src":"674:7:195","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":109923,"indexed":true,"mutability":"mutable","name":"dst","nameLocation":"711:3:195","nodeType":"VariableDeclaration","scope":109927,"src":"695:19:195","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":109922,"name":"address","nodeType":"ElementaryTypeName","src":"695:7:195","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":109925,"indexed":false,"mutability":"mutable","name":"wad","nameLocation":"724:3:195","nodeType":"VariableDeclaration","scope":109927,"src":"716:11:195","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":109924,"name":"uint256","nodeType":"ElementaryTypeName","src":"716:7:195","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"673:55:195"}},{"id":109934,"nodeType":"EventDefinition","src":"897:48:195","nodes":[],"anonymous":false,"documentation":{"id":109928,"nodeType":"StructuredDocumentation","src":"735:157:195","text":"@notice Emitted when a deposit is made.\n @param dst The address that deposited the WETH.\n @param wad The amount of WETH that was deposited."},"eventSelector":"e1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c","name":"Deposit","nameLocation":"903:7:195","parameters":{"id":109933,"nodeType":"ParameterList","parameters":[{"constant":false,"id":109930,"indexed":true,"mutability":"mutable","name":"dst","nameLocation":"927:3:195","nodeType":"VariableDeclaration","scope":109934,"src":"911:19:195","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":109929,"name":"address","nodeType":"ElementaryTypeName","src":"911:7:195","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":109932,"indexed":false,"mutability":"mutable","name":"wad","nameLocation":"940:3:195","nodeType":"VariableDeclaration","scope":109934,"src":"932:11:195","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":109931,"name":"uint256","nodeType":"ElementaryTypeName","src":"932:7:195","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"910:34:195"}},{"id":109941,"nodeType":"EventDefinition","src":"1115:51:195","nodes":[],"anonymous":false,"documentation":{"id":109935,"nodeType":"StructuredDocumentation","src":"951:159:195","text":"@notice Emitted when a withdrawal is made.\n @param src The address that withdrew the WETH.\n @param wad The amount of WETH that was withdrawn."},"eventSelector":"7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b65","name":"Withdrawal","nameLocation":"1121:10:195","parameters":{"id":109940,"nodeType":"ParameterList","parameters":[{"constant":false,"id":109937,"indexed":true,"mutability":"mutable","name":"src","nameLocation":"1148:3:195","nodeType":"VariableDeclaration","scope":109941,"src":"1132:19:195","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":109936,"name":"address","nodeType":"ElementaryTypeName","src":"1132:7:195","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":109939,"indexed":false,"mutability":"mutable","name":"wad","nameLocation":"1161:3:195","nodeType":"VariableDeclaration","scope":109941,"src":"1153:11:195","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":109938,"name":"uint256","nodeType":"ElementaryTypeName","src":"1153:7:195","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1131:34:195"}},{"id":109947,"nodeType":"FunctionDefinition","src":"1258:54:195","nodes":[],"documentation":{"id":109942,"nodeType":"StructuredDocumentation","src":"1172:81:195","text":"@notice Returns the name of the token.\n @return The name of the token."},"functionSelector":"06fdde03","implemented":false,"kind":"function","modifiers":[],"name":"name","nameLocation":"1267:4:195","parameters":{"id":109943,"nodeType":"ParameterList","parameters":[],"src":"1271:2:195"},"returnParameters":{"id":109946,"nodeType":"ParameterList","parameters":[{"constant":false,"id":109945,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":109947,"src":"1297:13:195","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":109944,"name":"string","nodeType":"ElementaryTypeName","src":"1297:6:195","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"1296:15:195"},"scope":110026,"stateMutability":"view","virtual":false,"visibility":"external"},{"id":109953,"nodeType":"FunctionDefinition","src":"1408:56:195","nodes":[],"documentation":{"id":109948,"nodeType":"StructuredDocumentation","src":"1318:85:195","text":"@notice Returns the symbol of the token.\n @return The symbol of the token."},"functionSelector":"95d89b41","implemented":false,"kind":"function","modifiers":[],"name":"symbol","nameLocation":"1417:6:195","parameters":{"id":109949,"nodeType":"ParameterList","parameters":[],"src":"1423:2:195"},"returnParameters":{"id":109952,"nodeType":"ParameterList","parameters":[{"constant":false,"id":109951,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":109953,"src":"1449:13:195","stateVariable":false,"storageLocation":"memory","typeDescriptions":{"typeIdentifier":"t_string_memory_ptr","typeString":"string"},"typeName":{"id":109950,"name":"string","nodeType":"ElementaryTypeName","src":"1449:6:195","typeDescriptions":{"typeIdentifier":"t_string_storage_ptr","typeString":"string"}},"visibility":"internal"}],"src":"1448:15:195"},"scope":110026,"stateMutability":"view","virtual":false,"visibility":"external"},{"id":109959,"nodeType":"FunctionDefinition","src":"1588:50:195","nodes":[],"documentation":{"id":109954,"nodeType":"StructuredDocumentation","src":"1470:113:195","text":"@notice Returns the number of decimals the token uses.\n @return The number of decimals the token uses."},"functionSelector":"313ce567","implemented":false,"kind":"function","modifiers":[],"name":"decimals","nameLocation":"1597:8:195","parameters":{"id":109955,"nodeType":"ParameterList","parameters":[],"src":"1605:2:195"},"returnParameters":{"id":109958,"nodeType":"ParameterList","parameters":[{"constant":false,"id":109957,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":109959,"src":"1631:5:195","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"},"typeName":{"id":109956,"name":"uint8","nodeType":"ElementaryTypeName","src":"1631:5:195","typeDescriptions":{"typeIdentifier":"t_uint8","typeString":"uint8"}},"visibility":"internal"}],"src":"1630:7:195"},"scope":110026,"stateMutability":"pure","virtual":false,"visibility":"external"},{"id":109967,"nodeType":"FunctionDefinition","src":"1810:66:195","nodes":[],"documentation":{"id":109960,"nodeType":"StructuredDocumentation","src":"1644:161:195","text":"@notice Returns the balance of the given address.\n @param owner The address to query the balance of.\n @return The balance of the given address."},"functionSelector":"70a08231","implemented":false,"kind":"function","modifiers":[],"name":"balanceOf","nameLocation":"1819:9:195","parameters":{"id":109963,"nodeType":"ParameterList","parameters":[{"constant":false,"id":109962,"mutability":"mutable","name":"owner","nameLocation":"1837:5:195","nodeType":"VariableDeclaration","scope":109967,"src":"1829:13:195","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":109961,"name":"address","nodeType":"ElementaryTypeName","src":"1829:7:195","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"1828:15:195"},"returnParameters":{"id":109966,"nodeType":"ParameterList","parameters":[{"constant":false,"id":109965,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":109967,"src":"1867:7:195","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":109964,"name":"uint256","nodeType":"ElementaryTypeName","src":"1867:7:195","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"1866:9:195"},"scope":110026,"stateMutability":"view","virtual":false,"visibility":"external"},{"id":109977,"nodeType":"FunctionDefinition","src":"2195:83:195","nodes":[],"documentation":{"id":109968,"nodeType":"StructuredDocumentation","src":"1882:308:195","text":"@notice Returns the amount of WETH that the spender can transfer on behalf of the owner.\n @param owner The address that owns the WETH.\n @param spender The address that is approved to transfer the WETH.\n @return The amount of WETH that the spender can transfer on behalf of the owner."},"functionSelector":"dd62ed3e","implemented":false,"kind":"function","modifiers":[],"name":"allowance","nameLocation":"2204:9:195","parameters":{"id":109973,"nodeType":"ParameterList","parameters":[{"constant":false,"id":109970,"mutability":"mutable","name":"owner","nameLocation":"2222:5:195","nodeType":"VariableDeclaration","scope":109977,"src":"2214:13:195","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":109969,"name":"address","nodeType":"ElementaryTypeName","src":"2214:7:195","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":109972,"mutability":"mutable","name":"spender","nameLocation":"2237:7:195","nodeType":"VariableDeclaration","scope":109977,"src":"2229:15:195","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":109971,"name":"address","nodeType":"ElementaryTypeName","src":"2229:7:195","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"}],"src":"2213:32:195"},"returnParameters":{"id":109976,"nodeType":"ParameterList","parameters":[{"constant":false,"id":109975,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":109977,"src":"2269:7:195","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":109974,"name":"uint256","nodeType":"ElementaryTypeName","src":"2269:7:195","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2268:9:195"},"scope":110026,"stateMutability":"view","virtual":false,"visibility":"external"},{"id":109981,"nodeType":"FunctionDefinition","src":"2362:36:195","nodes":[],"documentation":{"id":109978,"nodeType":"StructuredDocumentation","src":"2284:73:195","text":"@notice Allows WETH to be deposited by sending ether to the contract."},"functionSelector":"d0e30db0","implemented":false,"kind":"function","modifiers":[],"name":"deposit","nameLocation":"2371:7:195","parameters":{"id":109979,"nodeType":"ParameterList","parameters":[],"src":"2378:2:195"},"returnParameters":{"id":109980,"nodeType":"ParameterList","parameters":[],"src":"2397:0:195"},"scope":110026,"stateMutability":"payable","virtual":false,"visibility":"external"},{"id":109987,"nodeType":"FunctionDefinition","src":"2498:40:195","nodes":[],"documentation":{"id":109982,"nodeType":"StructuredDocumentation","src":"2404:89:195","text":"@notice Withdraws an amount of ETH.\n @param wad The amount of ETH to withdraw."},"functionSelector":"2e1a7d4d","implemented":false,"kind":"function","modifiers":[],"name":"withdraw","nameLocation":"2507:8:195","parameters":{"id":109985,"nodeType":"ParameterList","parameters":[{"constant":false,"id":109984,"mutability":"mutable","name":"wad","nameLocation":"2524:3:195","nodeType":"VariableDeclaration","scope":109987,"src":"2516:11:195","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":109983,"name":"uint256","nodeType":"ElementaryTypeName","src":"2516:7:195","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2515:13:195"},"returnParameters":{"id":109986,"nodeType":"ParameterList","parameters":[],"src":"2537:0:195"},"scope":110026,"stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"id":109993,"nodeType":"FunctionDefinition","src":"2636:55:195","nodes":[],"documentation":{"id":109988,"nodeType":"StructuredDocumentation","src":"2544:87:195","text":"@notice Returns the total supply of WETH.\n @return The total supply of WETH."},"functionSelector":"18160ddd","implemented":false,"kind":"function","modifiers":[],"name":"totalSupply","nameLocation":"2645:11:195","parameters":{"id":109989,"nodeType":"ParameterList","parameters":[],"src":"2656:2:195"},"returnParameters":{"id":109992,"nodeType":"ParameterList","parameters":[{"constant":false,"id":109991,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":109993,"src":"2682:7:195","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":109990,"name":"uint256","nodeType":"ElementaryTypeName","src":"2682:7:195","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2681:9:195"},"scope":110026,"stateMutability":"view","virtual":false,"visibility":"external"},{"id":110003,"nodeType":"FunctionDefinition","src":"2969:67:195","nodes":[],"documentation":{"id":109994,"nodeType":"StructuredDocumentation","src":"2697:267:195","text":"@notice Approves the given address to transfer the WETH on behalf of the caller.\n @param guy The address that is approved to transfer the WETH.\n @param wad The amount that is approved to transfer.\n @return True if the approval was successful."},"functionSelector":"095ea7b3","implemented":false,"kind":"function","modifiers":[],"name":"approve","nameLocation":"2978:7:195","parameters":{"id":109999,"nodeType":"ParameterList","parameters":[{"constant":false,"id":109996,"mutability":"mutable","name":"guy","nameLocation":"2994:3:195","nodeType":"VariableDeclaration","scope":110003,"src":"2986:11:195","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":109995,"name":"address","nodeType":"ElementaryTypeName","src":"2986:7:195","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":109998,"mutability":"mutable","name":"wad","nameLocation":"3007:3:195","nodeType":"VariableDeclaration","scope":110003,"src":"2999:11:195","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":109997,"name":"uint256","nodeType":"ElementaryTypeName","src":"2999:7:195","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"2985:26:195"},"returnParameters":{"id":110002,"nodeType":"ParameterList","parameters":[{"constant":false,"id":110001,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":110003,"src":"3030:4:195","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":110000,"name":"bool","nodeType":"ElementaryTypeName","src":"3030:4:195","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"3029:6:195"},"scope":110026,"stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"id":110013,"nodeType":"FunctionDefinition","src":"3275:68:195","nodes":[],"documentation":{"id":110004,"nodeType":"StructuredDocumentation","src":"3042:228:195","text":"@notice Transfers the given amount of WETH to the given address.\n @param dst The address to transfer the WETH to.\n @param wad The amount of WETH to transfer.\n @return True if the transfer was successful."},"functionSelector":"a9059cbb","implemented":false,"kind":"function","modifiers":[],"name":"transfer","nameLocation":"3284:8:195","parameters":{"id":110009,"nodeType":"ParameterList","parameters":[{"constant":false,"id":110006,"mutability":"mutable","name":"dst","nameLocation":"3301:3:195","nodeType":"VariableDeclaration","scope":110013,"src":"3293:11:195","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":110005,"name":"address","nodeType":"ElementaryTypeName","src":"3293:7:195","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":110008,"mutability":"mutable","name":"wad","nameLocation":"3314:3:195","nodeType":"VariableDeclaration","scope":110013,"src":"3306:11:195","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":110007,"name":"uint256","nodeType":"ElementaryTypeName","src":"3306:7:195","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3292:26:195"},"returnParameters":{"id":110012,"nodeType":"ParameterList","parameters":[{"constant":false,"id":110011,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":110013,"src":"3337:4:195","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":110010,"name":"bool","nodeType":"ElementaryTypeName","src":"3337:4:195","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"3336:6:195"},"scope":110026,"stateMutability":"nonpayable","virtual":false,"visibility":"external"},{"id":110025,"nodeType":"FunctionDefinition","src":"3663:85:195","nodes":[],"documentation":{"id":110014,"nodeType":"StructuredDocumentation","src":"3349:309:195","text":"@notice Transfers the given amount of WETH from the given address to the given address.\n @param src The address to transfer the WETH from.\n @param dst The address to transfer the WETH to.\n @param wad The amount of WETH to transfer.\n @return True if the transfer was successful."},"functionSelector":"23b872dd","implemented":false,"kind":"function","modifiers":[],"name":"transferFrom","nameLocation":"3672:12:195","parameters":{"id":110021,"nodeType":"ParameterList","parameters":[{"constant":false,"id":110016,"mutability":"mutable","name":"src","nameLocation":"3693:3:195","nodeType":"VariableDeclaration","scope":110025,"src":"3685:11:195","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":110015,"name":"address","nodeType":"ElementaryTypeName","src":"3685:7:195","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":110018,"mutability":"mutable","name":"dst","nameLocation":"3706:3:195","nodeType":"VariableDeclaration","scope":110025,"src":"3698:11:195","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"},"typeName":{"id":110017,"name":"address","nodeType":"ElementaryTypeName","src":"3698:7:195","stateMutability":"nonpayable","typeDescriptions":{"typeIdentifier":"t_address","typeString":"address"}},"visibility":"internal"},{"constant":false,"id":110020,"mutability":"mutable","name":"wad","nameLocation":"3719:3:195","nodeType":"VariableDeclaration","scope":110025,"src":"3711:11:195","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"},"typeName":{"id":110019,"name":"uint256","nodeType":"ElementaryTypeName","src":"3711:7:195","typeDescriptions":{"typeIdentifier":"t_uint256","typeString":"uint256"}},"visibility":"internal"}],"src":"3684:39:195"},"returnParameters":{"id":110024,"nodeType":"ParameterList","parameters":[{"constant":false,"id":110023,"mutability":"mutable","name":"","nameLocation":"-1:-1:-1","nodeType":"VariableDeclaration","scope":110025,"src":"3742:4:195","stateVariable":false,"storageLocation":"default","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"},"typeName":{"id":110022,"name":"bool","nodeType":"ElementaryTypeName","src":"3742:4:195","typeDescriptions":{"typeIdentifier":"t_bool","typeString":"bool"}},"visibility":"internal"}],"src":"3741:6:195"},"scope":110026,"stateMutability":"nonpayable","virtual":false,"visibility":"external"}],"abstract":false,"baseContracts":[],"canonicalName":"IWETH","contractDependencies":[],"contractKind":"interface","documentation":{"id":109909,"nodeType":"StructuredDocumentation","src":"57:50:195","text":"@title IWETH\n @notice Interface for WETH9."},"fullyImplemented":false,"linearizedBaseContracts":[110026],"name":"IWETH","nameLocation":"117:5:195","scope":110027,"usedErrors":[]}],"license":"MIT"},"id":195}