Skip to content

Commit

Permalink
Go
Browse files Browse the repository at this point in the history
  • Loading branch information
guibescos committed Mar 1, 2024
1 parent f0cf092 commit 4d3d103
Show file tree
Hide file tree
Showing 3 changed files with 711 additions and 773 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
idl
43 changes: 11 additions & 32 deletions pythnet/message_buffer/idl/message_buffer.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,7 @@
}
]
},
"relations": [
"admin"
]
"relations": ["admin"]
}
],
"args": [
Expand All @@ -97,9 +95,7 @@
},
{
"name": "updateWhitelistAdmin",
"docs": [
"Sets the new admin for the whitelist"
],
"docs": ["Sets the new admin for the whitelist"],
"accounts": [
{
"name": "admin",
Expand All @@ -124,9 +120,7 @@
}
]
},
"relations": [
"admin"
]
"relations": ["admin"]
}
],
"args": [
Expand Down Expand Up @@ -190,9 +184,7 @@
"name": "cpiCallerAuth",
"isMut": false,
"isSigner": true,
"docs": [
"PDA representing authorized cpi caller"
]
"docs": ["PDA representing authorized cpi caller"]
}
]
},
Expand Down Expand Up @@ -271,9 +263,7 @@
}
]
},
"relations": [
"admin"
]
"relations": ["admin"]
},
{
"name": "admin",
Expand All @@ -284,9 +274,7 @@
"name": "payer",
"isMut": true,
"isSigner": true,
"docs": [
"pays for account initialization"
]
"docs": ["pays for account initialization"]
},
{
"name": "systemProgram",
Expand Down Expand Up @@ -343,9 +331,7 @@
}
]
},
"relations": [
"admin"
]
"relations": ["admin"]
},
{
"name": "admin",
Expand Down Expand Up @@ -444,9 +430,7 @@
}
]
},
"relations": [
"admin"
]
"relations": ["admin"]
},
{
"name": "admin",
Expand All @@ -457,9 +441,7 @@
"name": "payer",
"isMut": true,
"isSigner": true,
"docs": [
"Recipient of the lamports from closing the buffer account"
]
"docs": ["Recipient of the lamports from closing the buffer account"]
},
{
"name": "messageBuffer",
Expand Down Expand Up @@ -550,10 +532,7 @@
"=> msg2 = account_info.data[(header_len + 10)..(header_len + 14)]"
],
"type": {
"array": [
"u16",
255
]
"array": ["u16", 255]
}
}
]
Expand Down Expand Up @@ -619,4 +598,4 @@
"msg": "Target size exceeds MessageBuffer::MAX_LEN"
}
]
}
}
Loading

0 comments on commit 4d3d103

Please sign in to comment.