@glamsystems/glam-sdk 1.0.14-alpha.5 → 1.1.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4686,7 +4686,7 @@
4686
4686
  },
4687
4687
  {
4688
4688
  "name": "priority",
4689
- "type": "u8"
4689
+ "type": "i8"
4690
4690
  },
4691
4691
  {
4692
4692
  "name": "padding",
@@ -5175,18 +5175,30 @@
5175
5175
  },
5176
5176
  {
5177
5177
  "name": "referrer",
5178
+ "docs": [
5179
+ "Default GLAM referrer"
5180
+ ],
5178
5181
  "type": "pubkey"
5179
5182
  },
5180
5183
  {
5181
5184
  "name": "base_fee_bps",
5185
+ "docs": [
5186
+ "Default protocol base fee applied to all vaults"
5187
+ ],
5182
5188
  "type": "u16"
5183
5189
  },
5184
5190
  {
5185
5191
  "name": "flow_fee_bps",
5192
+ "docs": [
5193
+ "Default protocol flow fee applied to all vaults"
5194
+ ],
5186
5195
  "type": "u16"
5187
5196
  },
5188
5197
  {
5189
5198
  "name": "asset_metas",
5199
+ "docs": [
5200
+ "List of assets and their oracle configs supported by the protocol"
5201
+ ],
5190
5202
  "type": {
5191
5203
  "vec": {
5192
5204
  "defined": {
@@ -1812,15 +1812,25 @@
1812
1812
  "msg": "Drift spot market cumulative interest is stale"
1813
1813
  },
1814
1814
  {
1815
- "code": 49018,
1815
+ "code": 49017,
1816
1816
  "name": "AssetBalanceNotZero",
1817
1817
  "msg": "Cannot delete asset: vault token account balance is not zero"
1818
1818
  },
1819
1819
  {
1820
- "code": 49019,
1820
+ "code": 49018,
1821
1821
  "name": "CannotDeleteBaseAsset",
1822
1822
  "msg": "Cannot delete base asset from allowlist"
1823
1823
  },
1824
+ {
1825
+ "code": 49019,
1826
+ "name": "IntegrationAclLimitExceeded",
1827
+ "msg": "Integration ACL limit exceeded"
1828
+ },
1829
+ {
1830
+ "code": 49020,
1831
+ "name": "DelegateAclLimitExceeded",
1832
+ "msg": "Delegate ACL limit exceeded"
1833
+ },
1824
1834
  {
1825
1835
  "code": 50000,
1826
1836
  "name": "WithdrawDenied",
@@ -3252,6 +3262,11 @@
3252
3262
  "type": "u16",
3253
3263
  "value": "1"
3254
3264
  },
3265
+ {
3266
+ "name": "PROTO_SYSTEM_PERM_EMERGENCY_UPDATE",
3267
+ "type": "u64",
3268
+ "value": "4"
3269
+ },
3255
3270
  {
3256
3271
  "name": "PROTO_SYSTEM_PERM_TRANSFER",
3257
3272
  "type": "u64",