81 lines
1.6 KiB
JSON
81 lines
1.6 KiB
JSON
{
|
|
"version": "0.1.0",
|
|
"name": "remote_executor",
|
|
"instructions": [
|
|
{
|
|
"name": "executePostedVaa",
|
|
"accounts": [
|
|
{
|
|
"name": "payer",
|
|
"isMut": true,
|
|
"isSigner": true
|
|
},
|
|
{
|
|
"name": "postedVaa",
|
|
"isMut": false,
|
|
"isSigner": false
|
|
},
|
|
{
|
|
"name": "claimRecord",
|
|
"isMut": true,
|
|
"isSigner": false,
|
|
"docs": [
|
|
"The reason claim_record has different seeds than executor_key is that executor key might need to pay in the CPI, so we want it to be a native wallet"
|
|
]
|
|
},
|
|
{
|
|
"name": "systemProgram",
|
|
"isMut": false,
|
|
"isSigner": false
|
|
}
|
|
],
|
|
"args": []
|
|
}
|
|
],
|
|
"accounts": [
|
|
{
|
|
"name": "ClaimRecord",
|
|
"docs": ["This struct records"],
|
|
"type": {
|
|
"kind": "struct",
|
|
"fields": [
|
|
{
|
|
"name": "sequence",
|
|
"type": "u64"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"errors": [
|
|
{
|
|
"code": 6000,
|
|
"name": "EmitterChainNotSolana"
|
|
},
|
|
{
|
|
"code": 6001,
|
|
"name": "NonIncreasingSequence"
|
|
},
|
|
{
|
|
"code": 6002,
|
|
"name": "GovernanceHeaderInvalidMagicNumber"
|
|
},
|
|
{
|
|
"code": 6003,
|
|
"name": "GovernanceHeaderInvalidModule"
|
|
},
|
|
{
|
|
"code": 6004,
|
|
"name": "GovernanceHeaderInvalidAction"
|
|
},
|
|
{
|
|
"code": 6005,
|
|
"name": "GovernanceHeaderInvalidReceiverChain"
|
|
},
|
|
{
|
|
"code": 6006,
|
|
"name": "PostedVaaHeaderWrongMagicNumber"
|
|
}
|
|
]
|
|
}
|