stubbing files & minor fixes
This commit is contained in:
parent
406860ecaf
commit
ad469c39d4
|
@ -1,3 +1,4 @@
|
|||
.DS_STORE
|
||||
book
|
||||
projects/wormhole/
|
||||
projects/wormhole/
|
||||
projects/messenger/node_modules
|
|
@ -22,4 +22,4 @@
|
|||
"wormhole": {
|
||||
"restAddress": "http://localhost:7071"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,129 @@
|
|||
{
|
||||
"_format": "ethers-rs-sol-cache-3",
|
||||
"paths": {
|
||||
"artifacts": "out",
|
||||
"sources": "src",
|
||||
"tests": "test",
|
||||
"libraries": [
|
||||
"lib"
|
||||
]
|
||||
},
|
||||
"files": {
|
||||
"src/Messenger.sol": {
|
||||
"lastModificationDate": 1654006013773,
|
||||
"contentHash": "b21dd2ab010d42c4abc588eed32658bd",
|
||||
"sourceName": "src/Messenger.sol",
|
||||
"solcConfig": {
|
||||
"settings": {
|
||||
"optimizer": {
|
||||
"enabled": true,
|
||||
"runs": 200
|
||||
},
|
||||
"metadata": {
|
||||
"bytecodeHash": "ipfs"
|
||||
},
|
||||
"outputSelection": {
|
||||
"*": {
|
||||
"": [
|
||||
"ast"
|
||||
],
|
||||
"*": [
|
||||
"abi",
|
||||
"evm.bytecode",
|
||||
"evm.deployedBytecode",
|
||||
"evm.methodIdentifiers"
|
||||
]
|
||||
}
|
||||
},
|
||||
"evmVersion": "london"
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
"src/Wormhole/IWormhole.sol",
|
||||
"src/Wormhole/Structs.sol"
|
||||
],
|
||||
"versionRequirement": "^0.8.0",
|
||||
"artifacts": {
|
||||
"Messenger": {
|
||||
"0.8.10+commit.fc410830.Linux.gcc": "Messenger.sol/Messenger.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"src/Wormhole/IWormhole.sol": {
|
||||
"lastModificationDate": 1654006013783,
|
||||
"contentHash": "7c930d4b68538e731af28a8d1979f44e",
|
||||
"sourceName": "src/Wormhole/IWormhole.sol",
|
||||
"solcConfig": {
|
||||
"settings": {
|
||||
"optimizer": {
|
||||
"enabled": true,
|
||||
"runs": 200
|
||||
},
|
||||
"metadata": {
|
||||
"bytecodeHash": "ipfs"
|
||||
},
|
||||
"outputSelection": {
|
||||
"*": {
|
||||
"": [
|
||||
"ast"
|
||||
],
|
||||
"*": [
|
||||
"abi",
|
||||
"evm.bytecode",
|
||||
"evm.deployedBytecode",
|
||||
"evm.methodIdentifiers"
|
||||
]
|
||||
}
|
||||
},
|
||||
"evmVersion": "london"
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
"src/Wormhole/Structs.sol"
|
||||
],
|
||||
"versionRequirement": "^0.8.0",
|
||||
"artifacts": {
|
||||
"IWormhole": {
|
||||
"0.8.10+commit.fc410830.Linux.gcc": "IWormhole.sol/IWormhole.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"src/Wormhole/Structs.sol": {
|
||||
"lastModificationDate": 1654006013783,
|
||||
"contentHash": "4e824cc204959f4fcab06c4e806448c4",
|
||||
"sourceName": "src/Wormhole/Structs.sol",
|
||||
"solcConfig": {
|
||||
"settings": {
|
||||
"optimizer": {
|
||||
"enabled": true,
|
||||
"runs": 200
|
||||
},
|
||||
"metadata": {
|
||||
"bytecodeHash": "ipfs"
|
||||
},
|
||||
"outputSelection": {
|
||||
"*": {
|
||||
"": [
|
||||
"ast"
|
||||
],
|
||||
"*": [
|
||||
"abi",
|
||||
"evm.bytecode",
|
||||
"evm.deployedBytecode",
|
||||
"evm.methodIdentifiers"
|
||||
]
|
||||
}
|
||||
},
|
||||
"evmVersion": "london"
|
||||
}
|
||||
},
|
||||
"imports": [],
|
||||
"versionRequirement": "^0.8.0",
|
||||
"artifacts": {
|
||||
"Structs": {
|
||||
"0.8.10+commit.fc410830.Linux.gcc": "Structs.sol/Structs.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,674 @@
|
|||
{
|
||||
"abi": [],
|
||||
"bytecode": {
|
||||
"object": "0x",
|
||||
"sourceMap": "",
|
||||
"linkReferences": {}
|
||||
},
|
||||
"deployedBytecode": {
|
||||
"object": "0x",
|
||||
"sourceMap": "",
|
||||
"linkReferences": {}
|
||||
},
|
||||
"methodIdentifiers": {},
|
||||
"ast": {
|
||||
"absolutePath": "src/Wormhole/Structs.sol",
|
||||
"id": 331,
|
||||
"exportedSymbols": {
|
||||
"Structs": [
|
||||
330
|
||||
]
|
||||
},
|
||||
"nodeType": "SourceUnit",
|
||||
"src": "63:551:2",
|
||||
"nodes": [
|
||||
{
|
||||
"id": 282,
|
||||
"nodeType": "PragmaDirective",
|
||||
"src": "63:23:2",
|
||||
"literals": [
|
||||
"solidity",
|
||||
"^",
|
||||
"0.8",
|
||||
".0"
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": 330,
|
||||
"nodeType": "ContractDefinition",
|
||||
"src": "88:526:2",
|
||||
"nodes": [
|
||||
{
|
||||
"id": 289,
|
||||
"nodeType": "StructDefinition",
|
||||
"src": "109:96:2",
|
||||
"canonicalName": "Structs.Provider",
|
||||
"members": [
|
||||
{
|
||||
"constant": false,
|
||||
"id": 284,
|
||||
"mutability": "mutable",
|
||||
"name": "chainId",
|
||||
"nameLocation": "136:7:2",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 289,
|
||||
"src": "129:14:2",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_uint16",
|
||||
"typeString": "uint16"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 283,
|
||||
"name": "uint16",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "129:6:2",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_uint16",
|
||||
"typeString": "uint16"
|
||||
}
|
||||
},
|
||||
"visibility": "internal"
|
||||
},
|
||||
{
|
||||
"constant": false,
|
||||
"id": 286,
|
||||
"mutability": "mutable",
|
||||
"name": "governanceChainId",
|
||||
"nameLocation": "154:17:2",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 289,
|
||||
"src": "147:24:2",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_uint16",
|
||||
"typeString": "uint16"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 285,
|
||||
"name": "uint16",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "147:6:2",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_uint16",
|
||||
"typeString": "uint16"
|
||||
}
|
||||
},
|
||||
"visibility": "internal"
|
||||
},
|
||||
{
|
||||
"constant": false,
|
||||
"id": 288,
|
||||
"mutability": "mutable",
|
||||
"name": "governanceContract",
|
||||
"nameLocation": "183:18:2",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 289,
|
||||
"src": "175:26:2",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_bytes32",
|
||||
"typeString": "bytes32"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 287,
|
||||
"name": "bytes32",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "175:7:2",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_bytes32",
|
||||
"typeString": "bytes32"
|
||||
}
|
||||
},
|
||||
"visibility": "internal"
|
||||
}
|
||||
],
|
||||
"name": "Provider",
|
||||
"nameLocation": "116:8:2",
|
||||
"scope": 330,
|
||||
"visibility": "public"
|
||||
},
|
||||
{
|
||||
"id": 295,
|
||||
"nodeType": "StructDefinition",
|
||||
"src": "208:66:2",
|
||||
"canonicalName": "Structs.GuardianSet",
|
||||
"members": [
|
||||
{
|
||||
"constant": false,
|
||||
"id": 292,
|
||||
"mutability": "mutable",
|
||||
"name": "keys",
|
||||
"nameLocation": "241:4:2",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 295,
|
||||
"src": "231:14:2",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
|
||||
"typeString": "address[]"
|
||||
},
|
||||
"typeName": {
|
||||
"baseType": {
|
||||
"id": 290,
|
||||
"name": "address",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "231:7:2",
|
||||
"stateMutability": "nonpayable",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_address",
|
||||
"typeString": "address"
|
||||
}
|
||||
},
|
||||
"id": 291,
|
||||
"nodeType": "ArrayTypeName",
|
||||
"src": "231:9:2",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_array$_t_address_$dyn_storage_ptr",
|
||||
"typeString": "address[]"
|
||||
}
|
||||
},
|
||||
"visibility": "internal"
|
||||
},
|
||||
{
|
||||
"constant": false,
|
||||
"id": 294,
|
||||
"mutability": "mutable",
|
||||
"name": "expirationTime",
|
||||
"nameLocation": "256:14:2",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 295,
|
||||
"src": "249:21:2",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_uint32",
|
||||
"typeString": "uint32"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 293,
|
||||
"name": "uint32",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "249:6:2",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_uint32",
|
||||
"typeString": "uint32"
|
||||
}
|
||||
},
|
||||
"visibility": "internal"
|
||||
}
|
||||
],
|
||||
"name": "GuardianSet",
|
||||
"nameLocation": "215:11:2",
|
||||
"scope": 330,
|
||||
"visibility": "public"
|
||||
},
|
||||
{
|
||||
"id": 304,
|
||||
"nodeType": "StructDefinition",
|
||||
"src": "277:81:2",
|
||||
"canonicalName": "Structs.Signature",
|
||||
"members": [
|
||||
{
|
||||
"constant": false,
|
||||
"id": 297,
|
||||
"mutability": "mutable",
|
||||
"name": "r",
|
||||
"nameLocation": "306:1:2",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 304,
|
||||
"src": "298:9:2",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_bytes32",
|
||||
"typeString": "bytes32"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 296,
|
||||
"name": "bytes32",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "298:7:2",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_bytes32",
|
||||
"typeString": "bytes32"
|
||||
}
|
||||
},
|
||||
"visibility": "internal"
|
||||
},
|
||||
{
|
||||
"constant": false,
|
||||
"id": 299,
|
||||
"mutability": "mutable",
|
||||
"name": "s",
|
||||
"nameLocation": "319:1:2",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 304,
|
||||
"src": "311:9:2",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_bytes32",
|
||||
"typeString": "bytes32"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 298,
|
||||
"name": "bytes32",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "311:7:2",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_bytes32",
|
||||
"typeString": "bytes32"
|
||||
}
|
||||
},
|
||||
"visibility": "internal"
|
||||
},
|
||||
{
|
||||
"constant": false,
|
||||
"id": 301,
|
||||
"mutability": "mutable",
|
||||
"name": "v",
|
||||
"nameLocation": "330:1:2",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 304,
|
||||
"src": "324:7:2",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_uint8",
|
||||
"typeString": "uint8"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 300,
|
||||
"name": "uint8",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "324:5:2",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_uint8",
|
||||
"typeString": "uint8"
|
||||
}
|
||||
},
|
||||
"visibility": "internal"
|
||||
},
|
||||
{
|
||||
"constant": false,
|
||||
"id": 303,
|
||||
"mutability": "mutable",
|
||||
"name": "guardianIndex",
|
||||
"nameLocation": "341:13:2",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 304,
|
||||
"src": "335:19:2",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_uint8",
|
||||
"typeString": "uint8"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 302,
|
||||
"name": "uint8",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "335:5:2",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_uint8",
|
||||
"typeString": "uint8"
|
||||
}
|
||||
},
|
||||
"visibility": "internal"
|
||||
}
|
||||
],
|
||||
"name": "Signature",
|
||||
"nameLocation": "284:9:2",
|
||||
"scope": 330,
|
||||
"visibility": "public"
|
||||
},
|
||||
{
|
||||
"id": 329,
|
||||
"nodeType": "StructDefinition",
|
||||
"src": "361:251:2",
|
||||
"canonicalName": "Structs.VM",
|
||||
"members": [
|
||||
{
|
||||
"constant": false,
|
||||
"id": 306,
|
||||
"mutability": "mutable",
|
||||
"name": "version",
|
||||
"nameLocation": "381:7:2",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 329,
|
||||
"src": "375:13:2",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_uint8",
|
||||
"typeString": "uint8"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 305,
|
||||
"name": "uint8",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "375:5:2",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_uint8",
|
||||
"typeString": "uint8"
|
||||
}
|
||||
},
|
||||
"visibility": "internal"
|
||||
},
|
||||
{
|
||||
"constant": false,
|
||||
"id": 308,
|
||||
"mutability": "mutable",
|
||||
"name": "timestamp",
|
||||
"nameLocation": "399:9:2",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 329,
|
||||
"src": "392:16:2",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_uint32",
|
||||
"typeString": "uint32"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 307,
|
||||
"name": "uint32",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "392:6:2",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_uint32",
|
||||
"typeString": "uint32"
|
||||
}
|
||||
},
|
||||
"visibility": "internal"
|
||||
},
|
||||
{
|
||||
"constant": false,
|
||||
"id": 310,
|
||||
"mutability": "mutable",
|
||||
"name": "nonce",
|
||||
"nameLocation": "419:5:2",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 329,
|
||||
"src": "412:12:2",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_uint32",
|
||||
"typeString": "uint32"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 309,
|
||||
"name": "uint32",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "412:6:2",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_uint32",
|
||||
"typeString": "uint32"
|
||||
}
|
||||
},
|
||||
"visibility": "internal"
|
||||
},
|
||||
{
|
||||
"constant": false,
|
||||
"id": 312,
|
||||
"mutability": "mutable",
|
||||
"name": "emitterChainId",
|
||||
"nameLocation": "435:14:2",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 329,
|
||||
"src": "428:21:2",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_uint16",
|
||||
"typeString": "uint16"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 311,
|
||||
"name": "uint16",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "428:6:2",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_uint16",
|
||||
"typeString": "uint16"
|
||||
}
|
||||
},
|
||||
"visibility": "internal"
|
||||
},
|
||||
{
|
||||
"constant": false,
|
||||
"id": 314,
|
||||
"mutability": "mutable",
|
||||
"name": "emitterAddress",
|
||||
"nameLocation": "461:14:2",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 329,
|
||||
"src": "453:22:2",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_bytes32",
|
||||
"typeString": "bytes32"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 313,
|
||||
"name": "bytes32",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "453:7:2",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_bytes32",
|
||||
"typeString": "bytes32"
|
||||
}
|
||||
},
|
||||
"visibility": "internal"
|
||||
},
|
||||
{
|
||||
"constant": false,
|
||||
"id": 316,
|
||||
"mutability": "mutable",
|
||||
"name": "sequence",
|
||||
"nameLocation": "486:8:2",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 329,
|
||||
"src": "479:15:2",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_uint64",
|
||||
"typeString": "uint64"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 315,
|
||||
"name": "uint64",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "479:6:2",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_uint64",
|
||||
"typeString": "uint64"
|
||||
}
|
||||
},
|
||||
"visibility": "internal"
|
||||
},
|
||||
{
|
||||
"constant": false,
|
||||
"id": 318,
|
||||
"mutability": "mutable",
|
||||
"name": "consistencyLevel",
|
||||
"nameLocation": "504:16:2",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 329,
|
||||
"src": "498:22:2",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_uint8",
|
||||
"typeString": "uint8"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 317,
|
||||
"name": "uint8",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "498:5:2",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_uint8",
|
||||
"typeString": "uint8"
|
||||
}
|
||||
},
|
||||
"visibility": "internal"
|
||||
},
|
||||
{
|
||||
"constant": false,
|
||||
"id": 320,
|
||||
"mutability": "mutable",
|
||||
"name": "payload",
|
||||
"nameLocation": "530:7:2",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 329,
|
||||
"src": "524:13:2",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_bytes_storage_ptr",
|
||||
"typeString": "bytes"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 319,
|
||||
"name": "bytes",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "524:5:2",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_bytes_storage_ptr",
|
||||
"typeString": "bytes"
|
||||
}
|
||||
},
|
||||
"visibility": "internal"
|
||||
},
|
||||
{
|
||||
"constant": false,
|
||||
"id": 322,
|
||||
"mutability": "mutable",
|
||||
"name": "guardianSetIndex",
|
||||
"nameLocation": "549:16:2",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 329,
|
||||
"src": "542:23:2",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_uint32",
|
||||
"typeString": "uint32"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 321,
|
||||
"name": "uint32",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "542:6:2",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_uint32",
|
||||
"typeString": "uint32"
|
||||
}
|
||||
},
|
||||
"visibility": "internal"
|
||||
},
|
||||
{
|
||||
"constant": false,
|
||||
"id": 326,
|
||||
"mutability": "mutable",
|
||||
"name": "signatures",
|
||||
"nameLocation": "581:10:2",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 329,
|
||||
"src": "569:22:2",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_array$_t_struct$_Signature_$304_storage_$dyn_storage_ptr",
|
||||
"typeString": "struct Structs.Signature[]"
|
||||
},
|
||||
"typeName": {
|
||||
"baseType": {
|
||||
"id": 324,
|
||||
"nodeType": "UserDefinedTypeName",
|
||||
"pathNode": {
|
||||
"id": 323,
|
||||
"name": "Signature",
|
||||
"nodeType": "IdentifierPath",
|
||||
"referencedDeclaration": 304,
|
||||
"src": "569:9:2"
|
||||
},
|
||||
"referencedDeclaration": 304,
|
||||
"src": "569:9:2",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_struct$_Signature_$304_storage_ptr",
|
||||
"typeString": "struct Structs.Signature"
|
||||
}
|
||||
},
|
||||
"id": 325,
|
||||
"nodeType": "ArrayTypeName",
|
||||
"src": "569:11:2",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_array$_t_struct$_Signature_$304_storage_$dyn_storage_ptr",
|
||||
"typeString": "struct Structs.Signature[]"
|
||||
}
|
||||
},
|
||||
"visibility": "internal"
|
||||
},
|
||||
{
|
||||
"constant": false,
|
||||
"id": 328,
|
||||
"mutability": "mutable",
|
||||
"name": "hash",
|
||||
"nameLocation": "604:4:2",
|
||||
"nodeType": "VariableDeclaration",
|
||||
"scope": 329,
|
||||
"src": "596:12:2",
|
||||
"stateVariable": false,
|
||||
"storageLocation": "default",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_bytes32",
|
||||
"typeString": "bytes32"
|
||||
},
|
||||
"typeName": {
|
||||
"id": 327,
|
||||
"name": "bytes32",
|
||||
"nodeType": "ElementaryTypeName",
|
||||
"src": "596:7:2",
|
||||
"typeDescriptions": {
|
||||
"typeIdentifier": "t_bytes32",
|
||||
"typeString": "bytes32"
|
||||
}
|
||||
},
|
||||
"visibility": "internal"
|
||||
}
|
||||
],
|
||||
"name": "VM",
|
||||
"nameLocation": "368:2:2",
|
||||
"scope": 330,
|
||||
"visibility": "public"
|
||||
}
|
||||
],
|
||||
"abstract": false,
|
||||
"baseContracts": [],
|
||||
"canonicalName": "Structs",
|
||||
"contractDependencies": [],
|
||||
"contractKind": "interface",
|
||||
"fullyImplemented": true,
|
||||
"linearizedBaseContracts": [
|
||||
330
|
||||
],
|
||||
"name": "Structs",
|
||||
"nameLocation": "98:7:2",
|
||||
"scope": 331,
|
||||
"usedErrors": []
|
||||
}
|
||||
],
|
||||
"license": "Apache 2"
|
||||
},
|
||||
"id": 2
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"networks": {
|
||||
"eth0": {
|
||||
"type": "evm",
|
||||
"wormholeChainId": 2,
|
||||
"rpc": "http://localhost:8545",
|
||||
"privateKey": "0x4f3edf983ac636a65a842ce7c78d9aa706d3b113bce9c46f30d7d21715b23b1d",
|
||||
"bridgeAddress": "0xC89Ce4735882C9F0f0FE26686c53074E09B0D550",
|
||||
"deployedAddress": "0x4339316e04cffb5961d1c41fef8e44bfa2a7fbd1",
|
||||
"emittedVAAs": []
|
||||
},
|
||||
"eth1": {
|
||||
"type": "evm",
|
||||
"wormholeChainId": 4,
|
||||
"rpc": "Http://localhost:8546",
|
||||
"privateKey": "0x4f3edf983ac636a65a842ce7c78d9aa706d3b113bce9c46f30d7d21715b23b1d",
|
||||
"bridgeAddress": "0xC89Ce4735882C9F0f0FE26686c53074E09B0D550",
|
||||
"deployedAddress": "0x4339316e04cffb5961d1c41fef8e44bfa2a7fbd1",
|
||||
"emittedVAAs": []
|
||||
}
|
||||
},
|
||||
"wormhole": {
|
||||
"restAddress": ""
|
||||
}
|
||||
}
|
|
@ -48,10 +48,9 @@
|
|||
- [Layer 1 Risk]()
|
||||
- [Finality Guarantees]()
|
||||
- [Examples]()
|
||||
- [Cross-Chain Swap]()
|
||||
- [Cross-Chain Dex]()
|
||||
- [Remote Staking]()
|
||||
- [Common Use Cases]()
|
||||
- [FAQ]()
|
||||
|
||||
---
|
||||
|
||||
|
@ -75,9 +74,12 @@
|
|||
- [Receving Messages](./development/messages/receiving/overview.md)
|
||||
- [EVM](./development/messages/receiving/evm.md)
|
||||
- [Projects](./projects/summary.md)
|
||||
- [EVM Messenger](./projects/evm-messenger/overview.md)
|
||||
- [Solidity](./projects/evm-messenger/messenger.md)
|
||||
- [JS Client](./projects/evm-messenger/client.md)
|
||||
- [EVM Messenger](./projects/evm-messenger/overview.md) - [Solidity](./projects/evm-messenger/messenger.md) - [JS Client](./projects/evm-messenger/client.md)
|
||||
- [Messenger](./projects/messenger/introduction.md)
|
||||
- [Prerequistes]()
|
||||
- [EVM]()
|
||||
- [Lever Puzzle]()
|
||||
|
||||
---
|
||||
|
||||
# Portal Token Bridge
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
cross chain applications, but more crucially, applications which are built for a cross-chain world. Leverage the strengths of each blockchain.
|
||||
Utilize xData to design powerful decentralized protocols which view individual blockchains as implementation details. xAssets are divorcible from the app and can move tokens across the ecosystem and custody on any chain.
|
||||
|
||||
# What is an xDapp
|
||||
|
||||
The term **xDapp** is short for "Cross-Chain Decentralized Application". At first glance, this might give the impression that xDapps are simply Dapps which meddle a bit in doing cross-chain things. However, once you get into the business of building decentralized products which are designed to operate across a variety of blockchains and runtimes, you begin to see that these applications are architected in a fundamentally different fashion than traditional Dapps.
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
# Messenger
|
Loading…
Reference in New Issue