@bloxchain/sdk 1.0.0-alpha.3 → 1.0.0-alpha.5

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.
Files changed (59) hide show
  1. package/abi/AccountBlox.abi.json +420 -2293
  2. package/abi/BareBlox.abi.json +19 -0
  3. package/abi/BaseStateMachine.abi.json +19 -0
  4. package/abi/EngineBlox.abi.json +0 -31
  5. package/abi/GuardController.abi.json +142 -724
  6. package/abi/RoleBlox.abi.json +393 -1639
  7. package/abi/RuntimeRBAC.abi.json +21 -98
  8. package/abi/SecureBlox.abi.json +276 -1426
  9. package/abi/SecureOwnable.abi.json +276 -1426
  10. package/abi/SimpleRWA20.abi.json +313 -1644
  11. package/abi/SimpleVault.abi.json +498 -2117
  12. package/dist/abi/BaseStateMachine.abi.json +19 -0
  13. package/dist/abi/GuardController.abi.json +142 -724
  14. package/dist/abi/RuntimeRBAC.abi.json +21 -98
  15. package/dist/abi/SecureOwnable.abi.json +276 -1426
  16. package/dist/contracts/SecureOwnable.d.ts +1 -1
  17. package/dist/contracts/SecureOwnable.d.ts.map +1 -1
  18. package/dist/contracts/SecureOwnable.js +2 -2
  19. package/dist/contracts/SecureOwnable.js.map +1 -1
  20. package/dist/contracts/core/BaseStateMachine.d.ts +98 -0
  21. package/dist/contracts/core/BaseStateMachine.d.ts.map +1 -0
  22. package/dist/contracts/core/BaseStateMachine.js +271 -0
  23. package/dist/contracts/core/BaseStateMachine.js.map +1 -0
  24. package/dist/contracts/core/GuardController.d.ts +120 -0
  25. package/dist/contracts/core/GuardController.d.ts.map +1 -0
  26. package/dist/contracts/core/GuardController.js +150 -0
  27. package/dist/contracts/core/GuardController.js.map +1 -0
  28. package/dist/contracts/core/RuntimeRBAC.d.ts +40 -0
  29. package/dist/contracts/core/RuntimeRBAC.d.ts.map +1 -0
  30. package/dist/contracts/core/RuntimeRBAC.js +50 -0
  31. package/dist/contracts/core/RuntimeRBAC.js.map +1 -0
  32. package/dist/contracts/core/SecureOwnable.d.ts +41 -0
  33. package/dist/contracts/core/SecureOwnable.d.ts.map +1 -0
  34. package/dist/contracts/core/SecureOwnable.js +81 -0
  35. package/dist/contracts/core/SecureOwnable.js.map +1 -0
  36. package/dist/index.d.ts +4 -4
  37. package/dist/index.d.ts.map +1 -1
  38. package/dist/index.js +4 -4
  39. package/dist/index.js.map +1 -1
  40. package/dist/interfaces/core.security.index.d.ts +1 -1
  41. package/dist/interfaces/core.security.index.d.ts.map +1 -1
  42. package/dist/lib/EngineBlox.d.ts +0 -9
  43. package/dist/lib/EngineBlox.d.ts.map +1 -1
  44. package/dist/lib/EngineBlox.js +0 -9
  45. package/dist/lib/EngineBlox.js.map +1 -1
  46. package/dist/types/base.state.machine.index.d.ts +0 -1
  47. package/dist/types/base.state.machine.index.d.ts.map +1 -1
  48. package/dist/types/base.state.machine.index.js +1 -2
  49. package/dist/types/base.state.machine.index.js.map +1 -1
  50. package/dist/types/core.security.index.d.ts.map +1 -1
  51. package/dist/types/core.security.index.js +2 -2
  52. package/dist/types/core.security.index.js.map +1 -1
  53. package/dist/utils/contract-errors.d.ts +0 -1
  54. package/dist/utils/contract-errors.d.ts.map +1 -1
  55. package/dist/utils/contract-errors.js +4 -4
  56. package/dist/utils/contract-errors.js.map +1 -1
  57. package/dist/utils/interface-ids.js +1 -1
  58. package/dist/utils/interface-ids.js.map +1 -1
  59. package/package.json +71 -71
@@ -821,6 +821,25 @@
821
821
  "stateMutability": "view",
822
822
  "type": "function"
823
823
  },
824
+ {
825
+ "inputs": [
826
+ {
827
+ "internalType": "bytes4",
828
+ "name": "functionSelector",
829
+ "type": "bytes4"
830
+ }
831
+ ],
832
+ "name": "getHooks",
833
+ "outputs": [
834
+ {
835
+ "internalType": "address[]",
836
+ "name": "hooks",
837
+ "type": "address[]"
838
+ }
839
+ ],
840
+ "stateMutability": "view",
841
+ "type": "function"
842
+ },
824
843
  {
825
844
  "inputs": [],
826
845
  "name": "getPendingTransactions",
@@ -158,6 +158,25 @@
158
158
  "stateMutability": "view",
159
159
  "type": "function"
160
160
  },
161
+ {
162
+ "inputs": [
163
+ {
164
+ "internalType": "bytes4",
165
+ "name": "functionSelector",
166
+ "type": "bytes4"
167
+ }
168
+ ],
169
+ "name": "getHooks",
170
+ "outputs": [
171
+ {
172
+ "internalType": "address[]",
173
+ "name": "hooks",
174
+ "type": "address[]"
175
+ }
176
+ ],
177
+ "stateMutability": "view",
178
+ "type": "function"
179
+ },
161
180
  {
162
181
  "inputs": [
163
182
  {
@@ -64,11 +64,6 @@
64
64
  "internalType": "bytes4",
65
65
  "name": "functionSelector",
66
66
  "type": "bytes4"
67
- },
68
- {
69
- "internalType": "string",
70
- "name": "functionSignature",
71
- "type": "string"
72
67
  }
73
68
  ],
74
69
  "name": "ContractFunctionMustBeProtected",
@@ -670,32 +665,6 @@
670
665
  "stateMutability": "view",
671
666
  "type": "function"
672
667
  },
673
- {
674
- "inputs": [],
675
- "name": "UPDATE_PAYMENT_OPERATION",
676
- "outputs": [
677
- {
678
- "internalType": "bytes32",
679
- "name": "",
680
- "type": "bytes32"
681
- }
682
- ],
683
- "stateMutability": "view",
684
- "type": "function"
685
- },
686
- {
687
- "inputs": [],
688
- "name": "UPDATE_PAYMENT_SELECTOR",
689
- "outputs": [
690
- {
691
- "internalType": "bytes4",
692
- "name": "",
693
- "type": "bytes4"
694
- }
695
- ],
696
- "stateMutability": "view",
697
- "type": "function"
698
- },
699
668
  {
700
669
  "inputs": [],
701
670
  "name": "VERSION_MAJOR",