@centrifuge/sdk 0.0.0-alpha.14 → 0.0.0-alpha.16

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 (123) hide show
  1. package/dist/Centrifuge.d.ts +4 -2
  2. package/dist/Centrifuge.d.ts.map +1 -1
  3. package/dist/Centrifuge.js +29 -31
  4. package/dist/Centrifuge.js.map +1 -1
  5. package/dist/Centrifuge.test.js +40 -0
  6. package/dist/Centrifuge.test.js.map +1 -1
  7. package/dist/abi/AsyncRequestManager.abi.d.ts +1 -1
  8. package/dist/abi/AsyncRequestManager.abi.d.ts.map +1 -1
  9. package/dist/abi/AsyncRequestManager.abi.js +35 -36
  10. package/dist/abi/AsyncRequestManager.abi.js.map +1 -1
  11. package/dist/abi/AsyncVault.abi.d.ts +1 -1
  12. package/dist/abi/AsyncVault.abi.d.ts.map +1 -1
  13. package/dist/abi/AsyncVault.abi.js +36 -35
  14. package/dist/abi/AsyncVault.abi.js.map +1 -1
  15. package/dist/abi/Holdings.abi.d.ts +1 -1
  16. package/dist/abi/Holdings.abi.d.ts.map +1 -1
  17. package/dist/abi/Holdings.abi.js +29 -24
  18. package/dist/abi/Holdings.abi.js.map +1 -1
  19. package/dist/abi/Hub.abi.d.ts +1 -1
  20. package/dist/abi/Hub.abi.d.ts.map +1 -1
  21. package/dist/abi/Hub.abi.js +50 -44
  22. package/dist/abi/Hub.abi.js.map +1 -1
  23. package/dist/abi/MessageDispatcher.abi.js +1 -1
  24. package/dist/abi/MessageDispatcher.abi.js.map +1 -1
  25. package/dist/abi/MultiAdapter.abi.d.ts +3 -0
  26. package/dist/abi/MultiAdapter.abi.d.ts.map +1 -0
  27. package/dist/abi/MultiAdapter.abi.js +53 -0
  28. package/dist/abi/MultiAdapter.abi.js.map +1 -0
  29. package/dist/abi/RestrictionManager.abi.d.ts +1 -1
  30. package/dist/abi/RestrictionManager.abi.js +1 -1
  31. package/dist/abi/RestrictionManager.abi.js.map +1 -1
  32. package/dist/abi/ShareClassManager.abi.d.ts +1 -1
  33. package/dist/abi/ShareClassManager.abi.d.ts.map +1 -1
  34. package/dist/abi/ShareClassManager.abi.js +47 -42
  35. package/dist/abi/ShareClassManager.abi.js.map +1 -1
  36. package/dist/abi/Spoke.abi.d.ts +3 -0
  37. package/dist/abi/Spoke.abi.d.ts.map +1 -0
  38. package/dist/abi/{PoolManager.abi.js → Spoke.abi.js} +59 -58
  39. package/dist/abi/Spoke.abi.js.map +1 -0
  40. package/dist/abi/SyncRequestManager.abi.d.ts +1 -1
  41. package/dist/abi/SyncRequestManager.abi.d.ts.map +1 -1
  42. package/dist/abi/SyncRequestManager.abi.js +31 -29
  43. package/dist/abi/SyncRequestManager.abi.js.map +1 -1
  44. package/dist/abi/Valuation.abi.d.ts +3 -0
  45. package/dist/abi/Valuation.abi.d.ts.map +1 -0
  46. package/dist/abi/Valuation.abi.js +2 -0
  47. package/dist/abi/Valuation.abi.js.map +1 -0
  48. package/dist/abi/VaultRouter.abi.d.ts +1 -1
  49. package/dist/abi/VaultRouter.abi.d.ts.map +1 -1
  50. package/dist/abi/VaultRouter.abi.js +19 -26
  51. package/dist/abi/VaultRouter.abi.js.map +1 -1
  52. package/dist/abi/index.d.ts +3114 -2601
  53. package/dist/abi/index.d.ts.map +1 -1
  54. package/dist/abi/index.js +6 -4
  55. package/dist/abi/index.js.map +1 -1
  56. package/dist/config/chains.d.ts +455 -422
  57. package/dist/config/chains.d.ts.map +1 -1
  58. package/dist/config/chains.js +4 -3
  59. package/dist/config/chains.js.map +1 -1
  60. package/dist/config/protocol.d.ts.map +1 -1
  61. package/dist/config/protocol.js +4 -1
  62. package/dist/config/protocol.js.map +1 -1
  63. package/dist/entities/Investor.d.ts +1 -0
  64. package/dist/entities/Investor.d.ts.map +1 -1
  65. package/dist/entities/Investor.js +3 -0
  66. package/dist/entities/Investor.js.map +1 -1
  67. package/dist/entities/Pool.d.ts +26 -22
  68. package/dist/entities/Pool.d.ts.map +1 -1
  69. package/dist/entities/Pool.js +40 -29
  70. package/dist/entities/Pool.js.map +1 -1
  71. package/dist/entities/Pool.test.js +14 -4
  72. package/dist/entities/Pool.test.js.map +1 -1
  73. package/dist/entities/PoolNetwork.d.ts.map +1 -1
  74. package/dist/entities/PoolNetwork.js +19 -16
  75. package/dist/entities/PoolNetwork.js.map +1 -1
  76. package/dist/entities/Reports/index.js +1 -1
  77. package/dist/entities/Reports/index.js.map +1 -1
  78. package/dist/entities/ShareClass.d.ts +20 -0
  79. package/dist/entities/ShareClass.d.ts.map +1 -1
  80. package/dist/entities/ShareClass.js +91 -4
  81. package/dist/entities/ShareClass.js.map +1 -1
  82. package/dist/entities/ShareClass.test.js +18 -2
  83. package/dist/entities/ShareClass.test.js.map +1 -1
  84. package/dist/entities/Vault.d.ts.map +1 -1
  85. package/dist/entities/Vault.js +8 -7
  86. package/dist/entities/Vault.js.map +1 -1
  87. package/dist/entities/Vault.test.js +30 -17
  88. package/dist/entities/Vault.test.js.map +1 -1
  89. package/dist/index.d.ts +1 -1
  90. package/dist/index.d.ts.map +1 -1
  91. package/dist/types/index.d.ts +3 -1
  92. package/dist/types/index.d.ts.map +1 -1
  93. package/dist/utils/ipfs.d.ts +7 -0
  94. package/dist/utils/ipfs.d.ts.map +1 -0
  95. package/dist/utils/ipfs.js +64 -0
  96. package/dist/utils/ipfs.js.map +1 -0
  97. package/dist/utils/ipfs.test.d.ts +2 -0
  98. package/dist/utils/ipfs.test.d.ts.map +1 -0
  99. package/dist/utils/{pinToApi.test.js → ipfs.test.js} +4 -4
  100. package/dist/utils/ipfs.test.js.map +1 -0
  101. package/package.json +1 -1
  102. package/dist/abi/IERC7726.abi.d.ts +0 -3
  103. package/dist/abi/IERC7726.abi.d.ts.map +0 -1
  104. package/dist/abi/IERC7726.abi.js +0 -2
  105. package/dist/abi/IERC7726.abi.js.map +0 -1
  106. package/dist/abi/PoolManager.abi.d.ts +0 -3
  107. package/dist/abi/PoolManager.abi.d.ts.map +0 -1
  108. package/dist/abi/PoolManager.abi.js.map +0 -1
  109. package/dist/tests/contracts.d.ts +0 -2
  110. package/dist/tests/contracts.d.ts.map +0 -1
  111. package/dist/tests/contracts.js +0 -40
  112. package/dist/tests/contracts.js.map +0 -1
  113. package/dist/utils/createPinning.d.ts +0 -5
  114. package/dist/utils/createPinning.d.ts.map +0 -1
  115. package/dist/utils/createPinning.js +0 -16
  116. package/dist/utils/createPinning.js.map +0 -1
  117. package/dist/utils/pinToApi.d.ts +0 -2
  118. package/dist/utils/pinToApi.d.ts.map +0 -1
  119. package/dist/utils/pinToApi.js +0 -9
  120. package/dist/utils/pinToApi.js.map +0 -1
  121. package/dist/utils/pinToApi.test.d.ts +0 -2
  122. package/dist/utils/pinToApi.test.d.ts.map +0 -1
  123. package/dist/utils/pinToApi.test.js.map +0 -1
@@ -1,3 +1,3 @@
1
- declare const _default: readonly ["error AlreadyUsedAuthorization()", "error CannotSetSelfAsOperator()", "error ExpiredAuthorization()", "error FileUnrecognizedParam()", "error InsufficientBalance()", "error InvalidAuthorization()", "error InvalidController()", "error InvalidOwner()", "error InvalidSigner()", "error NoCode()", "error NotAuthorized()", "error NotEndorsed()", "error RequestDepositFailed()", "error RequestRedeemFailed()", "error SafeTransferEthFailed()", "error SafeTransferFailed()", "error SafeTransferFromFailed()", "error TransferFromFailed()", "event CancelDepositClaim(address indexed controller, address indexed receiver, uint256 indexed requestId, address sender, uint256 assets)", "event CancelDepositClaimable(address indexed controller, uint256 indexed requestId, uint256 assets)", "event CancelDepositRequest(address indexed controller, uint256 indexed requestId, address sender)", "event CancelRedeemClaim(address indexed controller, address indexed receiver, uint256 indexed requestId, address sender, uint256 shares)", "event CancelRedeemClaimable(address indexed controller, uint256 indexed requestId, uint256 shares)", "event CancelRedeemRequest(address indexed controller, uint256 indexed requestId, address sender)", "event Deny(address indexed user)", "event Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares)", "event DepositClaimable(address indexed controller, uint256 indexed requestId, uint256 assets, uint256 shares)", "event DepositRequest(address indexed controller, address indexed owner, uint256 indexed requestId, address sender, uint256 assets)", "event File(bytes32 indexed what, address data)", "event OperatorSet(address indexed controller, address indexed operator, bool approved)", "event RedeemClaimable(address indexed controller, uint256 indexed requestId, uint256 assets, uint256 shares)", "event RedeemRequest(address indexed controller, address indexed owner, uint256 indexed requestId, address sender, uint256 assets)", "event Rely(address indexed user)", "event Withdraw(address indexed sender, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)", "function AUTHORIZE_OPERATOR_TYPEHASH() view returns (bytes32)", "function DOMAIN_SEPARATOR() view returns (bytes32)", "function asset() view returns (address)", "function asyncManager() view returns (address)", "function asyncRedeemManager() view returns (address)", "function authorizations(address controller, bytes32 nonce) view returns (bool used)", "function authorizeOperator(address controller, address operator, bool approved, bytes32 nonce, uint256 deadline, bytes signature) returns (bool success)", "function cancelDepositRequest(uint256, address controller)", "function cancelRedeemRequest(uint256, address controller)", "function claimCancelDepositRequest(uint256, address receiver, address controller) returns (uint256 assets)", "function claimCancelRedeemRequest(uint256, address receiver, address controller) returns (uint256 shares)", "function claimableCancelDepositRequest(uint256, address controller) view returns (uint256 claimableAssets)", "function claimableCancelRedeemRequest(uint256, address controller) view returns (uint256 claimableShares)", "function claimableDepositRequest(uint256, address controller) view returns (uint256 claimableAssets)", "function claimableRedeemRequest(uint256, address controller) view returns (uint256 claimableShares)", "function convertToAssets(uint256 shares) view returns (uint256 assets)", "function convertToShares(uint256 assets) view returns (uint256 shares)", "function deny(address user)", "function deploymentChainId() view returns (uint256)", "function deposit(uint256 assets, address receiver, address controller) returns (uint256 shares)", "function deposit(uint256 assets, address receiver) returns (uint256 shares)", "function file(bytes32 what, address data)", "function invalidateNonce(bytes32 nonce)", "function isOperator(address, address) view returns (bool)", "function isPermissioned(address controller) view returns (bool)", "function manager() view returns (address)", "function maxDeposit(address controller) view returns (uint256 maxAssets)", "function maxMint(address controller) view returns (uint256 maxShares)", "function maxRedeem(address controller) view returns (uint256 maxShares)", "function maxWithdraw(address controller) view returns (uint256 maxAssets)", "function mint(uint256 shares, address receiver) returns (uint256 assets)", "function mint(uint256 shares, address receiver, address controller) returns (uint256 assets)", "function onCancelDepositClaimable(address controller, uint256 assets)", "function onCancelRedeemClaimable(address controller, uint256 shares)", "function onDepositClaimable(address controller, uint256 assets, uint256 shares)", "function onRedeemClaimable(address controller, uint256 assets, uint256 shares)", "function onRedeemRequest(address controller, address owner, uint256 shares)", "function pendingCancelDepositRequest(uint256, address controller) view returns (bool isPending)", "function pendingCancelRedeemRequest(uint256, address controller) view returns (bool isPending)", "function pendingDepositRequest(uint256, address controller) view returns (uint256 pendingAssets)", "function pendingRedeemRequest(uint256, address controller) view returns (uint256 pendingShares)", "function poolId() view returns (uint64)", "function previewDeposit(uint256) pure returns (uint256)", "function previewMint(uint256) pure returns (uint256)", "function previewRedeem(uint256) pure returns (uint256)", "function previewWithdraw(uint256) pure returns (uint256)", "function priceLastUpdated() view returns (uint64)", "function pricePerShare() view returns (uint256)", "function recoverTokens(address token, address receiver, uint256 amount)", "function recoverTokens(address token, uint256 tokenId, address receiver, uint256 amount)", "function redeem(uint256 shares, address receiver, address controller) returns (uint256 assets)", "function rely(address user)", "function requestDeposit(uint256 assets, address controller, address owner) returns (uint256)", "function requestRedeem(uint256 shares, address controller, address owner) returns (uint256)", "function root() view returns (address)", "function setEndorsedOperator(address owner, bool approved)", "function setOperator(address operator, bool approved) returns (bool success)", "function share() view returns (address)", "function supportsInterface(bytes4 interfaceId) pure returns (bool)", "function totalAssets() view returns (uint256)", "function trancheId() view returns (bytes16)", "function wards(address) view returns (uint256)", "function withdraw(uint256 assets, address receiver, address controller) returns (uint256 shares)"];
1
+ declare const _default: readonly ["function AUTHORIZE_OPERATOR_TYPEHASH() view returns (bytes32)", "function DOMAIN_SEPARATOR() view returns (bytes32)", "function asset() view returns (address)", "function asyncManager() view returns (address)", "function asyncRedeemManager() view returns (address)", "function authorizations(address controller, bytes32 nonce) view returns (bool used)", "function authorizeOperator(address controller, address operator, bool approved, bytes32 nonce, uint256 deadline, bytes signature) returns (bool success)", "function baseManager() view returns (address)", "function cancelDepositRequest(uint256, address controller)", "function cancelRedeemRequest(uint256, address controller)", "function claimCancelDepositRequest(uint256, address receiver, address controller) returns (uint256 assets)", "function claimCancelRedeemRequest(uint256, address receiver, address controller) returns (uint256 shares)", "function claimableCancelDepositRequest(uint256, address controller) view returns (uint256 claimableAssets)", "function claimableCancelRedeemRequest(uint256, address controller) view returns (uint256 claimableShares)", "function claimableDepositRequest(uint256, address controller) view returns (uint256 claimableAssets)", "function claimableRedeemRequest(uint256, address controller) view returns (uint256 claimableShares)", "function convertToAssets(uint256 shares) view returns (uint256 assets)", "function convertToShares(uint256 assets) view returns (uint256 shares)", "function deny(address user)", "function deploymentChainId() view returns (uint256)", "function deposit(uint256 assets, address receiver, address controller) returns (uint256 shares)", "function deposit(uint256 assets, address receiver) returns (uint256 shares)", "function file(bytes32 what, address data)", "function invalidateNonce(bytes32 nonce)", "function isOperator(address, address) view returns (bool)", "function isPermissioned(address controller) view returns (bool)", "function manager() view returns (address)", "function maxDeposit(address controller) view returns (uint256 maxAssets)", "function maxMint(address controller) view returns (uint256 maxShares)", "function maxRedeem(address controller) view returns (uint256 maxShares)", "function maxWithdraw(address controller) view returns (uint256 maxAssets)", "function mint(uint256 shares, address receiver) returns (uint256 assets)", "function mint(uint256 shares, address receiver, address controller) returns (uint256 assets)", "function onCancelDepositClaimable(address controller, uint256 assets)", "function onCancelRedeemClaimable(address controller, uint256 shares)", "function onDepositClaimable(address controller, uint256 assets, uint256 shares)", "function onRedeemClaimable(address controller, uint256 assets, uint256 shares)", "function onRedeemRequest(address controller, address owner, uint256 shares)", "function pendingCancelDepositRequest(uint256, address controller) view returns (bool isPending)", "function pendingCancelRedeemRequest(uint256, address controller) view returns (bool isPending)", "function pendingDepositRequest(uint256, address controller) view returns (uint256 pendingAssets)", "function pendingRedeemRequest(uint256, address controller) view returns (uint256 pendingShares)", "function poolId() view returns (uint64)", "function previewDeposit(uint256) pure returns (uint256)", "function previewMint(uint256) pure returns (uint256)", "function previewRedeem(uint256) pure returns (uint256)", "function previewWithdraw(uint256) pure returns (uint256)", "function priceLastUpdated() view returns (uint64)", "function pricePerShare() view returns (uint256)", "function recoverTokens(address token, address receiver, uint256 amount)", "function recoverTokens(address token, uint256 tokenId, address receiver, uint256 amount)", "function redeem(uint256 shares, address receiver, address controller) returns (uint256 assets)", "function rely(address user)", "function requestDeposit(uint256 assets, address controller, address owner) returns (uint256)", "function requestRedeem(uint256 shares, address controller, address owner) returns (uint256)", "function root() view returns (address)", "function scId() view returns (bytes16)", "function setEndorsedOperator(address owner, bool approved)", "function setOperator(address operator, bool approved) returns (bool success)", "function share() view returns (address)", "function supportsInterface(bytes4 interfaceId) pure returns (bool)", "function totalAssets() view returns (uint256)", "function vaultKind() pure returns (uint8 vaultKind_)", "function wards(address) view returns (uint256)", "function withdraw(uint256 assets, address receiver, address controller) returns (uint256 shares)", "event CancelDepositClaim(address indexed controller, address indexed receiver, uint256 indexed requestId, address sender, uint256 assets)", "event CancelDepositClaimable(address indexed controller, uint256 indexed requestId, uint256 assets)", "event CancelDepositRequest(address indexed controller, uint256 indexed requestId, address sender)", "event CancelRedeemClaim(address indexed controller, address indexed receiver, uint256 indexed requestId, address sender, uint256 shares)", "event CancelRedeemClaimable(address indexed controller, uint256 indexed requestId, uint256 shares)", "event CancelRedeemRequest(address indexed controller, uint256 indexed requestId, address sender)", "event Deny(address indexed user)", "event Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares)", "event DepositClaimable(address indexed controller, uint256 indexed requestId, uint256 assets, uint256 shares)", "event DepositRequest(address indexed controller, address indexed owner, uint256 indexed requestId, address sender, uint256 assets)", "event File(bytes32 indexed what, address data)", "event OperatorSet(address indexed controller, address indexed operator, bool approved)", "event RedeemClaimable(address indexed controller, uint256 indexed requestId, uint256 assets, uint256 shares)", "event RedeemRequest(address indexed controller, address indexed owner, uint256 indexed requestId, address sender, uint256 assets)", "event Rely(address indexed user)", "event Withdraw(address indexed sender, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)", "error AlreadyUsedAuthorization()", "error CannotSetSelfAsOperator()", "error ExpiredAuthorization()", "error FileUnrecognizedParam()", "error InsufficientBalance()", "error InvalidAuthorization()", "error InvalidController()", "error InvalidOwner()", "error InvalidSigner()", "error NoCode()", "error NotAuthorized()", "error NotEndorsed()", "error RequestDepositFailed()", "error RequestRedeemFailed()", "error SafeTransferEthFailed()", "error TransferFromFailed()", "error WrappedError(address target, bytes4 selector, bytes reason, bytes details)"];
2
2
  export default _default;
3
3
  //# sourceMappingURL=AsyncVault.abi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AsyncVault.abi.d.ts","sourceRoot":"","sources":["../../src/abi/AsyncVault.abi.ts"],"names":[],"mappings":";AAAA,wBAkGU"}
1
+ {"version":3,"file":"AsyncVault.abi.d.ts","sourceRoot":"","sources":["../../src/abi/AsyncVault.abi.ts"],"names":[],"mappings":";AAAA,wBAmGU"}
@@ -1,38 +1,4 @@
1
1
  export default [
2
- 'error AlreadyUsedAuthorization()',
3
- 'error CannotSetSelfAsOperator()',
4
- 'error ExpiredAuthorization()',
5
- 'error FileUnrecognizedParam()',
6
- 'error InsufficientBalance()',
7
- 'error InvalidAuthorization()',
8
- 'error InvalidController()',
9
- 'error InvalidOwner()',
10
- 'error InvalidSigner()',
11
- 'error NoCode()',
12
- 'error NotAuthorized()',
13
- 'error NotEndorsed()',
14
- 'error RequestDepositFailed()',
15
- 'error RequestRedeemFailed()',
16
- 'error SafeTransferEthFailed()',
17
- 'error SafeTransferFailed()',
18
- 'error SafeTransferFromFailed()',
19
- 'error TransferFromFailed()',
20
- 'event CancelDepositClaim(address indexed controller, address indexed receiver, uint256 indexed requestId, address sender, uint256 assets)',
21
- 'event CancelDepositClaimable(address indexed controller, uint256 indexed requestId, uint256 assets)',
22
- 'event CancelDepositRequest(address indexed controller, uint256 indexed requestId, address sender)',
23
- 'event CancelRedeemClaim(address indexed controller, address indexed receiver, uint256 indexed requestId, address sender, uint256 shares)',
24
- 'event CancelRedeemClaimable(address indexed controller, uint256 indexed requestId, uint256 shares)',
25
- 'event CancelRedeemRequest(address indexed controller, uint256 indexed requestId, address sender)',
26
- 'event Deny(address indexed user)',
27
- 'event Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares)',
28
- 'event DepositClaimable(address indexed controller, uint256 indexed requestId, uint256 assets, uint256 shares)',
29
- 'event DepositRequest(address indexed controller, address indexed owner, uint256 indexed requestId, address sender, uint256 assets)',
30
- 'event File(bytes32 indexed what, address data)',
31
- 'event OperatorSet(address indexed controller, address indexed operator, bool approved)',
32
- 'event RedeemClaimable(address indexed controller, uint256 indexed requestId, uint256 assets, uint256 shares)',
33
- 'event RedeemRequest(address indexed controller, address indexed owner, uint256 indexed requestId, address sender, uint256 assets)',
34
- 'event Rely(address indexed user)',
35
- 'event Withdraw(address indexed sender, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)',
36
2
  'function AUTHORIZE_OPERATOR_TYPEHASH() view returns (bytes32)',
37
3
  'function DOMAIN_SEPARATOR() view returns (bytes32)',
38
4
  'function asset() view returns (address)',
@@ -40,6 +6,7 @@ export default [
40
6
  'function asyncRedeemManager() view returns (address)',
41
7
  'function authorizations(address controller, bytes32 nonce) view returns (bool used)',
42
8
  'function authorizeOperator(address controller, address operator, bool approved, bytes32 nonce, uint256 deadline, bytes signature) returns (bool success)',
9
+ 'function baseManager() view returns (address)',
43
10
  'function cancelDepositRequest(uint256, address controller)',
44
11
  'function cancelRedeemRequest(uint256, address controller)',
45
12
  'function claimCancelDepositRequest(uint256, address receiver, address controller) returns (uint256 assets)',
@@ -88,13 +55,47 @@ export default [
88
55
  'function requestDeposit(uint256 assets, address controller, address owner) returns (uint256)',
89
56
  'function requestRedeem(uint256 shares, address controller, address owner) returns (uint256)',
90
57
  'function root() view returns (address)',
58
+ 'function scId() view returns (bytes16)',
91
59
  'function setEndorsedOperator(address owner, bool approved)',
92
60
  'function setOperator(address operator, bool approved) returns (bool success)',
93
61
  'function share() view returns (address)',
94
62
  'function supportsInterface(bytes4 interfaceId) pure returns (bool)',
95
63
  'function totalAssets() view returns (uint256)',
96
- 'function trancheId() view returns (bytes16)',
64
+ 'function vaultKind() pure returns (uint8 vaultKind_)',
97
65
  'function wards(address) view returns (uint256)',
98
66
  'function withdraw(uint256 assets, address receiver, address controller) returns (uint256 shares)',
67
+ 'event CancelDepositClaim(address indexed controller, address indexed receiver, uint256 indexed requestId, address sender, uint256 assets)',
68
+ 'event CancelDepositClaimable(address indexed controller, uint256 indexed requestId, uint256 assets)',
69
+ 'event CancelDepositRequest(address indexed controller, uint256 indexed requestId, address sender)',
70
+ 'event CancelRedeemClaim(address indexed controller, address indexed receiver, uint256 indexed requestId, address sender, uint256 shares)',
71
+ 'event CancelRedeemClaimable(address indexed controller, uint256 indexed requestId, uint256 shares)',
72
+ 'event CancelRedeemRequest(address indexed controller, uint256 indexed requestId, address sender)',
73
+ 'event Deny(address indexed user)',
74
+ 'event Deposit(address indexed sender, address indexed owner, uint256 assets, uint256 shares)',
75
+ 'event DepositClaimable(address indexed controller, uint256 indexed requestId, uint256 assets, uint256 shares)',
76
+ 'event DepositRequest(address indexed controller, address indexed owner, uint256 indexed requestId, address sender, uint256 assets)',
77
+ 'event File(bytes32 indexed what, address data)',
78
+ 'event OperatorSet(address indexed controller, address indexed operator, bool approved)',
79
+ 'event RedeemClaimable(address indexed controller, uint256 indexed requestId, uint256 assets, uint256 shares)',
80
+ 'event RedeemRequest(address indexed controller, address indexed owner, uint256 indexed requestId, address sender, uint256 assets)',
81
+ 'event Rely(address indexed user)',
82
+ 'event Withdraw(address indexed sender, address indexed receiver, address indexed owner, uint256 assets, uint256 shares)',
83
+ 'error AlreadyUsedAuthorization()',
84
+ 'error CannotSetSelfAsOperator()',
85
+ 'error ExpiredAuthorization()',
86
+ 'error FileUnrecognizedParam()',
87
+ 'error InsufficientBalance()',
88
+ 'error InvalidAuthorization()',
89
+ 'error InvalidController()',
90
+ 'error InvalidOwner()',
91
+ 'error InvalidSigner()',
92
+ 'error NoCode()',
93
+ 'error NotAuthorized()',
94
+ 'error NotEndorsed()',
95
+ 'error RequestDepositFailed()',
96
+ 'error RequestRedeemFailed()',
97
+ 'error SafeTransferEthFailed()',
98
+ 'error TransferFromFailed()',
99
+ 'error WrappedError(address target, bytes4 selector, bytes reason, bytes details)',
99
100
  ];
100
101
  //# sourceMappingURL=AsyncVault.abi.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AsyncVault.abi.js","sourceRoot":"","sources":["../../src/abi/AsyncVault.abi.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,kCAAkC;IAClC,iCAAiC;IACjC,8BAA8B;IAC9B,+BAA+B;IAC/B,6BAA6B;IAC7B,8BAA8B;IAC9B,2BAA2B;IAC3B,sBAAsB;IACtB,uBAAuB;IACvB,gBAAgB;IAChB,uBAAuB;IACvB,qBAAqB;IACrB,8BAA8B;IAC9B,6BAA6B;IAC7B,+BAA+B;IAC/B,4BAA4B;IAC5B,gCAAgC;IAChC,4BAA4B;IAC5B,2IAA2I;IAC3I,qGAAqG;IACrG,mGAAmG;IACnG,0IAA0I;IAC1I,oGAAoG;IACpG,kGAAkG;IAClG,kCAAkC;IAClC,8FAA8F;IAC9F,+GAA+G;IAC/G,oIAAoI;IACpI,gDAAgD;IAChD,wFAAwF;IACxF,8GAA8G;IAC9G,mIAAmI;IACnI,kCAAkC;IAClC,yHAAyH;IACzH,+DAA+D;IAC/D,oDAAoD;IACpD,yCAAyC;IACzC,gDAAgD;IAChD,sDAAsD;IACtD,qFAAqF;IACrF,0JAA0J;IAC1J,4DAA4D;IAC5D,2DAA2D;IAC3D,4GAA4G;IAC5G,2GAA2G;IAC3G,4GAA4G;IAC5G,2GAA2G;IAC3G,sGAAsG;IACtG,qGAAqG;IACrG,wEAAwE;IACxE,wEAAwE;IACxE,6BAA6B;IAC7B,qDAAqD;IACrD,iGAAiG;IACjG,6EAA6E;IAC7E,2CAA2C;IAC3C,yCAAyC;IACzC,2DAA2D;IAC3D,iEAAiE;IACjE,2CAA2C;IAC3C,0EAA0E;IAC1E,uEAAuE;IACvE,yEAAyE;IACzE,2EAA2E;IAC3E,0EAA0E;IAC1E,8FAA8F;IAC9F,uEAAuE;IACvE,sEAAsE;IACtE,iFAAiF;IACjF,gFAAgF;IAChF,6EAA6E;IAC7E,iGAAiG;IACjG,gGAAgG;IAChG,kGAAkG;IAClG,iGAAiG;IACjG,yCAAyC;IACzC,yDAAyD;IACzD,sDAAsD;IACtD,wDAAwD;IACxD,0DAA0D;IAC1D,mDAAmD;IACnD,iDAAiD;IACjD,yEAAyE;IACzE,0FAA0F;IAC1F,gGAAgG;IAChG,6BAA6B;IAC7B,8FAA8F;IAC9F,6FAA6F;IAC7F,wCAAwC;IACxC,4DAA4D;IAC5D,8EAA8E;IAC9E,yCAAyC;IACzC,oEAAoE;IACpE,+CAA+C;IAC/C,6CAA6C;IAC7C,gDAAgD;IAChD,kGAAkG;CAC1F,CAAA"}
1
+ {"version":3,"file":"AsyncVault.abi.js","sourceRoot":"","sources":["../../src/abi/AsyncVault.abi.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,+DAA+D;IAC/D,oDAAoD;IACpD,yCAAyC;IACzC,gDAAgD;IAChD,sDAAsD;IACtD,qFAAqF;IACrF,0JAA0J;IAC1J,+CAA+C;IAC/C,4DAA4D;IAC5D,2DAA2D;IAC3D,4GAA4G;IAC5G,2GAA2G;IAC3G,4GAA4G;IAC5G,2GAA2G;IAC3G,sGAAsG;IACtG,qGAAqG;IACrG,wEAAwE;IACxE,wEAAwE;IACxE,6BAA6B;IAC7B,qDAAqD;IACrD,iGAAiG;IACjG,6EAA6E;IAC7E,2CAA2C;IAC3C,yCAAyC;IACzC,2DAA2D;IAC3D,iEAAiE;IACjE,2CAA2C;IAC3C,0EAA0E;IAC1E,uEAAuE;IACvE,yEAAyE;IACzE,2EAA2E;IAC3E,0EAA0E;IAC1E,8FAA8F;IAC9F,uEAAuE;IACvE,sEAAsE;IACtE,iFAAiF;IACjF,gFAAgF;IAChF,6EAA6E;IAC7E,iGAAiG;IACjG,gGAAgG;IAChG,kGAAkG;IAClG,iGAAiG;IACjG,yCAAyC;IACzC,yDAAyD;IACzD,sDAAsD;IACtD,wDAAwD;IACxD,0DAA0D;IAC1D,mDAAmD;IACnD,iDAAiD;IACjD,yEAAyE;IACzE,0FAA0F;IAC1F,gGAAgG;IAChG,6BAA6B;IAC7B,8FAA8F;IAC9F,6FAA6F;IAC7F,wCAAwC;IACxC,wCAAwC;IACxC,4DAA4D;IAC5D,8EAA8E;IAC9E,yCAAyC;IACzC,oEAAoE;IACpE,+CAA+C;IAC/C,sDAAsD;IACtD,gDAAgD;IAChD,kGAAkG;IAClG,2IAA2I;IAC3I,qGAAqG;IACrG,mGAAmG;IACnG,0IAA0I;IAC1I,oGAAoG;IACpG,kGAAkG;IAClG,kCAAkC;IAClC,8FAA8F;IAC9F,+GAA+G;IAC/G,oIAAoI;IACpI,gDAAgD;IAChD,wFAAwF;IACxF,8GAA8G;IAC9G,mIAAmI;IACnI,kCAAkC;IAClC,yHAAyH;IACzH,kCAAkC;IAClC,iCAAiC;IACjC,8BAA8B;IAC9B,+BAA+B;IAC/B,6BAA6B;IAC7B,8BAA8B;IAC9B,2BAA2B;IAC3B,sBAAsB;IACtB,uBAAuB;IACvB,gBAAgB;IAChB,uBAAuB;IACvB,qBAAqB;IACrB,8BAA8B;IAC9B,6BAA6B;IAC7B,+BAA+B;IAC/B,4BAA4B;IAC5B,kFAAkF;CAC1E,CAAA"}
@@ -1,3 +1,3 @@
1
- declare const _default: readonly ["error FileUnrecognizedWhat()", "error HoldingNotFound()", "error Int128_Overflow()", "error NotAuthorized()", "error Uint128_Overflow()", "error WrongAssetId()", "error WrongShareClassId()", "error WrongValuation()", "event Create(uint64 indexed, bytes16 indexed scId, uint128 indexed assetId, address valuation, bool isLiability)", "event Decrease(uint64 indexed, bytes16 indexed scId, uint128 indexed assetId, address valuation, uint128 amount, uint128 decreasedValue)", "event Deny(address indexed user)", "event File(bytes32 indexed what, address addr)", "event Increase(uint64 indexed, bytes16 indexed scId, uint128 indexed assetId, address valuation, uint128 amount, uint128 increasedValue)", "event Rely(address indexed user)", "event SetAccountId(uint64 indexed, bytes16 indexed scId, uint128 indexed assetId, uint32 accountId)", "event Update(uint64 indexed, bytes16 indexed scId, uint128 indexed assetId, int128 diffValue)", "event UpdateValuation(uint64 indexed, bytes16 indexed scId, uint128 indexed assetId, address valuation)", "function accountId(uint64, bytes16, uint128, uint8 kind) view returns (uint32)", "function amount(uint64 poolId, bytes16 scId, uint128 assetId) view returns (uint128 amount_)", "function create(uint64 poolId, bytes16 scId, uint128 assetId, address valuation_, bool isLiability_, uint32[] accounts)", "function decrease(uint64 poolId, bytes16 scId, uint128 assetId, address valuation_, uint128 amount_) returns (uint128 amountValue)", "function deny(address user)", "function exists(uint64 poolId, bytes16 scId, uint128 assetId) view returns (bool)", "function file(bytes32 what, address data)", "function holding(uint64, bytes16, uint128) view returns (uint128 assetAmount, uint128 assetAmountValue, address valuation, bool isLiability)", "function hubRegistry() view returns (address)", "function increase(uint64 poolId, bytes16 scId, uint128 assetId, address valuation_, uint128 amount_) returns (uint128 amountValue)", "function isLiability(uint64 poolId, bytes16 scId, uint128 assetId) view returns (bool)", "function rely(address user)", "function setAccountId(uint64 poolId, bytes16 scId, uint128 assetId, uint32 accountId_)", "function update(uint64 poolId, bytes16 scId, uint128 assetId) returns (int128 diffValue)", "function updateValuation(uint64 poolId, bytes16 scId, uint128 assetId, address valuation_)", "function valuation(uint64 poolId, bytes16 scId, uint128 assetId) view returns (address)", "function value(uint64 poolId, bytes16 scId, uint128 assetId) view returns (uint128 value_)", "function wards(address) view returns (uint256)"];
1
+ declare const _default: readonly ["function accountId(uint64, bytes16, uint128, uint8 kind) view returns (uint32)", "function amount(uint64 poolId, bytes16 scId, uint128 assetId) view returns (uint128 amount_)", "function decrease(uint64 poolId, bytes16 scId, uint128 assetId, uint128 pricePoolPerAsset, uint128 amount_) returns (uint128 amountValue)", "function deny(address user)", "function holding(uint64, bytes16, uint128) view returns (uint128 assetAmount, uint128 assetAmountValue, address valuation, bool isLiability)", "function hubRegistry() view returns (address)", "function increase(uint64 poolId, bytes16 scId, uint128 assetId, uint128 pricePoolPerAsset, uint128 amount_) returns (uint128 amountValue)", "function initialize(uint64 poolId, bytes16 scId, uint128 assetId, address valuation_, bool isLiability_, (uint32 accountId, uint8 kind)[] accounts)", "function isInitialized(uint64 poolId, bytes16 scId, uint128 assetId) view returns (bool)", "function isLiability(uint64 poolId, bytes16 scId, uint128 assetId) view returns (bool)", "function rely(address user)", "function setAccountId(uint64 poolId, bytes16 scId, uint128 assetId, uint8 kind, uint32 accountId_)", "function setSnapshot(uint64 poolId, bytes16 scId, uint16 centrifugeId, bool isSnapshot, uint64 nonce)", "function setSnapshotHook(uint64 poolId, address hook)", "function snapshot(uint64, bytes16, uint16 centrifugeId) view returns (bool isSnapshot, uint64 nonce)", "function snapshotHook(uint64) view returns (address)", "function update(uint64 poolId, bytes16 scId, uint128 assetId) returns (bool isPositive, uint128 diffValue)", "function updateValuation(uint64 poolId, bytes16 scId, uint128 assetId, address valuation_)", "function valuation(uint64 poolId, bytes16 scId, uint128 assetId) view returns (address)", "function value(uint64 poolId, bytes16 scId, uint128 assetId) view returns (uint128 value_)", "function wards(address) view returns (uint256)", "event Decrease(uint64 indexed, bytes16 indexed scId, uint128 indexed assetId, uint128 pricePoolPerAsset, uint128 amount, uint128 decreasedValue)", "event Deny(address indexed user)", "event Increase(uint64 indexed, bytes16 indexed scId, uint128 indexed assetId, uint128 pricePoolPerAsset, uint128 amount, uint128 increasedValue)", "event Initialize(uint64 indexed, bytes16 indexed scId, uint128 indexed assetId, address valuation, bool isLiability, (uint32 accountId, uint8 kind)[] accounts)", "event Rely(address indexed user)", "event SetAccountId(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed assetId, uint8 kind, uint32 accountId)", "event SetSnapshot(uint64 indexed poolId, bytes16 indexed scId, uint16 indexed centrifugeId, bool isSnapshot, uint64 nonce)", "event SetSnapshotHook(uint64 indexed poolId, address hook)", "event Update(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed assetId, bool isPositive, uint128 diffValue)", "event UpdateValuation(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed assetId, address valuation)", "error AlreadyInitialized()", "error HoldingNotFound()", "error InvalidNonce(uint64 expected, uint64 actual)", "error MulDiv_Overflow()", "error NotAuthorized()", "error Uint128_Overflow()", "error WrongAssetId()", "error WrongShareClassId()", "error WrongValuation()"];
2
2
  export default _default;
3
3
  //# sourceMappingURL=Holdings.abi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Holdings.abi.d.ts","sourceRoot":"","sources":["../../src/abi/Holdings.abi.ts"],"names":[],"mappings":";AAAA,wBAoCU"}
1
+ {"version":3,"file":"Holdings.abi.d.ts","sourceRoot":"","sources":["../../src/abi/Holdings.abi.ts"],"names":[],"mappings":";AAAA,wBAyCU"}
@@ -1,38 +1,43 @@
1
1
  export default [
2
- 'error FileUnrecognizedWhat()',
3
- 'error HoldingNotFound()',
4
- 'error Int128_Overflow()',
5
- 'error NotAuthorized()',
6
- 'error Uint128_Overflow()',
7
- 'error WrongAssetId()',
8
- 'error WrongShareClassId()',
9
- 'error WrongValuation()',
10
- 'event Create(uint64 indexed, bytes16 indexed scId, uint128 indexed assetId, address valuation, bool isLiability)',
11
- 'event Decrease(uint64 indexed, bytes16 indexed scId, uint128 indexed assetId, address valuation, uint128 amount, uint128 decreasedValue)',
12
- 'event Deny(address indexed user)',
13
- 'event File(bytes32 indexed what, address addr)',
14
- 'event Increase(uint64 indexed, bytes16 indexed scId, uint128 indexed assetId, address valuation, uint128 amount, uint128 increasedValue)',
15
- 'event Rely(address indexed user)',
16
- 'event SetAccountId(uint64 indexed, bytes16 indexed scId, uint128 indexed assetId, uint32 accountId)',
17
- 'event Update(uint64 indexed, bytes16 indexed scId, uint128 indexed assetId, int128 diffValue)',
18
- 'event UpdateValuation(uint64 indexed, bytes16 indexed scId, uint128 indexed assetId, address valuation)',
19
2
  'function accountId(uint64, bytes16, uint128, uint8 kind) view returns (uint32)',
20
3
  'function amount(uint64 poolId, bytes16 scId, uint128 assetId) view returns (uint128 amount_)',
21
- 'function create(uint64 poolId, bytes16 scId, uint128 assetId, address valuation_, bool isLiability_, uint32[] accounts)',
22
- 'function decrease(uint64 poolId, bytes16 scId, uint128 assetId, address valuation_, uint128 amount_) returns (uint128 amountValue)',
4
+ 'function decrease(uint64 poolId, bytes16 scId, uint128 assetId, uint128 pricePoolPerAsset, uint128 amount_) returns (uint128 amountValue)',
23
5
  'function deny(address user)',
24
- 'function exists(uint64 poolId, bytes16 scId, uint128 assetId) view returns (bool)',
25
- 'function file(bytes32 what, address data)',
26
6
  'function holding(uint64, bytes16, uint128) view returns (uint128 assetAmount, uint128 assetAmountValue, address valuation, bool isLiability)',
27
7
  'function hubRegistry() view returns (address)',
28
- 'function increase(uint64 poolId, bytes16 scId, uint128 assetId, address valuation_, uint128 amount_) returns (uint128 amountValue)',
8
+ 'function increase(uint64 poolId, bytes16 scId, uint128 assetId, uint128 pricePoolPerAsset, uint128 amount_) returns (uint128 amountValue)',
9
+ 'function initialize(uint64 poolId, bytes16 scId, uint128 assetId, address valuation_, bool isLiability_, (uint32 accountId, uint8 kind)[] accounts)',
10
+ 'function isInitialized(uint64 poolId, bytes16 scId, uint128 assetId) view returns (bool)',
29
11
  'function isLiability(uint64 poolId, bytes16 scId, uint128 assetId) view returns (bool)',
30
12
  'function rely(address user)',
31
- 'function setAccountId(uint64 poolId, bytes16 scId, uint128 assetId, uint32 accountId_)',
32
- 'function update(uint64 poolId, bytes16 scId, uint128 assetId) returns (int128 diffValue)',
13
+ 'function setAccountId(uint64 poolId, bytes16 scId, uint128 assetId, uint8 kind, uint32 accountId_)',
14
+ 'function setSnapshot(uint64 poolId, bytes16 scId, uint16 centrifugeId, bool isSnapshot, uint64 nonce)',
15
+ 'function setSnapshotHook(uint64 poolId, address hook)',
16
+ 'function snapshot(uint64, bytes16, uint16 centrifugeId) view returns (bool isSnapshot, uint64 nonce)',
17
+ 'function snapshotHook(uint64) view returns (address)',
18
+ 'function update(uint64 poolId, bytes16 scId, uint128 assetId) returns (bool isPositive, uint128 diffValue)',
33
19
  'function updateValuation(uint64 poolId, bytes16 scId, uint128 assetId, address valuation_)',
34
20
  'function valuation(uint64 poolId, bytes16 scId, uint128 assetId) view returns (address)',
35
21
  'function value(uint64 poolId, bytes16 scId, uint128 assetId) view returns (uint128 value_)',
36
22
  'function wards(address) view returns (uint256)',
23
+ 'event Decrease(uint64 indexed, bytes16 indexed scId, uint128 indexed assetId, uint128 pricePoolPerAsset, uint128 amount, uint128 decreasedValue)',
24
+ 'event Deny(address indexed user)',
25
+ 'event Increase(uint64 indexed, bytes16 indexed scId, uint128 indexed assetId, uint128 pricePoolPerAsset, uint128 amount, uint128 increasedValue)',
26
+ 'event Initialize(uint64 indexed, bytes16 indexed scId, uint128 indexed assetId, address valuation, bool isLiability, (uint32 accountId, uint8 kind)[] accounts)',
27
+ 'event Rely(address indexed user)',
28
+ 'event SetAccountId(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed assetId, uint8 kind, uint32 accountId)',
29
+ 'event SetSnapshot(uint64 indexed poolId, bytes16 indexed scId, uint16 indexed centrifugeId, bool isSnapshot, uint64 nonce)',
30
+ 'event SetSnapshotHook(uint64 indexed poolId, address hook)',
31
+ 'event Update(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed assetId, bool isPositive, uint128 diffValue)',
32
+ 'event UpdateValuation(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed assetId, address valuation)',
33
+ 'error AlreadyInitialized()',
34
+ 'error HoldingNotFound()',
35
+ 'error InvalidNonce(uint64 expected, uint64 actual)',
36
+ 'error MulDiv_Overflow()',
37
+ 'error NotAuthorized()',
38
+ 'error Uint128_Overflow()',
39
+ 'error WrongAssetId()',
40
+ 'error WrongShareClassId()',
41
+ 'error WrongValuation()',
37
42
  ];
38
43
  //# sourceMappingURL=Holdings.abi.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Holdings.abi.js","sourceRoot":"","sources":["../../src/abi/Holdings.abi.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,8BAA8B;IAC9B,yBAAyB;IACzB,yBAAyB;IACzB,uBAAuB;IACvB,0BAA0B;IAC1B,sBAAsB;IACtB,2BAA2B;IAC3B,wBAAwB;IACxB,kHAAkH;IAClH,0IAA0I;IAC1I,kCAAkC;IAClC,gDAAgD;IAChD,0IAA0I;IAC1I,kCAAkC;IAClC,qGAAqG;IACrG,+FAA+F;IAC/F,yGAAyG;IACzG,gFAAgF;IAChF,8FAA8F;IAC9F,yHAAyH;IACzH,oIAAoI;IACpI,6BAA6B;IAC7B,mFAAmF;IACnF,2CAA2C;IAC3C,8IAA8I;IAC9I,+CAA+C;IAC/C,oIAAoI;IACpI,wFAAwF;IACxF,6BAA6B;IAC7B,wFAAwF;IACxF,0FAA0F;IAC1F,4FAA4F;IAC5F,yFAAyF;IACzF,4FAA4F;IAC5F,gDAAgD;CACxC,CAAA"}
1
+ {"version":3,"file":"Holdings.abi.js","sourceRoot":"","sources":["../../src/abi/Holdings.abi.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,gFAAgF;IAChF,8FAA8F;IAC9F,2IAA2I;IAC3I,6BAA6B;IAC7B,8IAA8I;IAC9I,+CAA+C;IAC/C,2IAA2I;IAC3I,qJAAqJ;IACrJ,0FAA0F;IAC1F,wFAAwF;IACxF,6BAA6B;IAC7B,oGAAoG;IACpG,uGAAuG;IACvG,uDAAuD;IACvD,sGAAsG;IACtG,sDAAsD;IACtD,4GAA4G;IAC5G,4FAA4F;IAC5F,yFAAyF;IACzF,4FAA4F;IAC5F,gDAAgD;IAChD,kJAAkJ;IAClJ,kCAAkC;IAClC,kJAAkJ;IAClJ,iKAAiK;IACjK,kCAAkC;IAClC,wHAAwH;IACxH,4HAA4H;IAC5H,4DAA4D;IAC5D,wHAAwH;IACxH,gHAAgH;IAChH,4BAA4B;IAC5B,yBAAyB;IACzB,oDAAoD;IACpD,yBAAyB;IACzB,uBAAuB;IACvB,0BAA0B;IAC1B,sBAAsB;IACtB,2BAA2B;IAC3B,wBAAwB;CAChB,CAAA"}
@@ -1,3 +1,3 @@
1
- declare const _default: readonly ["error AccountDoesNotExist()", "error AssetNotFound()", "error CallFailedWithEmptyRevert()", "error FileUnrecognizedParam()", "error InvalidPoolId()", "error MulDiv_Overflow()", "error NoCode()", "error NotAuthorized()", "error NotManager()", "error PoolAlreadyUnlocked()", "error SafeTransferEthFailed()", "error SafeTransferFailed()", "error ShareClassNotFound()", "error Uint128_Overflow()", "error UnauthorizedSender()", "event Deny(address indexed user)", "event File(bytes32 what, address addr)", "event NotifyAssetPrice(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, uint128 assetId, uint128 pricePoolPerAsset)", "event NotifyPool(uint16 indexed centrifugeId, uint64 indexed poolId)", "event NotifyShareClass(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId)", "event NotifySharePrice(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, string name, string symbol)", "event NotifySharePrice(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, uint128 poolPerShare)", "event Rely(address indexed user)", "event UpdateContract(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, bytes32 target, bytes payload)", "event UpdateRestriction(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, bytes payload)", "event UpdateShareHook(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, bytes32 hook)", "function accounting() view returns (address)", "function addShareClass(uint64 poolId, string name, string symbol, bytes32 salt) payable", "function approveDeposits(uint64 poolId, bytes16 scId, uint128 depositAssetId, uint32 nowDepositEpochId, uint128 approvedAssetAmount) payable returns (uint128 pendingAssetAmount, uint128 approvedPoolAmount)", "function approveRedeems(uint64 poolId, bytes16 scId, uint128 payoutAssetId, uint32 nowRedeemEpochId, uint128 approvedShareAmount) payable returns (uint128 pendingShareAmount)", "function cancelDepositRequest(uint64 poolId, bytes16 scId, bytes32 investor, uint128 depositAssetId)", "function cancelRedeemRequest(uint64 poolId, bytes16 scId, bytes32 investor, uint128 payoutAssetId)", "function createAccount(uint64 poolId, uint32 account, bool isDebitNormal) payable", "function createHolding(uint64 poolId, bytes16 scId, uint128 assetId, address valuation, uint32 assetAccount, uint32 equityAccount, uint32 lossAccount, uint32 gainAccount) payable", "function createLiability(uint64 poolId, bytes16 scId, uint128 assetId, address valuation, uint32 expenseAccount, uint32 liabilityAccount) payable", "function createPool(uint64 poolId, address admin, uint128 currency) payable", "function decreaseShareIssuance(uint64 poolId, bytes16 scId, uint128 amount)", "function deny(address user)", "function depositRequest(uint64 poolId, bytes16 scId, bytes32 investor, uint128 depositAssetId, uint128 amount)", "function file(bytes32 what, address data)", "function gateway() view returns (address)", "function holdings() view returns (address)", "function hubRegistry() view returns (address)", "function increaseShareIssuance(uint64 poolId, bytes16 scId, uint128 amount)", "function issueShares(uint64 poolId, bytes16 scId, uint128 depositAssetId, uint32 nowIssueEpochId, uint128 navPoolPerShare) payable returns (uint128 issuedShareAmount, uint128 depositAssetAmount, uint128 depositPoolAmount)", "function multicall(bytes[] data) payable", "function notifyAssetPrice(uint64 poolId, bytes16 scId, uint128 assetId) payable", "function notifyDeposit(uint64 poolId, bytes16 scId, uint128 assetId, bytes32 investor, uint32 maxClaims) payable", "function notifyPool(uint64 poolId, uint16 centrifugeId) payable", "function notifyRedeem(uint64 poolId, bytes16 scId, uint128 assetId, bytes32 investor, uint32 maxClaims) payable", "function notifyShareClass(uint64 poolId, bytes16 scId, uint16 centrifugeId, bytes32 hook) payable", "function notifyShareMetadata(uint64 poolId, bytes16 scId, uint16 centrifugeId) payable", "function notifySharePrice(uint64 poolId, bytes16 scId, uint16 centrifugeId) payable", "function recoverTokens(address token, address receiver, uint256 amount)", "function recoverTokens(address token, uint256 tokenId, address receiver, uint256 amount)", "function redeemRequest(uint64 poolId, bytes16 scId, bytes32 investor, uint128 payoutAssetId, uint128 amount)", "function registerAsset(uint128 assetId, uint8 decimals)", "function rely(address user)", "function revokeShares(uint64 poolId, bytes16 scId, uint128 payoutAssetId, uint32 nowRevokeEpochId, uint128 navPoolPerShare) payable returns (uint128 revokedShareAmount, uint128 payoutAssetAmount, uint128 payoutPoolAmount)", "function sender() view returns (address)", "function setAccountMetadata(uint64 poolId, uint32 account, bytes metadata) payable", "function setHoldingAccountId(uint64 poolId, bytes16 scId, uint128 assetId, uint8 kind, uint32 accountId) payable", "function setPoolMetadata(uint64 poolId, bytes metadata) payable", "function setQueue(uint16 centrifugeId, uint64 poolId, bytes16 scId, bool enabled) payable", "function shareClassManager() view returns (address)", "function triggerIssueShares(uint16 centrifugeId, uint64 poolId, bytes16 scId, address who, uint128 shares) payable", "function triggerSubmitQueuedAssets(uint64 poolId, bytes16 scId, uint128 assetId) payable", "function triggerSubmitQueuedShares(uint16 centrifugeId, uint64 poolId, bytes16 scId) payable", "function updateContract(uint64 poolId, bytes16 scId, uint16 centrifugeId, bytes32 target, bytes payload) payable", "function updateHoldingAmount(uint64 poolId, bytes16 scId, uint128 assetId, uint128 amount, uint128 pricePoolPerAsset, bool isIncrease)", "function updateHoldingValuation(uint64 poolId, bytes16 scId, uint128 assetId, address valuation) payable", "function updateHoldingValue(uint64 poolId, bytes16 scId, uint128 assetId) payable", "function updateJournal(uint64 poolId, (uint128 value, uint32 accountId)[] debits, (uint128 value, uint32 accountId)[] credits)", "function updateManager(uint64 poolId, address who, bool canManage) payable", "function updatePricePerShare(uint64 poolId, bytes16 scId, uint128 navPoolPerShare) payable", "function updateRestriction(uint64 poolId, bytes16 scId, uint16 centrifugeId, bytes payload) payable", "function updateShareClassMetadata(uint64 poolId, bytes16 scId, string name, string symbol) payable", "function updateShareHook(uint64 poolId, bytes16 scId, uint16 centrifugeId, bytes32 hook) payable", "function wards(address) view returns (uint256)"];
1
+ declare const _default: readonly ["function accounting() view returns (address)", "function addShareClass(uint64 poolId, string name, string symbol, bytes32 salt) payable returns (bytes16 scId)", "function approveDeposits(uint64 poolId, bytes16 scId, uint128 depositAssetId, uint32 nowDepositEpochId, uint128 approvedAssetAmount) payable returns (uint128 pendingAssetAmount, uint128 approvedPoolAmount)", "function approveRedeems(uint64 poolId, bytes16 scId, uint128 payoutAssetId, uint32 nowRedeemEpochId, uint128 approvedShareAmount) payable returns (uint128 pendingShareAmount)", "function createAccount(uint64 poolId, uint32 account, bool isDebitNormal) payable", "function createPool(uint64 poolId, address admin, uint128 currency) payable", "function deny(address user)", "function file(bytes32 what, address data)", "function forceCancelDepositRequest(uint64 poolId, bytes16 scId, bytes32 investor, uint128 depositAssetId) payable", "function forceCancelRedeemRequest(uint64 poolId, bytes16 scId, bytes32 investor, uint128 payoutAssetId) payable", "function gateway() view returns (address)", "function holdings() view returns (address)", "function hubHelpers() view returns (address)", "function hubRegistry() view returns (address)", "function initializeHolding(uint64 poolId, bytes16 scId, uint128 assetId, address valuation, uint32 assetAccount, uint32 equityAccount, uint32 gainAccount, uint32 lossAccount) payable", "function initializeLiability(uint64 poolId, bytes16 scId, uint128 assetId, address valuation, uint32 expenseAccount, uint32 liabilityAccount) payable", "function initiateTransferShares(uint16 centrifugeId, uint64 poolId, bytes16 scId, bytes32 receiver, uint128 amount)", "function issueShares(uint64 poolId, bytes16 scId, uint128 depositAssetId, uint32 nowIssueEpochId, uint128 navPoolPerShare) payable returns (uint128 issuedShareAmount, uint128 depositAssetAmount, uint128 depositPoolAmount)", "function multicall(bytes[] data) payable", "function notifyAssetPrice(uint64 poolId, bytes16 scId, uint128 assetId) payable", "function notifyDeposit(uint64 poolId, bytes16 scId, uint128 assetId, bytes32 investor, uint32 maxClaims) payable", "function notifyPool(uint64 poolId, uint16 centrifugeId) payable", "function notifyRedeem(uint64 poolId, bytes16 scId, uint128 assetId, bytes32 investor, uint32 maxClaims) payable", "function notifyShareClass(uint64 poolId, bytes16 scId, uint16 centrifugeId, bytes32 hook) payable", "function notifyShareMetadata(uint64 poolId, bytes16 scId, uint16 centrifugeId) payable", "function notifySharePrice(uint64 poolId, bytes16 scId, uint16 centrifugeId) payable", "function poolEscrowFactory() view returns (address)", "function recoverTokens(address token, address receiver, uint256 amount)", "function recoverTokens(address token, uint256 tokenId, address receiver, uint256 amount)", "function registerAsset(uint128 assetId, uint8 decimals)", "function rely(address user)", "function request(uint64 poolId, bytes16 scId, uint128 assetId, bytes payload) payable", "function revokeShares(uint64 poolId, bytes16 scId, uint128 payoutAssetId, uint32 nowRevokeEpochId, uint128 navPoolPerShare) payable returns (uint128 revokedShareAmount, uint128 payoutAssetAmount, uint128 payoutPoolAmount)", "function sender() view returns (address)", "function setAccountMetadata(uint64 poolId, uint32 account, bytes metadata) payable", "function setHoldingAccountId(uint64 poolId, bytes16 scId, uint128 assetId, uint8 kind, uint32 accountId) payable", "function setMaxAssetPriceAge(uint64 poolId, bytes16 scId, uint128 assetId, uint64 maxPriceAge) payable", "function setMaxSharePriceAge(uint16 centrifugeId, uint64 poolId, bytes16 scId, uint64 maxPriceAge) payable", "function setPoolMetadata(uint64 poolId, bytes metadata) payable", "function setRequestManager(uint64 poolId, bytes16 scId, uint128 assetId, bytes32 manager) payable", "function setSnapshotHook(uint64 poolId, address hook) payable", "function shareClassManager() view returns (address)", "function updateBalanceSheetManager(uint16 centrifugeId, uint64 poolId, bytes32 who, bool canManage) payable", "function updateContract(uint64 poolId, bytes16 scId, uint16 centrifugeId, bytes32 target, bytes payload, uint128 gasLimit) payable", "function updateHoldingAmount(uint16 centrifugeId, uint64 poolId, bytes16 scId, uint128 assetId, uint128 amount, uint128 pricePoolPerAsset, bool isIncrease, bool isSnapshot, uint64 nonce)", "function updateHoldingValuation(uint64 poolId, bytes16 scId, uint128 assetId, address valuation) payable", "function updateHoldingValue(uint64 poolId, bytes16 scId, uint128 assetId) payable", "function updateHubManager(uint64 poolId, address who, bool canManage) payable", "function updateJournal(uint64 poolId, (uint128 value, uint32 accountId)[] debits, (uint128 value, uint32 accountId)[] credits)", "function updateRestriction(uint64 poolId, bytes16 scId, uint16 centrifugeId, bytes payload, uint128 gasLimit) payable", "function updateShareClassMetadata(uint64 poolId, bytes16 scId, string name, string symbol) payable", "function updateShareHook(uint64 poolId, bytes16 scId, uint16 centrifugeId, bytes32 hook) payable", "function updateSharePrice(uint64 poolId, bytes16 scId, uint128 navPoolPerShare) payable", "function updateShares(uint16 centrifugeId, uint64 poolId, bytes16 scId, uint128 amount, bool isIssuance, bool isSnapshot, uint64 nonce)", "function updateVault(uint64 poolId, bytes16 scId, uint128 assetId, bytes32 vaultOrFactory, uint8 kind, uint128 gasLimit) payable", "function wards(address) view returns (uint256)", "event Deny(address indexed user)", "event File(bytes32 what, address addr)", "event ForwardTransferShares(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, bytes32 receiver, uint128 amount)", "event NotifyAssetPrice(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, uint128 assetId, uint128 pricePoolPerAsset)", "event NotifyPool(uint16 indexed centrifugeId, uint64 indexed poolId)", "event NotifyShareClass(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId)", "event NotifyShareMetadata(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, string name, string symbol)", "event NotifySharePrice(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, uint128 poolPerShare)", "event Rely(address indexed user)", "event SetMaxAssetPriceAge(uint64 indexed poolId, bytes16 scId, uint128 assetId, uint64 maxPriceAge)", "event SetMaxSharePriceAge(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, uint64 maxPriceAge)", "event UpdateContract(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, bytes32 target, bytes payload)", "event UpdateRestriction(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, bytes payload)", "event UpdateShareHook(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, bytes32 hook)", "event UpdateVault(uint64 indexed poolId, bytes16 scId, uint128 assetId, bytes32 vaultOrFactory, uint8 kind)", "error AccountDoesNotExist()", "error AssetNotFound()", "error CallFailedWithEmptyRevert()", "error FileUnrecognizedParam()", "error InvalidAccountCombination()", "error InvalidPoolId()", "error NoCode()", "error NotAuthorized()", "error NotManager()", "error PoolAlreadyUnlocked()", "error SafeTransferEthFailed()", "error ShareClassNotFound()", "error UnauthorizedSender()", "error WrappedError(address target, bytes4 selector, bytes reason, bytes details)"];
2
2
  export default _default;
3
3
  //# sourceMappingURL=Hub.abi.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Hub.abi.d.ts","sourceRoot":"","sources":["../../src/abi/Hub.abi.ts"],"names":[],"mappings":";AAAA,wBAgFU"}
1
+ {"version":3,"file":"Hub.abi.d.ts","sourceRoot":"","sources":["../../src/abi/Hub.abi.ts"],"names":[],"mappings":";AAAA,wBAsFU"}
@@ -1,48 +1,21 @@
1
1
  export default [
2
- 'error AccountDoesNotExist()',
3
- 'error AssetNotFound()',
4
- 'error CallFailedWithEmptyRevert()',
5
- 'error FileUnrecognizedParam()',
6
- 'error InvalidPoolId()',
7
- 'error MulDiv_Overflow()',
8
- 'error NoCode()',
9
- 'error NotAuthorized()',
10
- 'error NotManager()',
11
- 'error PoolAlreadyUnlocked()',
12
- 'error SafeTransferEthFailed()',
13
- 'error SafeTransferFailed()',
14
- 'error ShareClassNotFound()',
15
- 'error Uint128_Overflow()',
16
- 'error UnauthorizedSender()',
17
- 'event Deny(address indexed user)',
18
- 'event File(bytes32 what, address addr)',
19
- 'event NotifyAssetPrice(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, uint128 assetId, uint128 pricePoolPerAsset)',
20
- 'event NotifyPool(uint16 indexed centrifugeId, uint64 indexed poolId)',
21
- 'event NotifyShareClass(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId)',
22
- 'event NotifySharePrice(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, string name, string symbol)',
23
- 'event NotifySharePrice(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, uint128 poolPerShare)',
24
- 'event Rely(address indexed user)',
25
- 'event UpdateContract(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, bytes32 target, bytes payload)',
26
- 'event UpdateRestriction(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, bytes payload)',
27
- 'event UpdateShareHook(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, bytes32 hook)',
28
2
  'function accounting() view returns (address)',
29
- 'function addShareClass(uint64 poolId, string name, string symbol, bytes32 salt) payable',
3
+ 'function addShareClass(uint64 poolId, string name, string symbol, bytes32 salt) payable returns (bytes16 scId)',
30
4
  'function approveDeposits(uint64 poolId, bytes16 scId, uint128 depositAssetId, uint32 nowDepositEpochId, uint128 approvedAssetAmount) payable returns (uint128 pendingAssetAmount, uint128 approvedPoolAmount)',
31
5
  'function approveRedeems(uint64 poolId, bytes16 scId, uint128 payoutAssetId, uint32 nowRedeemEpochId, uint128 approvedShareAmount) payable returns (uint128 pendingShareAmount)',
32
- 'function cancelDepositRequest(uint64 poolId, bytes16 scId, bytes32 investor, uint128 depositAssetId)',
33
- 'function cancelRedeemRequest(uint64 poolId, bytes16 scId, bytes32 investor, uint128 payoutAssetId)',
34
6
  'function createAccount(uint64 poolId, uint32 account, bool isDebitNormal) payable',
35
- 'function createHolding(uint64 poolId, bytes16 scId, uint128 assetId, address valuation, uint32 assetAccount, uint32 equityAccount, uint32 lossAccount, uint32 gainAccount) payable',
36
- 'function createLiability(uint64 poolId, bytes16 scId, uint128 assetId, address valuation, uint32 expenseAccount, uint32 liabilityAccount) payable',
37
7
  'function createPool(uint64 poolId, address admin, uint128 currency) payable',
38
- 'function decreaseShareIssuance(uint64 poolId, bytes16 scId, uint128 amount)',
39
8
  'function deny(address user)',
40
- 'function depositRequest(uint64 poolId, bytes16 scId, bytes32 investor, uint128 depositAssetId, uint128 amount)',
41
9
  'function file(bytes32 what, address data)',
10
+ 'function forceCancelDepositRequest(uint64 poolId, bytes16 scId, bytes32 investor, uint128 depositAssetId) payable',
11
+ 'function forceCancelRedeemRequest(uint64 poolId, bytes16 scId, bytes32 investor, uint128 payoutAssetId) payable',
42
12
  'function gateway() view returns (address)',
43
13
  'function holdings() view returns (address)',
14
+ 'function hubHelpers() view returns (address)',
44
15
  'function hubRegistry() view returns (address)',
45
- 'function increaseShareIssuance(uint64 poolId, bytes16 scId, uint128 amount)',
16
+ 'function initializeHolding(uint64 poolId, bytes16 scId, uint128 assetId, address valuation, uint32 assetAccount, uint32 equityAccount, uint32 gainAccount, uint32 lossAccount) payable',
17
+ 'function initializeLiability(uint64 poolId, bytes16 scId, uint128 assetId, address valuation, uint32 expenseAccount, uint32 liabilityAccount) payable',
18
+ 'function initiateTransferShares(uint16 centrifugeId, uint64 poolId, bytes16 scId, bytes32 receiver, uint128 amount)',
46
19
  'function issueShares(uint64 poolId, bytes16 scId, uint128 depositAssetId, uint32 nowIssueEpochId, uint128 navPoolPerShare) payable returns (uint128 issuedShareAmount, uint128 depositAssetAmount, uint128 depositPoolAmount)',
47
20
  'function multicall(bytes[] data) payable',
48
21
  'function notifyAssetPrice(uint64 poolId, bytes16 scId, uint128 assetId) payable',
@@ -52,31 +25,64 @@ export default [
52
25
  'function notifyShareClass(uint64 poolId, bytes16 scId, uint16 centrifugeId, bytes32 hook) payable',
53
26
  'function notifyShareMetadata(uint64 poolId, bytes16 scId, uint16 centrifugeId) payable',
54
27
  'function notifySharePrice(uint64 poolId, bytes16 scId, uint16 centrifugeId) payable',
28
+ 'function poolEscrowFactory() view returns (address)',
55
29
  'function recoverTokens(address token, address receiver, uint256 amount)',
56
30
  'function recoverTokens(address token, uint256 tokenId, address receiver, uint256 amount)',
57
- 'function redeemRequest(uint64 poolId, bytes16 scId, bytes32 investor, uint128 payoutAssetId, uint128 amount)',
58
31
  'function registerAsset(uint128 assetId, uint8 decimals)',
59
32
  'function rely(address user)',
33
+ 'function request(uint64 poolId, bytes16 scId, uint128 assetId, bytes payload) payable',
60
34
  'function revokeShares(uint64 poolId, bytes16 scId, uint128 payoutAssetId, uint32 nowRevokeEpochId, uint128 navPoolPerShare) payable returns (uint128 revokedShareAmount, uint128 payoutAssetAmount, uint128 payoutPoolAmount)',
61
35
  'function sender() view returns (address)',
62
36
  'function setAccountMetadata(uint64 poolId, uint32 account, bytes metadata) payable',
63
37
  'function setHoldingAccountId(uint64 poolId, bytes16 scId, uint128 assetId, uint8 kind, uint32 accountId) payable',
38
+ 'function setMaxAssetPriceAge(uint64 poolId, bytes16 scId, uint128 assetId, uint64 maxPriceAge) payable',
39
+ 'function setMaxSharePriceAge(uint16 centrifugeId, uint64 poolId, bytes16 scId, uint64 maxPriceAge) payable',
64
40
  'function setPoolMetadata(uint64 poolId, bytes metadata) payable',
65
- 'function setQueue(uint16 centrifugeId, uint64 poolId, bytes16 scId, bool enabled) payable',
41
+ 'function setRequestManager(uint64 poolId, bytes16 scId, uint128 assetId, bytes32 manager) payable',
42
+ 'function setSnapshotHook(uint64 poolId, address hook) payable',
66
43
  'function shareClassManager() view returns (address)',
67
- 'function triggerIssueShares(uint16 centrifugeId, uint64 poolId, bytes16 scId, address who, uint128 shares) payable',
68
- 'function triggerSubmitQueuedAssets(uint64 poolId, bytes16 scId, uint128 assetId) payable',
69
- 'function triggerSubmitQueuedShares(uint16 centrifugeId, uint64 poolId, bytes16 scId) payable',
70
- 'function updateContract(uint64 poolId, bytes16 scId, uint16 centrifugeId, bytes32 target, bytes payload) payable',
71
- 'function updateHoldingAmount(uint64 poolId, bytes16 scId, uint128 assetId, uint128 amount, uint128 pricePoolPerAsset, bool isIncrease)',
44
+ 'function updateBalanceSheetManager(uint16 centrifugeId, uint64 poolId, bytes32 who, bool canManage) payable',
45
+ 'function updateContract(uint64 poolId, bytes16 scId, uint16 centrifugeId, bytes32 target, bytes payload, uint128 gasLimit) payable',
46
+ 'function updateHoldingAmount(uint16 centrifugeId, uint64 poolId, bytes16 scId, uint128 assetId, uint128 amount, uint128 pricePoolPerAsset, bool isIncrease, bool isSnapshot, uint64 nonce)',
72
47
  'function updateHoldingValuation(uint64 poolId, bytes16 scId, uint128 assetId, address valuation) payable',
73
48
  'function updateHoldingValue(uint64 poolId, bytes16 scId, uint128 assetId) payable',
49
+ 'function updateHubManager(uint64 poolId, address who, bool canManage) payable',
74
50
  'function updateJournal(uint64 poolId, (uint128 value, uint32 accountId)[] debits, (uint128 value, uint32 accountId)[] credits)',
75
- 'function updateManager(uint64 poolId, address who, bool canManage) payable',
76
- 'function updatePricePerShare(uint64 poolId, bytes16 scId, uint128 navPoolPerShare) payable',
77
- 'function updateRestriction(uint64 poolId, bytes16 scId, uint16 centrifugeId, bytes payload) payable',
51
+ 'function updateRestriction(uint64 poolId, bytes16 scId, uint16 centrifugeId, bytes payload, uint128 gasLimit) payable',
78
52
  'function updateShareClassMetadata(uint64 poolId, bytes16 scId, string name, string symbol) payable',
79
53
  'function updateShareHook(uint64 poolId, bytes16 scId, uint16 centrifugeId, bytes32 hook) payable',
54
+ 'function updateSharePrice(uint64 poolId, bytes16 scId, uint128 navPoolPerShare) payable',
55
+ 'function updateShares(uint16 centrifugeId, uint64 poolId, bytes16 scId, uint128 amount, bool isIssuance, bool isSnapshot, uint64 nonce)',
56
+ 'function updateVault(uint64 poolId, bytes16 scId, uint128 assetId, bytes32 vaultOrFactory, uint8 kind, uint128 gasLimit) payable',
80
57
  'function wards(address) view returns (uint256)',
58
+ 'event Deny(address indexed user)',
59
+ 'event File(bytes32 what, address addr)',
60
+ 'event ForwardTransferShares(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, bytes32 receiver, uint128 amount)',
61
+ 'event NotifyAssetPrice(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, uint128 assetId, uint128 pricePoolPerAsset)',
62
+ 'event NotifyPool(uint16 indexed centrifugeId, uint64 indexed poolId)',
63
+ 'event NotifyShareClass(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId)',
64
+ 'event NotifyShareMetadata(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, string name, string symbol)',
65
+ 'event NotifySharePrice(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, uint128 poolPerShare)',
66
+ 'event Rely(address indexed user)',
67
+ 'event SetMaxAssetPriceAge(uint64 indexed poolId, bytes16 scId, uint128 assetId, uint64 maxPriceAge)',
68
+ 'event SetMaxSharePriceAge(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, uint64 maxPriceAge)',
69
+ 'event UpdateContract(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, bytes32 target, bytes payload)',
70
+ 'event UpdateRestriction(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, bytes payload)',
71
+ 'event UpdateShareHook(uint16 indexed centrifugeId, uint64 indexed poolId, bytes16 scId, bytes32 hook)',
72
+ 'event UpdateVault(uint64 indexed poolId, bytes16 scId, uint128 assetId, bytes32 vaultOrFactory, uint8 kind)',
73
+ 'error AccountDoesNotExist()',
74
+ 'error AssetNotFound()',
75
+ 'error CallFailedWithEmptyRevert()',
76
+ 'error FileUnrecognizedParam()',
77
+ 'error InvalidAccountCombination()',
78
+ 'error InvalidPoolId()',
79
+ 'error NoCode()',
80
+ 'error NotAuthorized()',
81
+ 'error NotManager()',
82
+ 'error PoolAlreadyUnlocked()',
83
+ 'error SafeTransferEthFailed()',
84
+ 'error ShareClassNotFound()',
85
+ 'error UnauthorizedSender()',
86
+ 'error WrappedError(address target, bytes4 selector, bytes reason, bytes details)',
81
87
  ];
82
88
  //# sourceMappingURL=Hub.abi.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Hub.abi.js","sourceRoot":"","sources":["../../src/abi/Hub.abi.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,6BAA6B;IAC7B,uBAAuB;IACvB,mCAAmC;IACnC,+BAA+B;IAC/B,uBAAuB;IACvB,yBAAyB;IACzB,gBAAgB;IAChB,uBAAuB;IACvB,oBAAoB;IACpB,6BAA6B;IAC7B,+BAA+B;IAC/B,4BAA4B;IAC5B,4BAA4B;IAC5B,0BAA0B;IAC1B,4BAA4B;IAC5B,kCAAkC;IAClC,wCAAwC;IACxC,sIAAsI;IACtI,sEAAsE;IACtE,0FAA0F;IAC1F,sHAAsH;IACtH,gHAAgH;IAChH,kCAAkC;IAClC,uHAAuH;IACvH,0GAA0G;IAC1G,uGAAuG;IACvG,8CAA8C;IAC9C,yFAAyF;IACzF,+MAA+M;IAC/M,gLAAgL;IAChL,sGAAsG;IACtG,oGAAoG;IACpG,mFAAmF;IACnF,oLAAoL;IACpL,mJAAmJ;IACnJ,6EAA6E;IAC7E,6EAA6E;IAC7E,6BAA6B;IAC7B,gHAAgH;IAChH,2CAA2C;IAC3C,2CAA2C;IAC3C,4CAA4C;IAC5C,+CAA+C;IAC/C,6EAA6E;IAC7E,+NAA+N;IAC/N,0CAA0C;IAC1C,iFAAiF;IACjF,kHAAkH;IAClH,iEAAiE;IACjE,iHAAiH;IACjH,mGAAmG;IACnG,wFAAwF;IACxF,qFAAqF;IACrF,yEAAyE;IACzE,0FAA0F;IAC1F,8GAA8G;IAC9G,yDAAyD;IACzD,6BAA6B;IAC7B,+NAA+N;IAC/N,0CAA0C;IAC1C,oFAAoF;IACpF,kHAAkH;IAClH,iEAAiE;IACjE,2FAA2F;IAC3F,qDAAqD;IACrD,oHAAoH;IACpH,0FAA0F;IAC1F,8FAA8F;IAC9F,kHAAkH;IAClH,wIAAwI;IACxI,0GAA0G;IAC1G,mFAAmF;IACnF,gIAAgI;IAChI,4EAA4E;IAC5E,4FAA4F;IAC5F,qGAAqG;IACrG,oGAAoG;IACpG,kGAAkG;IAClG,gDAAgD;CACxC,CAAA"}
1
+ {"version":3,"file":"Hub.abi.js","sourceRoot":"","sources":["../../src/abi/Hub.abi.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,8CAA8C;IAC9C,gHAAgH;IAChH,+MAA+M;IAC/M,gLAAgL;IAChL,mFAAmF;IACnF,6EAA6E;IAC7E,6BAA6B;IAC7B,2CAA2C;IAC3C,mHAAmH;IACnH,iHAAiH;IACjH,2CAA2C;IAC3C,4CAA4C;IAC5C,8CAA8C;IAC9C,+CAA+C;IAC/C,wLAAwL;IACxL,uJAAuJ;IACvJ,qHAAqH;IACrH,+NAA+N;IAC/N,0CAA0C;IAC1C,iFAAiF;IACjF,kHAAkH;IAClH,iEAAiE;IACjE,iHAAiH;IACjH,mGAAmG;IACnG,wFAAwF;IACxF,qFAAqF;IACrF,qDAAqD;IACrD,yEAAyE;IACzE,0FAA0F;IAC1F,yDAAyD;IACzD,6BAA6B;IAC7B,uFAAuF;IACvF,+NAA+N;IAC/N,0CAA0C;IAC1C,oFAAoF;IACpF,kHAAkH;IAClH,wGAAwG;IACxG,4GAA4G;IAC5G,iEAAiE;IACjE,mGAAmG;IACnG,+DAA+D;IAC/D,qDAAqD;IACrD,6GAA6G;IAC7G,oIAAoI;IACpI,4LAA4L;IAC5L,0GAA0G;IAC1G,mFAAmF;IACnF,+EAA+E;IAC/E,gIAAgI;IAChI,uHAAuH;IACvH,oGAAoG;IACpG,kGAAkG;IAClG,yFAAyF;IACzF,yIAAyI;IACzI,kIAAkI;IAClI,gDAAgD;IAChD,kCAAkC;IAClC,wCAAwC;IACxC,iIAAiI;IACjI,sIAAsI;IACtI,sEAAsE;IACtE,0FAA0F;IAC1F,yHAAyH;IACzH,gHAAgH;IAChH,kCAAkC;IAClC,qGAAqG;IACrG,iHAAiH;IACjH,uHAAuH;IACvH,0GAA0G;IAC1G,uGAAuG;IACvG,6GAA6G;IAC7G,6BAA6B;IAC7B,uBAAuB;IACvB,mCAAmC;IACnC,+BAA+B;IAC/B,mCAAmC;IACnC,uBAAuB;IACvB,gBAAgB;IAChB,uBAAuB;IACvB,oBAAoB;IACpB,6BAA6B;IAC7B,+BAA+B;IAC/B,4BAA4B;IAC5B,4BAA4B;IAC5B,kFAAkF;CAC1E,CAAA"}
@@ -13,7 +13,7 @@ export default [
13
13
  // 'function hub() view returns (address)',
14
14
  // 'function investmentManager() view returns (address)',
15
15
  'function localCentrifugeId() view returns (uint16)',
16
- // 'function poolManager() view returns (address)',
16
+ // 'function spoke() view returns (address)',
17
17
  // 'function rely(address user)',
18
18
  // 'function root() view returns (address)',
19
19
  // 'function sendApprovedDeposits(uint64 poolId, bytes16 scId, uint128 assetId, uint128 assetAmount)',
@@ -1 +1 @@
1
- {"version":3,"file":"MessageDispatcher.abi.js","sourceRoot":"","sources":["../../src/abi/MessageDispatcher.abi.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,mCAAmC;IACnC,2BAA2B;IAC3B,6BAA6B;IAC7B,sCAAsC;IACtC,oDAAoD;IACpD,sCAAsC;IACtC,oDAAoD;IACpD,iCAAiC;IACjC,yFAAyF;IACzF,+CAA+C;IAC/C,+CAA+C;IAC/C,2CAA2C;IAC3C,yDAAyD;IACzD,oDAAoD;IACpD,mDAAmD;IACnD,iCAAiC;IACjC,4CAA4C;IAC5C,sGAAsG;IACtG,uGAAuG;IACvG,sGAAsG;IACtG,qEAAqE;IACrE,iHAAiH;IACjH,yHAAyH;IACzH,yIAAyI;IACzI,wIAAwI;IACxI,oJAAoJ;IACpJ,mJAAmJ;IACnJ,0HAA0H;IAC1H,yIAAyI;IACzI,iEAAiE;IACjE,uGAAuG;IACvG,2GAA2G;IAC3G,6JAA6J;IAC7J,iIAAiI;IACjI,gHAAgH;IAChH,sFAAsF;IACtF,mGAAmG;IACnG,uEAAuE;IACvE,qHAAqH;IACrH,kHAAkH;IAClH,oQAAoQ;IACpQ,8GAA8G;IAC9G,qGAAqG;IACrG,0IAA0I;IAC1I,sDAAsD;IACtD,oDAAoD;CAC5C,CAAA"}
1
+ {"version":3,"file":"MessageDispatcher.abi.js","sourceRoot":"","sources":["../../src/abi/MessageDispatcher.abi.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,mCAAmC;IACnC,2BAA2B;IAC3B,6BAA6B;IAC7B,sCAAsC;IACtC,oDAAoD;IACpD,sCAAsC;IACtC,oDAAoD;IACpD,iCAAiC;IACjC,yFAAyF;IACzF,+CAA+C;IAC/C,+CAA+C;IAC/C,2CAA2C;IAC3C,yDAAyD;IACzD,oDAAoD;IACpD,6CAA6C;IAC7C,iCAAiC;IACjC,4CAA4C;IAC5C,sGAAsG;IACtG,uGAAuG;IACvG,sGAAsG;IACtG,qEAAqE;IACrE,iHAAiH;IACjH,yHAAyH;IACzH,yIAAyI;IACzI,wIAAwI;IACxI,oJAAoJ;IACpJ,mJAAmJ;IACnJ,0HAA0H;IAC1H,yIAAyI;IACzI,iEAAiE;IACjE,uGAAuG;IACvG,2GAA2G;IAC3G,6JAA6J;IAC7J,iIAAiI;IACjI,gHAAgH;IAChH,sFAAsF;IACtF,mGAAmG;IACnG,uEAAuE;IACvE,qHAAqH;IACrH,kHAAkH;IAClH,oQAAoQ;IACpQ,8GAA8G;IAC9G,qGAAqG;IACrG,0IAA0I;IAC1I,sDAAsD;IACtD,oDAAoD;CAC5C,CAAA"}
@@ -0,0 +1,3 @@
1
+ declare const _default: readonly ["function estimate(uint16 centrifugeId, bytes payload, uint256 gasLimit) view returns (uint256 total)"];
2
+ export default _default;
3
+ //# sourceMappingURL=MultiAdapter.abi.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MultiAdapter.abi.d.ts","sourceRoot":"","sources":["../../src/abi/MultiAdapter.abi.ts"],"names":[],"mappings":";AAAA,wBAmDU"}
@@ -0,0 +1,53 @@
1
+ export default [
2
+ // 'function PRIMARY_ADAPTER_ID() view returns (uint8)',
3
+ // 'function RECOVERY_CHALLENGE_PERIOD() view returns (uint256)',
4
+ // 'function activeSessionId(uint16 centrifugeId) view returns (uint64)',
5
+ // 'function adapters(uint16 centrifugeId, uint256) view returns (address)',
6
+ // 'function deny(address user)',
7
+ // 'function disputeRecovery(uint16 centrifugeId, address adapter, bytes32 payloadHash)',
8
+ 'function estimate(uint16 centrifugeId, bytes payload, uint256 gasLimit) view returns (uint256 total)',
9
+ // 'function executeRecovery(uint16 centrifugeId, address adapter, bytes payload)',
10
+ // 'function file(bytes32 what, address instance)',
11
+ // 'function file(bytes32 what, uint16 centrifugeId, address[] addresses)',
12
+ // 'function gateway() view returns (address)',
13
+ // 'function handle(uint16 centrifugeId, bytes payload)',
14
+ // 'function inbound(uint16 centrifugeId, bytes32 payloadHash) view returns (uint64 sessionId, bytes pending)',
15
+ // 'function initiateRecovery(uint16 centrifugeId, address adapter, bytes32 payloadHash)',
16
+ // 'function localCentrifugeId() view returns (uint16)',
17
+ // 'function quorum(uint16 centrifugeId) view returns (uint8)',
18
+ // 'function recoveries(uint16 centrifugeId, address adapter, bytes32 payloadHash) view returns (uint256 timestamp)',
19
+ // 'function rely(address user)',
20
+ // 'function send(uint16 centrifugeId, bytes payload, uint256 gasLimit, address refund) payable returns (bytes32)',
21
+ // 'function votes(uint16 centrifugeId, bytes32 payloadHash) view returns (uint16[8])',
22
+ // 'function wards(address) view returns (uint256)',
23
+ // 'event Deny(address indexed user)',
24
+ // 'event DisputeRecovery(uint16 centrifugeId, bytes32 payloadHash, address adapter)',
25
+ // 'event ExecuteRecovery(uint16 centrifugeId, bytes message, address adapter)',
26
+ // 'event File(bytes32 indexed what, address addr)',
27
+ // 'event File(bytes32 indexed what, uint16 centrifugeId, address[] adapters)',
28
+ // 'event HandlePayload(uint16 indexed centrifugeId, bytes32 indexed payloadId, bytes payload, address adapter)',
29
+ // 'event HandleProof(uint16 indexed centrifugeId, bytes32 indexed payloadId, bytes32 payloadHash, address adapter)',
30
+ // 'event InitiateRecovery(uint16 centrifugeId, bytes32 payloadHash, address adapter)',
31
+ // 'event Rely(address indexed user)',
32
+ // 'event SendPayload(uint16 indexed centrifugeId, bytes32 indexed payloadId, bytes payload, address adapter, bytes32 adapterData, address refund)',
33
+ // 'event SendProof(uint16 indexed centrifugeId, bytes32 indexed payloadId, bytes32 payloadHash, address adapter, bytes32 adapterData)',
34
+ // 'error EmptyAdapterSet()',
35
+ // 'error ExceedsMax()',
36
+ // 'error FileUnrecognizedParam()',
37
+ // 'error InvalidAdapter()',
38
+ // 'error InvalidMessage(uint8 code)',
39
+ // 'error InvalidValues()',
40
+ // 'error NoDuplicatesAllowed()',
41
+ // 'error NonPayloadAdapter()',
42
+ // 'error NonProofAdapter()',
43
+ // 'error NotAuthorized()',
44
+ // 'error NotEntrypoint()',
45
+ // 'error RecoveryChallengePeriodNotEnded()',
46
+ // 'error RecoveryNotInitiated()',
47
+ // 'error RecoveryPayloadRecovered()',
48
+ // 'error SliceOutOfBounds()',
49
+ // 'error Uint8_Overflow()',
50
+ // 'error UnknownChainId()',
51
+ // 'error UnknownMessageProofType()',
52
+ ];
53
+ //# sourceMappingURL=MultiAdapter.abi.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MultiAdapter.abi.js","sourceRoot":"","sources":["../../src/abi/MultiAdapter.abi.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,wDAAwD;IACxD,iEAAiE;IACjE,yEAAyE;IACzE,4EAA4E;IAC5E,iCAAiC;IACjC,yFAAyF;IACzF,sGAAsG;IACtG,mFAAmF;IACnF,mDAAmD;IACnD,2EAA2E;IAC3E,+CAA+C;IAC/C,yDAAyD;IACzD,+GAA+G;IAC/G,0FAA0F;IAC1F,wDAAwD;IACxD,+DAA+D;IAC/D,qHAAqH;IACrH,iCAAiC;IACjC,mHAAmH;IACnH,uFAAuF;IACvF,oDAAoD;IACpD,sCAAsC;IACtC,sFAAsF;IACtF,gFAAgF;IAChF,oDAAoD;IACpD,+EAA+E;IAC/E,iHAAiH;IACjH,qHAAqH;IACrH,uFAAuF;IACvF,sCAAsC;IACtC,oJAAoJ;IACpJ,wIAAwI;IACxI,6BAA6B;IAC7B,wBAAwB;IACxB,mCAAmC;IACnC,4BAA4B;IAC5B,sCAAsC;IACtC,2BAA2B;IAC3B,iCAAiC;IACjC,+BAA+B;IAC/B,6BAA6B;IAC7B,2BAA2B;IAC3B,2BAA2B;IAC3B,6CAA6C;IAC7C,kCAAkC;IAClC,sCAAsC;IACtC,8BAA8B;IAC9B,4BAA4B;IAC5B,4BAA4B;IAC5B,qCAAqC;CAC7B,CAAA"}
@@ -1,3 +1,3 @@
1
- declare const _default: readonly ["event UpdateMember(address indexed token, address indexed user, uint64 validUntil)"];
1
+ declare const _default: readonly ["event UpdateMember(address indexed token, address indexed user, uint64 validUntil)", "function isMember(address token, address user) view returns (bool isValid, uint64 validUntil)"];
2
2
  export default _default;
3
3
  //# sourceMappingURL=RestrictionManager.abi.d.ts.map
@@ -9,7 +9,7 @@ export default [
9
9
  // "function deny(address user)",
10
10
  // "function freeze(address token, address user)",
11
11
  // "function isFrozen(address token, address user) view returns (bool)",
12
- // "function isMember(address token, address user) view returns (bool isValid, uint64 validUntil)",
12
+ 'function isMember(address token, address user) view returns (bool isValid, uint64 validUntil)',
13
13
  // "function onERC20AuthTransfer(address, address, address, uint256, (bytes16 from, bytes16 to)) pure returns (bytes4)",
14
14
  // "function onERC20Transfer(address from, address to, uint256 value, (bytes16 from, bytes16 to) hookData) returns (bytes4)",
15
15
  // "function rely(address user)",
@@ -1 +1 @@
1
- {"version":3,"file":"RestrictionManager.abi.js","sourceRoot":"","sources":["../../src/abi/RestrictionManager.abi.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,sCAAsC;IACtC,+DAA+D;IAC/D,sCAAsC;IACtC,iEAAiE;IACjE,oFAAoF;IACpF,gDAAgD;IAChD,6HAA6H;IAC7H,iCAAiC;IACjC,kDAAkD;IAClD,wEAAwE;IACxE,mGAAmG;IACnG,wHAAwH;IACxH,6HAA6H;IAC7H,iCAAiC;IACjC,4CAA4C;IAC5C,wEAAwE;IACxE,oDAAoD;IACpD,2EAA2E;IAC3E,6DAA6D;IAC7D,mDAAmD;CAC3C,CAAA"}
1
+ {"version":3,"file":"RestrictionManager.abi.js","sourceRoot":"","sources":["../../src/abi/RestrictionManager.abi.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,sCAAsC;IACtC,+DAA+D;IAC/D,sCAAsC;IACtC,iEAAiE;IACjE,oFAAoF;IACpF,gDAAgD;IAChD,6HAA6H;IAC7H,iCAAiC;IACjC,kDAAkD;IAClD,wEAAwE;IACxE,+FAA+F;IAC/F,wHAAwH;IACxH,6HAA6H;IAC7H,iCAAiC;IACjC,4CAA4C;IAC5C,wEAAwE;IACxE,oDAAoD;IACpD,2EAA2E;IAC3E,6DAA6D;IAC7D,mDAAmD;CAC3C,CAAA"}