Skip to content

Commit

Permalink
update json idls
Browse files Browse the repository at this point in the history
  • Loading branch information
makarychev committed Nov 15, 2024
1 parent 7cf61d9 commit 98d5084
Show file tree
Hide file tree
Showing 3 changed files with 113 additions and 4 deletions.
58 changes: 57 additions & 1 deletion app/src/idls/access_control.json
Original file line number Diff line number Diff line change
Expand Up @@ -896,6 +896,57 @@
],
"args": []
},
{
"name": "set_max_total_supply",
"discriminator": [
249,
164,
34,
254,
160,
89,
214,
12
],
"accounts": [
{
"name": "access_control_account",
"writable": true,
"pda": {
"seeds": [
{
"kind": "const",
"value": [
97,
99
]
},
{
"kind": "account",
"path": "mint"
}
]
}
},
{
"name": "mint"
},
{
"name": "authority_wallet_role"
},
{
"name": "payer",
"writable": true,
"signer": true
}
],
"args": [
{
"name": "max_total_supply",
"type": "u64"
}
]
},
{
"name": "thaw_wallet",
"discriminator": [
Expand Down Expand Up @@ -1202,7 +1253,7 @@
},
{
"code": 6004,
"name": "MisMatchedEscrow",
"name": "MismatchedEscrowAccount",
"msg": "Mismatched escrow account"
},
{
Expand All @@ -1214,6 +1265,11 @@
"code": 6006,
"name": "CantForceTransferBetweenLockup",
"msg": "Cannot force transfer between lockup accounts"
},
{
"code": 6007,
"name": "NewMaxTotalSupplyMustExceedCurrentTotalSupply",
"msg": "New max total supply must exceed current total supply"
}
],
"types": [
Expand Down
5 changes: 5 additions & 0 deletions app/src/idls/tokenlock.json
Original file line number Diff line number Diff line change
Expand Up @@ -757,6 +757,11 @@
"code": 6036,
"name": "InvalidAccountOwner",
"msg": "Invalid account owner"
},
{
"code": 6037,
"name": "CantVestAllForMultipleReleases",
"msg": "Cannot vest all for multiple releases"
}
],
"types": [
Expand Down
54 changes: 51 additions & 3 deletions app/src/idls/transfer_restrictions.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,61 @@
"name": "destination_account"
},
{
"name": "transfer_restriction_data"
"name": "transfer_restriction_data",
"pda": {
"seeds": [
{
"kind": "const",
"value": [
116,
114,
100
]
},
{
"kind": "account",
"path": "mint"
}
]
}
},
{
"name": "security_associated_account_from"
"name": "security_associated_account_from",
"pda": {
"seeds": [
{
"kind": "const",
"value": [
115,
97,
97
]
},
{
"kind": "account",
"path": "source_account"
}
]
}
},
{
"name": "security_associated_account_to"
"name": "security_associated_account_to",
"pda": {
"seeds": [
{
"kind": "const",
"value": [
115,
97,
97
]
},
{
"kind": "account",
"path": "destination_account"
}
]
}
},
{
"name": "transfer_rule",
Expand Down

0 comments on commit 98d5084

Please sign in to comment.