@centrifuge/sdk 0.0.0-alpha.15 → 0.0.0-alpha.17
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.
- package/dist/Centrifuge.d.ts +4 -2
- package/dist/Centrifuge.d.ts.map +1 -1
- package/dist/Centrifuge.js +16 -14
- package/dist/Centrifuge.js.map +1 -1
- package/dist/Centrifuge.test.js +40 -0
- package/dist/Centrifuge.test.js.map +1 -1
- package/dist/abi/AsyncRequestManager.abi.d.ts +1 -1
- package/dist/abi/AsyncRequestManager.abi.d.ts.map +1 -1
- package/dist/abi/AsyncRequestManager.abi.js +35 -36
- package/dist/abi/AsyncRequestManager.abi.js.map +1 -1
- package/dist/abi/AsyncVault.abi.d.ts +1 -1
- package/dist/abi/AsyncVault.abi.d.ts.map +1 -1
- package/dist/abi/AsyncVault.abi.js +36 -35
- package/dist/abi/AsyncVault.abi.js.map +1 -1
- package/dist/abi/Holdings.abi.d.ts +1 -1
- package/dist/abi/Holdings.abi.d.ts.map +1 -1
- package/dist/abi/Holdings.abi.js +29 -24
- package/dist/abi/Holdings.abi.js.map +1 -1
- package/dist/abi/Hub.abi.d.ts +1 -1
- package/dist/abi/Hub.abi.d.ts.map +1 -1
- package/dist/abi/Hub.abi.js +50 -44
- package/dist/abi/Hub.abi.js.map +1 -1
- package/dist/abi/MessageDispatcher.abi.js +1 -1
- package/dist/abi/MessageDispatcher.abi.js.map +1 -1
- package/dist/abi/MultiAdapter.abi.d.ts +3 -0
- package/dist/abi/MultiAdapter.abi.d.ts.map +1 -0
- package/dist/abi/MultiAdapter.abi.js +53 -0
- package/dist/abi/MultiAdapter.abi.js.map +1 -0
- package/dist/abi/RestrictionManager.abi.d.ts +1 -1
- package/dist/abi/RestrictionManager.abi.js +1 -1
- package/dist/abi/RestrictionManager.abi.js.map +1 -1
- package/dist/abi/ShareClassManager.abi.d.ts +1 -1
- package/dist/abi/ShareClassManager.abi.d.ts.map +1 -1
- package/dist/abi/ShareClassManager.abi.js +47 -42
- package/dist/abi/ShareClassManager.abi.js.map +1 -1
- package/dist/abi/Spoke.abi.d.ts +3 -0
- package/dist/abi/Spoke.abi.d.ts.map +1 -0
- package/dist/abi/{PoolManager.abi.js → Spoke.abi.js} +59 -58
- package/dist/abi/Spoke.abi.js.map +1 -0
- package/dist/abi/SyncRequestManager.abi.d.ts +1 -1
- package/dist/abi/SyncRequestManager.abi.d.ts.map +1 -1
- package/dist/abi/SyncRequestManager.abi.js +31 -29
- package/dist/abi/SyncRequestManager.abi.js.map +1 -1
- package/dist/abi/Valuation.abi.d.ts +3 -0
- package/dist/abi/Valuation.abi.d.ts.map +1 -0
- package/dist/abi/Valuation.abi.js +2 -0
- package/dist/abi/Valuation.abi.js.map +1 -0
- package/dist/abi/VaultRouter.abi.d.ts +1 -1
- package/dist/abi/VaultRouter.abi.d.ts.map +1 -1
- package/dist/abi/VaultRouter.abi.js +19 -26
- package/dist/abi/VaultRouter.abi.js.map +1 -1
- package/dist/abi/index.d.ts +3114 -2601
- package/dist/abi/index.d.ts.map +1 -1
- package/dist/abi/index.js +6 -4
- package/dist/abi/index.js.map +1 -1
- package/dist/config/chains.d.ts +455 -422
- package/dist/config/chains.d.ts.map +1 -1
- package/dist/config/chains.js +4 -3
- package/dist/config/chains.js.map +1 -1
- package/dist/config/protocol.d.ts.map +1 -1
- package/dist/config/protocol.js +4 -1
- package/dist/config/protocol.js.map +1 -1
- package/dist/entities/Investor.d.ts +1 -0
- package/dist/entities/Investor.d.ts.map +1 -1
- package/dist/entities/Investor.js +3 -0
- package/dist/entities/Investor.js.map +1 -1
- package/dist/entities/Pool.d.ts +1 -0
- package/dist/entities/Pool.d.ts.map +1 -1
- package/dist/entities/Pool.js +8 -0
- package/dist/entities/Pool.js.map +1 -1
- package/dist/entities/Pool.test.js +13 -3
- package/dist/entities/Pool.test.js.map +1 -1
- package/dist/entities/PoolNetwork.d.ts.map +1 -1
- package/dist/entities/PoolNetwork.js +19 -16
- package/dist/entities/PoolNetwork.js.map +1 -1
- package/dist/entities/Reports/index.js +1 -1
- package/dist/entities/Reports/index.js.map +1 -1
- package/dist/entities/ShareClass.d.ts +20 -0
- package/dist/entities/ShareClass.d.ts.map +1 -1
- package/dist/entities/ShareClass.js +91 -4
- package/dist/entities/ShareClass.js.map +1 -1
- package/dist/entities/ShareClass.test.js +18 -2
- package/dist/entities/ShareClass.test.js.map +1 -1
- package/dist/entities/Vault.d.ts.map +1 -1
- package/dist/entities/Vault.js +8 -7
- package/dist/entities/Vault.js.map +1 -1
- package/dist/entities/Vault.test.js +30 -17
- package/dist/entities/Vault.test.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/types/index.d.ts +3 -1
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/abi/IERC7726.abi.d.ts +0 -3
- package/dist/abi/IERC7726.abi.d.ts.map +0 -1
- package/dist/abi/IERC7726.abi.js +0 -2
- package/dist/abi/IERC7726.abi.js.map +0 -1
- package/dist/abi/PoolManager.abi.d.ts +0 -3
- package/dist/abi/PoolManager.abi.d.ts.map +0 -1
- package/dist/abi/PoolManager.abi.js.map +0 -1
- package/dist/tests/contracts.d.ts +0 -2
- package/dist/tests/contracts.d.ts.map +0 -1
- package/dist/tests/contracts.js +0 -40
- package/dist/tests/contracts.js.map +0 -1
- package/dist/utils/createPinning.d.ts +0 -5
- package/dist/utils/createPinning.d.ts.map +0 -1
- package/dist/utils/createPinning.js +0 -16
- package/dist/utils/createPinning.js.map +0 -1
- package/dist/utils/pinToApi.d.ts +0 -2
- package/dist/utils/pinToApi.d.ts.map +0 -1
- package/dist/utils/pinToApi.js +0 -9
- package/dist/utils/pinToApi.js.map +0 -1
- package/dist/utils/pinToApi.test.d.ts +0 -2
- package/dist/utils/pinToApi.test.d.ts.map +0 -1
- package/dist/utils/pinToApi.test.js +0 -54
- package/dist/utils/pinToApi.test.js.map +0 -1
|
@@ -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
|
|
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
|
|
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 ["
|
|
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,
|
|
1
|
+
{"version":3,"file":"Holdings.abi.d.ts","sourceRoot":"","sources":["../../src/abi/Holdings.abi.ts"],"names":[],"mappings":";AAAA,wBAyCU"}
|
package/dist/abi/Holdings.abi.js
CHANGED
|
@@ -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
|
|
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,
|
|
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
|
|
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,
|
|
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"}
|
package/dist/abi/Hub.abi.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: readonly ["
|
|
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,
|
|
1
|
+
{"version":3,"file":"Hub.abi.d.ts","sourceRoot":"","sources":["../../src/abi/Hub.abi.ts"],"names":[],"mappings":";AAAA,wBAsFU"}
|
package/dist/abi/Hub.abi.js
CHANGED
|
@@ -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
|
|
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
|
|
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
|
|
68
|
-
'function
|
|
69
|
-
'function
|
|
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
|
|
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
|
package/dist/abi/Hub.abi.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Hub.abi.js","sourceRoot":"","sources":["../../src/abi/Hub.abi.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,
|
|
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
|
|
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,
|
|
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 @@
|
|
|
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
|
-
|
|
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
|
|
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"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: readonly ["
|
|
1
|
+
declare const _default: readonly ["function addShareClass(uint64 poolId, string name, string symbol, bytes32 salt) returns (bytes16 scId_)", "function allowForceDepositCancel(bytes16 scId, uint128 depositAssetId, bytes32 investor) view returns (bool cancelled)", "function allowForceRedeemCancel(bytes16 scId, uint128 payoutAssetId, bytes32 investor) view returns (bool cancelled)", "function approveDeposits(uint64 poolId, bytes16 scId_, uint128 depositAssetId, uint32 nowDepositEpochId, uint128 approvedAssetAmount, uint128 pricePoolPerAsset) returns (uint128 pendingAssetAmount, uint128 approvedPoolAmount)", "function approveRedeems(uint64 poolId, bytes16 scId_, uint128 payoutAssetId, uint32 nowRedeemEpochId, uint128 approvedShareAmount, uint128 pricePoolPerAsset) returns (uint128 pendingShareAmount)", "function cancelDepositRequest(uint64 poolId, bytes16 scId_, bytes32 investor, uint128 depositAssetId) returns (uint128 cancelledAssetAmount)", "function cancelRedeemRequest(uint64 poolId, bytes16 scId_, bytes32 investor, uint128 payoutAssetId) returns (uint128 cancelledShareAmount)", "function claimDeposit(uint64 poolId, bytes16 scId_, bytes32 investor, uint128 depositAssetId) returns (uint128 payoutShareAmount, uint128 paymentAssetAmount, uint128 cancelledAssetAmount, bool canClaimAgain)", "function claimRedeem(uint64 poolId, bytes16 scId_, bytes32 investor, uint128 payoutAssetId) returns (uint128 payoutAssetAmount, uint128 paymentShareAmount, uint128 cancelledShareAmount, bool canClaimAgain)", "function deny(address user)", "function depositRequest(bytes16 scId, uint128 depositAssetId, bytes32 investor) view returns (uint128 pending, uint32 lastUpdate)", "function epochId(bytes16 scId, uint128 assetId) view returns (uint32 deposit, uint32 redeem, uint32 issue, uint32 revoke)", "function epochInvestAmounts(bytes16 scId, uint128 assetId, uint32 epochId_) view returns (uint128 pendingAssetAmount, uint128 approvedAssetAmount, uint128 approvedPoolAmount, uint128 pricePoolPerAsset, uint128 navPoolPerShare, uint64 issuedAt)", "function epochRedeemAmounts(bytes16 scId, uint128 assetId, uint32 epochId_) view returns (uint128 pendingShareAmount, uint128 approvedShareAmount, uint128 payoutAssetAmount, uint128 pricePoolPerAsset, uint128 navPoolPerShare, uint64 revokedAt)", "function exists(uint64 poolId, bytes16 scId_) view returns (bool)", "function forceCancelDepositRequest(uint64 poolId, bytes16 scId_, bytes32 investor, uint128 depositAssetId) returns (uint128 cancelledAssetAmount)", "function forceCancelRedeemRequest(uint64 poolId, bytes16 scId_, bytes32 investor, uint128 payoutAssetId) returns (uint128 cancelledShareAmount)", "function hubRegistry() view returns (address)", "function issuance(bytes16 scId, uint16 centrifugeId) view returns (uint128)", "function issueShares(uint64 poolId, bytes16 scId_, uint128 depositAssetId, uint32 nowIssueEpochId, uint128 navPoolPerShare) returns (uint128 issuedShareAmount, uint128 depositAssetAmount, uint128 depositPoolAmount)", "function maxDepositClaims(bytes16 scId_, bytes32 investor, uint128 depositAssetId) view returns (uint32)", "function maxRedeemClaims(bytes16 scId_, bytes32 investor, uint128 payoutAssetId) view returns (uint32)", "function metadata(bytes16 scId) view returns (string name, string symbol, bytes32 salt)", "function metrics(bytes16 scId) view returns (uint128 totalIssuance, uint128 navPerShare)", "function nowDepositEpoch(bytes16 scId_, uint128 depositAssetId) view returns (uint32)", "function nowIssueEpoch(bytes16 scId_, uint128 depositAssetId) view returns (uint32)", "function nowRedeemEpoch(bytes16 scId_, uint128 depositAssetId) view returns (uint32)", "function nowRevokeEpoch(bytes16 scId_, uint128 depositAssetId) view returns (uint32)", "function pendingDeposit(bytes16 scId, uint128 depositAssetId) view returns (uint128 pending)", "function pendingRedeem(bytes16 scId, uint128 payoutAssetId) view returns (uint128 pending)", "function previewNextShareClassId(uint64 poolId) view returns (bytes16 scId)", "function previewShareClassId(uint64 poolId, uint32 index) pure returns (bytes16 scId)", "function queuedDepositRequest(bytes16 scId, uint128 depositAssetId, bytes32 investor) view returns (bool isCancelling, uint128 amount)", "function queuedRedeemRequest(bytes16 scId, uint128 payoutAssetId, bytes32 investor) view returns (bool isCancelling, uint128 amount)", "function redeemRequest(bytes16 scId, uint128 payoutAssetId, bytes32 investor) view returns (uint128 pending, uint32 lastUpdate)", "function rely(address user)", "function requestDeposit(uint64 poolId, bytes16 scId_, uint128 amount, bytes32 investor, uint128 depositAssetId)", "function requestRedeem(uint64 poolId, bytes16 scId_, uint128 amount, bytes32 investor, uint128 payoutAssetId)", "function revokeShares(uint64 poolId, bytes16 scId_, uint128 payoutAssetId, uint32 nowRevokeEpochId, uint128 navPoolPerShare) returns (uint128 revokedShareAmount, uint128 payoutAssetAmount, uint128 payoutPoolAmount)", "function salts(bytes32 salt) view returns (bool)", "function shareClassCount(uint64 poolId) view returns (uint32)", "function shareClassIds(uint64 poolId, bytes16) view returns (bool)", "function updateMetadata(uint64 poolId, bytes16 scId_, string name, string symbol)", "function updateSharePrice(uint64 poolId, bytes16 scId_, uint128 navPoolPerShare)", "function updateShares(uint16 centrifugeId, uint64 poolId, bytes16 scId_, uint128 amount, bool isIssuance)", "function wards(address) view returns (uint256)", "event AddShareClass(uint64 indexed poolId, bytes16 indexed scId, uint32 indexed index, string name, string symbol, bytes32 salt)", "event AddShareClass(uint64 indexed poolId, bytes16 indexed scId, uint32 indexed index)", "event ApproveDeposits(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed depositAssetId, uint32 epoch, uint128 approvedPoolAmount, uint128 approvedAssetAmount, uint128 pendingAssetAmount)", "event ApproveRedeems(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed payoutAssetId, uint32 epoch, uint128 approvedShareAmount, uint128 pendingShareAmount)", "event ClaimDeposit(uint64 indexed poolId, bytes16 indexed scId, uint32 epoch, bytes32 investor, uint128 indexed depositAssetId, uint128 paymentAssetAmount, uint128 pendingAssetAmount, uint128 claimedShareAmount, uint64 issuedAt)", "event ClaimRedeem(uint64 indexed poolId, bytes16 indexed scId, uint32 epoch, bytes32 investor, uint128 indexed payoutAssetId, uint128 paymentShareAmount, uint128 pendingShareAmount, uint128 claimedAssetAmount, uint64 revokedAt)", "event Deny(address indexed user)", "event IssueShares(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed depositAssetId, uint32 epoch, uint128 navPoolPerShare, uint128 navAssetPerShare, uint128 issuedShareAmount)", "event Rely(address indexed user)", "event RemoteIssueShares(uint16 centrifugeId, uint64 indexed poolId, bytes16 indexed scId, uint128 issuedShareAmount)", "event RemoteRevokeShares(uint16 centrifugeId, uint64 indexed poolId, bytes16 indexed scId, uint128 revokedAssetAmount)", "event RevokeShares(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed payoutAssetId, uint32 epoch, uint128 navPoolPerShare, uint128 navAssetPerShare, uint128 revokedShareAmount, uint128 revokedAssetAmount, uint128 revokedPoolAmount)", "event UpdateDepositRequest(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed depositAssetId, uint32 epoch, bytes32 investor, uint128 pendingUserAssetAmount, uint128 pendingTotalAssetAmount, uint128 queuedUserAssetAmount, bool pendingCancellation)", "event UpdateMetadata(uint64 indexed poolId, bytes16 indexed scId, string name, string symbol)", "event UpdateRedeemRequest(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed payoutAssetId, uint32 epoch, bytes32 investor, uint128 pendingUserShareAmount, uint128 pendingTotalShareAmount, uint128 queuedUserShareAmount, bool pendingCancellation)", "event UpdateShareClass(uint64 indexed poolId, bytes16 indexed scId, uint128 navPoolPerShare)", "error AlreadyIssued()", "error AlreadyUsedSalt()", "error ApprovalRequired()", "error CancellationInitializationRequired()", "error CancellationQueued()", "error DecreaseMoreThanIssued()", "error EpochNotFound()", "error EpochNotInSequence(uint32 providedEpoch, uint32 nowEpoch)", "error InsufficientPending()", "error InvalidMetadataName()", "error InvalidMetadataSize()", "error InvalidMetadataSymbol()", "error InvalidSalt()", "error IssuanceRequired()", "error MulDiv_Overflow()", "error NoOrderFound()", "error NotAuthorized()", "error PoolMissing()", "error RevocationRequired()", "error RevokeMoreThanIssued()", "error ShareClassNotFound()", "error Uint128_Overflow()", "error Uint64_Overflow()", "error ZeroApprovalAmount()"];
|
|
2
2
|
export default _default;
|
|
3
3
|
//# sourceMappingURL=ShareClassManager.abi.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShareClassManager.abi.d.ts","sourceRoot":"","sources":["../../src/abi/ShareClassManager.abi.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"ShareClassManager.abi.d.ts","sourceRoot":"","sources":["../../src/abi/ShareClassManager.abi.ts"],"names":[],"mappings":";AAAA,wBAuFU"}
|