Skip to content

Commit

Permalink
update idls json files
Browse files Browse the repository at this point in the history
  • Loading branch information
makarychev committed Nov 15, 2024
1 parent bce204f commit f6b93b8
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 5 deletions.
7 changes: 6 additions & 1 deletion app/src/idls/access_control.json
Original file line number Diff line number Diff line change
Expand Up @@ -1202,7 +1202,7 @@
},
{
"code": 6004,
"name": "MisMatchedEscrow",
"name": "MismatchedEscrowAccount",
"msg": "Mismatched escrow account"
},
{
Expand All @@ -1214,6 +1214,11 @@
"code": 6006,
"name": "CantForceTransferBetweenLockup",
"msg": "Cannot force transfer between lockup accounts"
},
{
"code": 6007,
"name": "ValueUnchanged",
"msg": "The provided value is already set. No changes were made"
}
],
"types": [
Expand Down
26 changes: 25 additions & 1 deletion app/src/idls/dividends.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,26 @@
"name": "access_control",
"docs": [
"Access Control for Security Token."
]
],
"pda": {
"seeds": [
{
"kind": "const",
"value": [
97,
99
]
},
{
"kind": "account",
"path": "security_mint"
}
]
}
},
{
"name": "security_mint",
"writable": true
},
{
"name": "payer",
Expand Down Expand Up @@ -518,6 +537,11 @@
"code": 6010,
"name": "InvalidIPFSHashSize",
"msg": "Invalid IPFS hash size"
},
{
"code": 6011,
"name": "ValueUnchanged",
"msg": "The provided value is already set. No changes were made"
}
],
"types": [
Expand Down
59 changes: 56 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 Expand Up @@ -2054,6 +2102,11 @@
"code": 6020,
"name": "ZeroGroupHolderGroupMaxCannotBeNonZero",
"msg": "Zero group holder group max cannot be non-zero"
},
{
"code": 6021,
"name": "ValueUnchanged",
"msg": "The provided value is already set. No changes were made"
}
],
"types": [
Expand Down

0 comments on commit f6b93b8

Please sign in to comment.