Cipher-Zero/contracts/crossChain/bridge/artifacts/build-info/502e25f3cf726da935f8739e68bce21f.json
2024-09-01 23:29:11 +03:00

2671 lines
82 KiB
JSON

{
"id": "502e25f3cf726da935f8739e68bce21f",
"_format": "hh-sol-build-info-1",
"solcVersion": "0.8.26",
"solcLongVersion": "0.8.26+commit.8a97fa7a",
"input": {
"language": "Solidity",
"sources": {
"contracts/crossChain/bridge/IWormhole.sol": {
"content": "// SPDX-License-Identifier: MIT\npragma solidity ^0.8.26;\n\n\ninterface IWormhole {\n function transferTokens(address token, uint256 amount, uint16 recipientChain, bytes32 recipient, uint32 nonce) external returns (uint64 sequence);\n function completeTransfer(bytes memory encodedVm) external;\n function sendMessage(bytes memory message, uint32 nonce) external returns (uint64);\n function getNonce() external view returns (uint32);\n function getFees() external view returns (uint256);\n function getChainId() external view returns (uint16);\n function getBridgeAddress() external view returns (address);\n function getWrappedAssetAddress(address token) external view returns (address);\n function getWrappedAssetOwner(address token) external view returns (address);\n function getWrappedAssetEvmScriptHash(address token) external view returns (bytes32);\n function getWrappedAssetChainId(address token) external view returns (uint16);\n function getWrappedAssetName(address token) external view returns (string memory);\n function getWrappedAssetSymbol(address token) external view returns (string memory);\n function getWrappedAssetDecimals(address token) external view returns (uint8);\n function getWrappedAssetMetadata(address token) external view returns (address, address, bytes32, uint16, string memory, string memory, uint8);\n function getWrappedAssetNonce(address token) external view returns (uint32);\n function getWrappedAssetTotalSupply(address token) external view returns (uint256);\n function getWrappedAssetBalance(address token, address account) external view returns (uint256);\n function getWrappedAssetAllowance(address token, address owner, address spender) external view returns (uint256);\n function getWrappedAssetTransferAllowance(address token, address spender) external view returns (uint256);\n function getWrappedAssetApproveAllowance(address token, address spender) external view returns (uint256);\n}\n"
}
},
"settings": {
"optimizer": {
"enabled": false,
"runs": 200
},
"outputSelection": {
"*": {
"": [
"ast"
],
"*": [
"abi",
"metadata",
"devdoc",
"userdoc",
"storageLayout",
"evm.legacyAssembly",
"evm.bytecode",
"evm.deployedBytecode",
"evm.methodIdentifiers",
"evm.gasEstimates",
"evm.assembly"
]
}
},
"remappings": []
}
},
"output": {
"contracts": {
"contracts/crossChain/bridge/IWormhole.sol": {
"IWormhole": {
"abi": [
{
"inputs": [
{
"internalType": "bytes",
"name": "encodedVm",
"type": "bytes"
}
],
"name": "completeTransfer",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [],
"name": "getBridgeAddress",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getChainId",
"outputs": [
{
"internalType": "uint16",
"name": "",
"type": "uint16"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getFees",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "getNonce",
"outputs": [
{
"internalType": "uint32",
"name": "",
"type": "uint32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
}
],
"name": "getWrappedAssetAddress",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
},
{
"internalType": "address",
"name": "owner",
"type": "address"
},
{
"internalType": "address",
"name": "spender",
"type": "address"
}
],
"name": "getWrappedAssetAllowance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
},
{
"internalType": "address",
"name": "spender",
"type": "address"
}
],
"name": "getWrappedAssetApproveAllowance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
},
{
"internalType": "address",
"name": "account",
"type": "address"
}
],
"name": "getWrappedAssetBalance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
}
],
"name": "getWrappedAssetChainId",
"outputs": [
{
"internalType": "uint16",
"name": "",
"type": "uint16"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
}
],
"name": "getWrappedAssetDecimals",
"outputs": [
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
}
],
"name": "getWrappedAssetEvmScriptHash",
"outputs": [
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
}
],
"name": "getWrappedAssetMetadata",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "address",
"name": "",
"type": "address"
},
{
"internalType": "bytes32",
"name": "",
"type": "bytes32"
},
{
"internalType": "uint16",
"name": "",
"type": "uint16"
},
{
"internalType": "string",
"name": "",
"type": "string"
},
{
"internalType": "string",
"name": "",
"type": "string"
},
{
"internalType": "uint8",
"name": "",
"type": "uint8"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
}
],
"name": "getWrappedAssetName",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
}
],
"name": "getWrappedAssetNonce",
"outputs": [
{
"internalType": "uint32",
"name": "",
"type": "uint32"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
}
],
"name": "getWrappedAssetOwner",
"outputs": [
{
"internalType": "address",
"name": "",
"type": "address"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
}
],
"name": "getWrappedAssetSymbol",
"outputs": [
{
"internalType": "string",
"name": "",
"type": "string"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
}
],
"name": "getWrappedAssetTotalSupply",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
},
{
"internalType": "address",
"name": "spender",
"type": "address"
}
],
"name": "getWrappedAssetTransferAllowance",
"outputs": [
{
"internalType": "uint256",
"name": "",
"type": "uint256"
}
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
"internalType": "bytes",
"name": "message",
"type": "bytes"
},
{
"internalType": "uint32",
"name": "nonce",
"type": "uint32"
}
],
"name": "sendMessage",
"outputs": [
{
"internalType": "uint64",
"name": "",
"type": "uint64"
}
],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{
"internalType": "address",
"name": "token",
"type": "address"
},
{
"internalType": "uint256",
"name": "amount",
"type": "uint256"
},
{
"internalType": "uint16",
"name": "recipientChain",
"type": "uint16"
},
{
"internalType": "bytes32",
"name": "recipient",
"type": "bytes32"
},
{
"internalType": "uint32",
"name": "nonce",
"type": "uint32"
}
],
"name": "transferTokens",
"outputs": [
{
"internalType": "uint64",
"name": "sequence",
"type": "uint64"
}
],
"stateMutability": "nonpayable",
"type": "function"
}
],
"devdoc": {
"kind": "dev",
"methods": {},
"version": 1
},
"evm": {
"assembly": "",
"bytecode": {
"functionDebugData": {},
"generatedSources": [],
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"deployedBytecode": {
"functionDebugData": {},
"generatedSources": [],
"immutableReferences": {},
"linkReferences": {},
"object": "",
"opcodes": "",
"sourceMap": ""
},
"gasEstimates": null,
"legacyAssembly": null,
"methodIdentifiers": {
"completeTransfer(bytes)": "c6878519",
"getBridgeAddress()": "fb32c508",
"getChainId()": "3408e470",
"getFees()": "db8d55f1",
"getNonce()": "d087d288",
"getWrappedAssetAddress(address)": "4b254b26",
"getWrappedAssetAllowance(address,address,address)": "ba6f20f4",
"getWrappedAssetApproveAllowance(address,address)": "0bf64c75",
"getWrappedAssetBalance(address,address)": "4cb3eb1e",
"getWrappedAssetChainId(address)": "24e965ee",
"getWrappedAssetDecimals(address)": "7e470055",
"getWrappedAssetEvmScriptHash(address)": "5b5f5a5f",
"getWrappedAssetMetadata(address)": "c893a86f",
"getWrappedAssetName(address)": "5333e28f",
"getWrappedAssetNonce(address)": "47529c7e",
"getWrappedAssetOwner(address)": "713cada7",
"getWrappedAssetSymbol(address)": "07c56670",
"getWrappedAssetTotalSupply(address)": "d4b8b70a",
"getWrappedAssetTransferAllowance(address,address)": "a2dc637b",
"sendMessage(bytes,uint32)": "21f9aeef",
"transferTokens(address,uint256,uint16,bytes32,uint32)": "a0841753"
}
},
"metadata": "{\"compiler\":{\"version\":\"0.8.26+commit.8a97fa7a\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"encodedVm\",\"type\":\"bytes\"}],\"name\":\"completeTransfer\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getBridgeAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getChainId\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNonce\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"getWrappedAssetAddress\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"getWrappedAssetAllowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"getWrappedAssetApproveAllowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"getWrappedAssetBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"getWrappedAssetChainId\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"getWrappedAssetDecimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"getWrappedAssetEvmScriptHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"getWrappedAssetMetadata\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"},{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"getWrappedAssetName\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"getWrappedAssetNonce\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"getWrappedAssetOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"getWrappedAssetSymbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"}],\"name\":\"getWrappedAssetTotalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"getWrappedAssetTransferAllowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes\",\"name\":\"message\",\"type\":\"bytes\"},{\"internalType\":\"uint32\",\"name\":\"nonce\",\"type\":\"uint32\"}],\"name\":\"sendMessage\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint16\",\"name\":\"recipientChain\",\"type\":\"uint16\"},{\"internalType\":\"bytes32\",\"name\":\"recipient\",\"type\":\"bytes32\"},{\"internalType\":\"uint32\",\"name\":\"nonce\",\"type\":\"uint32\"}],\"name\":\"transferTokens\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"sequence\",\"type\":\"uint64\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"contracts/crossChain/bridge/IWormhole.sol\":\"IWormhole\"},\"evmVersion\":\"cancun\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"contracts/crossChain/bridge/IWormhole.sol\":{\"keccak256\":\"0x5f27d8c774c91d7c032266e66c0fc5d2c8c1b7279fef07afce4b03be723f445b\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://8baeadf94d5fb527030a13398e0f910be8e84a9982d4706c66be71a2755ebc84\",\"dweb:/ipfs/QmQmEsaFXb9YBSu6m5GXDmiYytx6X6RnF5Yp5gkZAUoMGG\"]}},\"version\":1}",
"storageLayout": {
"storage": [],
"types": null
},
"userdoc": {
"kind": "user",
"methods": {},
"version": 1
}
}
}
},
"sources": {
"contracts/crossChain/bridge/IWormhole.sol": {
"ast": {
"absolutePath": "contracts/crossChain/bridge/IWormhole.sol",
"exportedSymbols": {
"IWormhole": [
171
]
},
"id": 172,
"license": "MIT",
"nodeType": "SourceUnit",
"nodes": [
{
"id": 1,
"literals": [
"solidity",
"^",
"0.8",
".26"
],
"nodeType": "PragmaDirective",
"src": "32:24:0"
},
{
"abstract": false,
"baseContracts": [],
"canonicalName": "IWormhole",
"contractDependencies": [],
"contractKind": "interface",
"fullyImplemented": false,
"id": 171,
"linearizedBaseContracts": [
171
],
"name": "IWormhole",
"nameLocation": "69:9:0",
"nodeType": "ContractDefinition",
"nodes": [
{
"functionSelector": "a0841753",
"id": 16,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "transferTokens",
"nameLocation": "94:14:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 12,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 3,
"mutability": "mutable",
"name": "token",
"nameLocation": "117:5:0",
"nodeType": "VariableDeclaration",
"scope": 16,
"src": "109:13:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 2,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "109:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 5,
"mutability": "mutable",
"name": "amount",
"nameLocation": "132:6:0",
"nodeType": "VariableDeclaration",
"scope": 16,
"src": "124:14:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 4,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "124:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 7,
"mutability": "mutable",
"name": "recipientChain",
"nameLocation": "147:14:0",
"nodeType": "VariableDeclaration",
"scope": 16,
"src": "140:21:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint16",
"typeString": "uint16"
},
"typeName": {
"id": 6,
"name": "uint16",
"nodeType": "ElementaryTypeName",
"src": "140:6:0",
"typeDescriptions": {
"typeIdentifier": "t_uint16",
"typeString": "uint16"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 9,
"mutability": "mutable",
"name": "recipient",
"nameLocation": "171:9:0",
"nodeType": "VariableDeclaration",
"scope": 16,
"src": "163:17:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 8,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "163:7:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 11,
"mutability": "mutable",
"name": "nonce",
"nameLocation": "189:5:0",
"nodeType": "VariableDeclaration",
"scope": 16,
"src": "182:12:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint32",
"typeString": "uint32"
},
"typeName": {
"id": 10,
"name": "uint32",
"nodeType": "ElementaryTypeName",
"src": "182:6:0",
"typeDescriptions": {
"typeIdentifier": "t_uint32",
"typeString": "uint32"
}
},
"visibility": "internal"
}
],
"src": "108:87:0"
},
"returnParameters": {
"id": 15,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 14,
"mutability": "mutable",
"name": "sequence",
"nameLocation": "221:8:0",
"nodeType": "VariableDeclaration",
"scope": 16,
"src": "214:15:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint64",
"typeString": "uint64"
},
"typeName": {
"id": 13,
"name": "uint64",
"nodeType": "ElementaryTypeName",
"src": "214:6:0",
"typeDescriptions": {
"typeIdentifier": "t_uint64",
"typeString": "uint64"
}
},
"visibility": "internal"
}
],
"src": "213:17:0"
},
"scope": 171,
"src": "85:146:0",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "c6878519",
"id": 21,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "completeTransfer",
"nameLocation": "245:16:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 19,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 18,
"mutability": "mutable",
"name": "encodedVm",
"nameLocation": "275:9:0",
"nodeType": "VariableDeclaration",
"scope": 21,
"src": "262:22:0",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 17,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "262:5:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
}
],
"src": "261:24:0"
},
"returnParameters": {
"id": 20,
"nodeType": "ParameterList",
"parameters": [],
"src": "294:0:0"
},
"scope": 171,
"src": "236:59:0",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "21f9aeef",
"id": 30,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "sendMessage",
"nameLocation": "309:11:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 26,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 23,
"mutability": "mutable",
"name": "message",
"nameLocation": "334:7:0",
"nodeType": "VariableDeclaration",
"scope": 30,
"src": "321:20:0",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_bytes_memory_ptr",
"typeString": "bytes"
},
"typeName": {
"id": 22,
"name": "bytes",
"nodeType": "ElementaryTypeName",
"src": "321:5:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes_storage_ptr",
"typeString": "bytes"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 25,
"mutability": "mutable",
"name": "nonce",
"nameLocation": "350:5:0",
"nodeType": "VariableDeclaration",
"scope": 30,
"src": "343:12:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint32",
"typeString": "uint32"
},
"typeName": {
"id": 24,
"name": "uint32",
"nodeType": "ElementaryTypeName",
"src": "343:6:0",
"typeDescriptions": {
"typeIdentifier": "t_uint32",
"typeString": "uint32"
}
},
"visibility": "internal"
}
],
"src": "320:36:0"
},
"returnParameters": {
"id": 29,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 28,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 30,
"src": "375:6:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint64",
"typeString": "uint64"
},
"typeName": {
"id": 27,
"name": "uint64",
"nodeType": "ElementaryTypeName",
"src": "375:6:0",
"typeDescriptions": {
"typeIdentifier": "t_uint64",
"typeString": "uint64"
}
},
"visibility": "internal"
}
],
"src": "374:8:0"
},
"scope": 171,
"src": "300:83:0",
"stateMutability": "nonpayable",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "d087d288",
"id": 35,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "getNonce",
"nameLocation": "397:8:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 31,
"nodeType": "ParameterList",
"parameters": [],
"src": "405:2:0"
},
"returnParameters": {
"id": 34,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 33,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 35,
"src": "431:6:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint32",
"typeString": "uint32"
},
"typeName": {
"id": 32,
"name": "uint32",
"nodeType": "ElementaryTypeName",
"src": "431:6:0",
"typeDescriptions": {
"typeIdentifier": "t_uint32",
"typeString": "uint32"
}
},
"visibility": "internal"
}
],
"src": "430:8:0"
},
"scope": 171,
"src": "388:51:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "db8d55f1",
"id": 40,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "getFees",
"nameLocation": "453:7:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 36,
"nodeType": "ParameterList",
"parameters": [],
"src": "460:2:0"
},
"returnParameters": {
"id": 39,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 38,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 40,
"src": "486:7:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 37,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "486:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "485:9:0"
},
"scope": 171,
"src": "444:51:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "3408e470",
"id": 45,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "getChainId",
"nameLocation": "509:10:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 41,
"nodeType": "ParameterList",
"parameters": [],
"src": "519:2:0"
},
"returnParameters": {
"id": 44,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 43,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 45,
"src": "545:6:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint16",
"typeString": "uint16"
},
"typeName": {
"id": 42,
"name": "uint16",
"nodeType": "ElementaryTypeName",
"src": "545:6:0",
"typeDescriptions": {
"typeIdentifier": "t_uint16",
"typeString": "uint16"
}
},
"visibility": "internal"
}
],
"src": "544:8:0"
},
"scope": 171,
"src": "500:53:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "fb32c508",
"id": 50,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "getBridgeAddress",
"nameLocation": "567:16:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 46,
"nodeType": "ParameterList",
"parameters": [],
"src": "583:2:0"
},
"returnParameters": {
"id": 49,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 48,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 50,
"src": "609:7:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 47,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "609:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "608:9:0"
},
"scope": 171,
"src": "558:60:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "4b254b26",
"id": 57,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "getWrappedAssetAddress",
"nameLocation": "632:22:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 53,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 52,
"mutability": "mutable",
"name": "token",
"nameLocation": "663:5:0",
"nodeType": "VariableDeclaration",
"scope": 57,
"src": "655:13:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 51,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "655:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "654:15:0"
},
"returnParameters": {
"id": 56,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 55,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 57,
"src": "693:7:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 54,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "693:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "692:9:0"
},
"scope": 171,
"src": "623:79:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "713cada7",
"id": 64,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "getWrappedAssetOwner",
"nameLocation": "716:20:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 60,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 59,
"mutability": "mutable",
"name": "token",
"nameLocation": "745:5:0",
"nodeType": "VariableDeclaration",
"scope": 64,
"src": "737:13:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 58,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "737:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "736:15:0"
},
"returnParameters": {
"id": 63,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 62,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 64,
"src": "775:7:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 61,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "775:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "774:9:0"
},
"scope": 171,
"src": "707:77:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "5b5f5a5f",
"id": 71,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "getWrappedAssetEvmScriptHash",
"nameLocation": "798:28:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 67,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 66,
"mutability": "mutable",
"name": "token",
"nameLocation": "835:5:0",
"nodeType": "VariableDeclaration",
"scope": 71,
"src": "827:13:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 65,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "827:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "826:15:0"
},
"returnParameters": {
"id": 70,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 69,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 71,
"src": "865:7:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 68,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "865:7:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
}
],
"src": "864:9:0"
},
"scope": 171,
"src": "789:85:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "24e965ee",
"id": 78,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "getWrappedAssetChainId",
"nameLocation": "888:22:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 74,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 73,
"mutability": "mutable",
"name": "token",
"nameLocation": "919:5:0",
"nodeType": "VariableDeclaration",
"scope": 78,
"src": "911:13:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 72,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "911:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "910:15:0"
},
"returnParameters": {
"id": 77,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 76,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 78,
"src": "949:6:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint16",
"typeString": "uint16"
},
"typeName": {
"id": 75,
"name": "uint16",
"nodeType": "ElementaryTypeName",
"src": "949:6:0",
"typeDescriptions": {
"typeIdentifier": "t_uint16",
"typeString": "uint16"
}
},
"visibility": "internal"
}
],
"src": "948:8:0"
},
"scope": 171,
"src": "879:78:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "5333e28f",
"id": 85,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "getWrappedAssetName",
"nameLocation": "971:19:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 81,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 80,
"mutability": "mutable",
"name": "token",
"nameLocation": "999:5:0",
"nodeType": "VariableDeclaration",
"scope": 85,
"src": "991:13:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 79,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "991:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "990:15:0"
},
"returnParameters": {
"id": 84,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 83,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 85,
"src": "1029:13:0",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 82,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "1029:6:0",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"visibility": "internal"
}
],
"src": "1028:15:0"
},
"scope": 171,
"src": "962:82:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "07c56670",
"id": 92,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "getWrappedAssetSymbol",
"nameLocation": "1058:21:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 88,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 87,
"mutability": "mutable",
"name": "token",
"nameLocation": "1088:5:0",
"nodeType": "VariableDeclaration",
"scope": 92,
"src": "1080:13:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 86,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1080:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "1079:15:0"
},
"returnParameters": {
"id": 91,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 90,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 92,
"src": "1118:13:0",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 89,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "1118:6:0",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"visibility": "internal"
}
],
"src": "1117:15:0"
},
"scope": 171,
"src": "1049:84:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "7e470055",
"id": 99,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "getWrappedAssetDecimals",
"nameLocation": "1147:23:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 95,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 94,
"mutability": "mutable",
"name": "token",
"nameLocation": "1179:5:0",
"nodeType": "VariableDeclaration",
"scope": 99,
"src": "1171:13:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 93,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1171:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "1170:15:0"
},
"returnParameters": {
"id": 98,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 97,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 99,
"src": "1209:5:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
},
"typeName": {
"id": 96,
"name": "uint8",
"nodeType": "ElementaryTypeName",
"src": "1209:5:0",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
},
"visibility": "internal"
}
],
"src": "1208:7:0"
},
"scope": 171,
"src": "1138:78:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "c893a86f",
"id": 118,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "getWrappedAssetMetadata",
"nameLocation": "1230:23:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 102,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 101,
"mutability": "mutable",
"name": "token",
"nameLocation": "1262:5:0",
"nodeType": "VariableDeclaration",
"scope": 118,
"src": "1254:13:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 100,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1254:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "1253:15:0"
},
"returnParameters": {
"id": 117,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 104,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 118,
"src": "1292:7:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 103,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1292:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 106,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 118,
"src": "1301:7:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 105,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1301:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 108,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 118,
"src": "1310:7:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
},
"typeName": {
"id": 107,
"name": "bytes32",
"nodeType": "ElementaryTypeName",
"src": "1310:7:0",
"typeDescriptions": {
"typeIdentifier": "t_bytes32",
"typeString": "bytes32"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 110,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 118,
"src": "1319:6:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint16",
"typeString": "uint16"
},
"typeName": {
"id": 109,
"name": "uint16",
"nodeType": "ElementaryTypeName",
"src": "1319:6:0",
"typeDescriptions": {
"typeIdentifier": "t_uint16",
"typeString": "uint16"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 112,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 118,
"src": "1327:13:0",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 111,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "1327:6:0",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 114,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 118,
"src": "1342:13:0",
"stateVariable": false,
"storageLocation": "memory",
"typeDescriptions": {
"typeIdentifier": "t_string_memory_ptr",
"typeString": "string"
},
"typeName": {
"id": 113,
"name": "string",
"nodeType": "ElementaryTypeName",
"src": "1342:6:0",
"typeDescriptions": {
"typeIdentifier": "t_string_storage_ptr",
"typeString": "string"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 116,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 118,
"src": "1357:5:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
},
"typeName": {
"id": 115,
"name": "uint8",
"nodeType": "ElementaryTypeName",
"src": "1357:5:0",
"typeDescriptions": {
"typeIdentifier": "t_uint8",
"typeString": "uint8"
}
},
"visibility": "internal"
}
],
"src": "1291:72:0"
},
"scope": 171,
"src": "1221:143:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "47529c7e",
"id": 125,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "getWrappedAssetNonce",
"nameLocation": "1378:20:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 121,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 120,
"mutability": "mutable",
"name": "token",
"nameLocation": "1407:5:0",
"nodeType": "VariableDeclaration",
"scope": 125,
"src": "1399:13:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 119,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1399:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "1398:15:0"
},
"returnParameters": {
"id": 124,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 123,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 125,
"src": "1437:6:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint32",
"typeString": "uint32"
},
"typeName": {
"id": 122,
"name": "uint32",
"nodeType": "ElementaryTypeName",
"src": "1437:6:0",
"typeDescriptions": {
"typeIdentifier": "t_uint32",
"typeString": "uint32"
}
},
"visibility": "internal"
}
],
"src": "1436:8:0"
},
"scope": 171,
"src": "1369:76:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "d4b8b70a",
"id": 132,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "getWrappedAssetTotalSupply",
"nameLocation": "1459:26:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 128,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 127,
"mutability": "mutable",
"name": "token",
"nameLocation": "1494:5:0",
"nodeType": "VariableDeclaration",
"scope": 132,
"src": "1486:13:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 126,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1486:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "1485:15:0"
},
"returnParameters": {
"id": 131,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 130,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 132,
"src": "1524:7:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 129,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1524:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "1523:9:0"
},
"scope": 171,
"src": "1450:83:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "4cb3eb1e",
"id": 141,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "getWrappedAssetBalance",
"nameLocation": "1547:22:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 137,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 134,
"mutability": "mutable",
"name": "token",
"nameLocation": "1578:5:0",
"nodeType": "VariableDeclaration",
"scope": 141,
"src": "1570:13:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 133,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1570:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 136,
"mutability": "mutable",
"name": "account",
"nameLocation": "1593:7:0",
"nodeType": "VariableDeclaration",
"scope": 141,
"src": "1585:15:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 135,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1585:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "1569:32:0"
},
"returnParameters": {
"id": 140,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 139,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 141,
"src": "1625:7:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 138,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1625:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "1624:9:0"
},
"scope": 171,
"src": "1538:96:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "ba6f20f4",
"id": 152,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "getWrappedAssetAllowance",
"nameLocation": "1648:24:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 148,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 143,
"mutability": "mutable",
"name": "token",
"nameLocation": "1681:5:0",
"nodeType": "VariableDeclaration",
"scope": 152,
"src": "1673:13:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 142,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1673:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 145,
"mutability": "mutable",
"name": "owner",
"nameLocation": "1696:5:0",
"nodeType": "VariableDeclaration",
"scope": 152,
"src": "1688:13:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 144,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1688:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 147,
"mutability": "mutable",
"name": "spender",
"nameLocation": "1711:7:0",
"nodeType": "VariableDeclaration",
"scope": 152,
"src": "1703:15:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 146,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1703:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "1672:47:0"
},
"returnParameters": {
"id": 151,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 150,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 152,
"src": "1743:7:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 149,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1743:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "1742:9:0"
},
"scope": 171,
"src": "1639:113:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "a2dc637b",
"id": 161,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "getWrappedAssetTransferAllowance",
"nameLocation": "1766:32:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 157,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 154,
"mutability": "mutable",
"name": "token",
"nameLocation": "1807:5:0",
"nodeType": "VariableDeclaration",
"scope": 161,
"src": "1799:13:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 153,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1799:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 156,
"mutability": "mutable",
"name": "spender",
"nameLocation": "1822:7:0",
"nodeType": "VariableDeclaration",
"scope": 161,
"src": "1814:15:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 155,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1814:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "1798:32:0"
},
"returnParameters": {
"id": 160,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 159,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 161,
"src": "1854:7:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 158,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1854:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "1853:9:0"
},
"scope": 171,
"src": "1757:106:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
},
{
"functionSelector": "0bf64c75",
"id": 170,
"implemented": false,
"kind": "function",
"modifiers": [],
"name": "getWrappedAssetApproveAllowance",
"nameLocation": "1877:31:0",
"nodeType": "FunctionDefinition",
"parameters": {
"id": 166,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 163,
"mutability": "mutable",
"name": "token",
"nameLocation": "1917:5:0",
"nodeType": "VariableDeclaration",
"scope": 170,
"src": "1909:13:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 162,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1909:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
},
{
"constant": false,
"id": 165,
"mutability": "mutable",
"name": "spender",
"nameLocation": "1932:7:0",
"nodeType": "VariableDeclaration",
"scope": 170,
"src": "1924:15:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
},
"typeName": {
"id": 164,
"name": "address",
"nodeType": "ElementaryTypeName",
"src": "1924:7:0",
"stateMutability": "nonpayable",
"typeDescriptions": {
"typeIdentifier": "t_address",
"typeString": "address"
}
},
"visibility": "internal"
}
],
"src": "1908:32:0"
},
"returnParameters": {
"id": 169,
"nodeType": "ParameterList",
"parameters": [
{
"constant": false,
"id": 168,
"mutability": "mutable",
"name": "",
"nameLocation": "-1:-1:-1",
"nodeType": "VariableDeclaration",
"scope": 170,
"src": "1964:7:0",
"stateVariable": false,
"storageLocation": "default",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
},
"typeName": {
"id": 167,
"name": "uint256",
"nodeType": "ElementaryTypeName",
"src": "1964:7:0",
"typeDescriptions": {
"typeIdentifier": "t_uint256",
"typeString": "uint256"
}
},
"visibility": "internal"
}
],
"src": "1963:9:0"
},
"scope": 171,
"src": "1868:105:0",
"stateMutability": "view",
"virtual": false,
"visibility": "external"
}
],
"scope": 172,
"src": "59:1916:0",
"usedErrors": [],
"usedEvents": []
}
],
"src": "32:1944:0"
},
"id": 0
}
}
}
}