@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,59 +1,23 @@
|
|
|
1
1
|
export default [
|
|
2
|
-
'error AlreadyIssued()',
|
|
3
|
-
'error AlreadyUsedSalt()',
|
|
4
|
-
'error ApprovalRequired()',
|
|
5
|
-
'error CancellationQueued()',
|
|
6
|
-
'error DecreaseMoreThanIssued()',
|
|
7
|
-
'error EpochNotFound()',
|
|
8
|
-
'error EpochNotInSequence(uint32 providedEpoch, uint32 nowEpoch)',
|
|
9
|
-
'error InsufficientPending()',
|
|
10
|
-
'error InvalidMetadataName()',
|
|
11
|
-
'error InvalidMetadataSize()',
|
|
12
|
-
'error InvalidMetadataSymbol()',
|
|
13
|
-
'error InvalidSalt()',
|
|
14
|
-
'error IssuanceRequired()',
|
|
15
|
-
'error MulDiv_Overflow()',
|
|
16
|
-
'error NoOrderFound()',
|
|
17
|
-
'error NotAuthorized()',
|
|
18
|
-
'error PoolMissing()',
|
|
19
|
-
'error RevocationRequired()',
|
|
20
|
-
'error RevokeMoreThanIssued()',
|
|
21
|
-
'error ShareClassNotFound()',
|
|
22
|
-
'error Uint128_Overflow()',
|
|
23
|
-
'error Uint64_Overflow()',
|
|
24
|
-
'error ZeroApprovalAmount()',
|
|
25
|
-
'event AddShareClass(uint64 indexed poolId, bytes16 indexed scId, uint32 indexed index, string name, string symbol, bytes32 salt)',
|
|
26
|
-
'event AddShareClass(uint64 indexed poolId, bytes16 indexed scId, uint32 indexed index)',
|
|
27
|
-
'event ApproveDeposits(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed depositAssetId, uint32 epoch, uint128 approvedPoolAmount, uint128 approvedAssetAmount, uint128 pendingAssetAmount)',
|
|
28
|
-
'event ApproveRedeems(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed payoutAssetId, uint32 epoch, uint128 approvedShareAmount, uint128 pendingShareAmount)',
|
|
29
|
-
'event ClaimDeposit(uint64 indexed poolId, bytes16 indexed scId, uint32 epoch, bytes32 investor, uint128 indexed depositAssetId, uint128 paymentAssetAmount, uint128 pendingAssetAmount, uint128 claimedShareAmount, uint64 issuedAt)',
|
|
30
|
-
'event ClaimRedeem(uint64 indexed poolId, bytes16 indexed scId, uint32 epoch, bytes32 investor, uint128 indexed payoutAssetId, uint128 paymentShareAmount, uint128 pendingShareAmount, uint128 claimedAssetAmount, uint64 revokedAt)',
|
|
31
|
-
'event Deny(address indexed user)',
|
|
32
|
-
'event IssueShares(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed depositAssetId, uint32 epoch, uint128 navPoolPerShare, uint128 navAssetPerShare, uint128 issuedShareAmount)',
|
|
33
|
-
'event Rely(address indexed user)',
|
|
34
|
-
'event RemoteIssueShares(uint64 indexed poolId, bytes16 indexed scId, uint128 issuedShareAmount)',
|
|
35
|
-
'event RemoteRevokeShares(uint64 indexed poolId, bytes16 indexed scId, uint128 revokedAssetAmount)',
|
|
36
|
-
'event RevokeShares(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed payoutAssetId, uint32 epoch, uint128 navPoolPerShare, uint128 navAssetPerShare, uint128 revokedShareAmount, uint128 revokedAssetAmount, uint128 revokedPoolAmount)',
|
|
37
|
-
'event UpdateDepositRequest(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed depositAssetId, uint32 epoch, bytes32 investor, uint128 pendingUserAssetAmount, uint128 pendingTotalAssetAmount, uint128 queuedUserAssetAmount, bool pendingCancellation)',
|
|
38
|
-
'event UpdateMetadata(uint64 indexed poolId, bytes16 indexed scId, string name, string symbol)',
|
|
39
|
-
'event UpdateRedeemRequest(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed payoutAssetId, uint32 epoch, bytes32 investor, uint128 pendingUserShareAmount, uint128 pendingTotalShareAmount, uint128 queuedUserShareAmount, bool pendingCancellation)',
|
|
40
|
-
'event UpdateShareClass(uint64 indexed poolId, bytes16 indexed scId, uint128 navPoolPerShare)',
|
|
41
2
|
'function addShareClass(uint64 poolId, string name, string symbol, bytes32 salt) returns (bytes16 scId_)',
|
|
3
|
+
'function allowForceDepositCancel(bytes16 scId, uint128 depositAssetId, bytes32 investor) view returns (bool cancelled)',
|
|
4
|
+
'function allowForceRedeemCancel(bytes16 scId, uint128 payoutAssetId, bytes32 investor) view returns (bool cancelled)',
|
|
42
5
|
'function approveDeposits(uint64 poolId, bytes16 scId_, uint128 depositAssetId, uint32 nowDepositEpochId, uint128 approvedAssetAmount, uint128 pricePoolPerAsset) returns (uint128 pendingAssetAmount, uint128 approvedPoolAmount)',
|
|
43
6
|
'function approveRedeems(uint64 poolId, bytes16 scId_, uint128 payoutAssetId, uint32 nowRedeemEpochId, uint128 approvedShareAmount, uint128 pricePoolPerAsset) returns (uint128 pendingShareAmount)',
|
|
44
7
|
'function cancelDepositRequest(uint64 poolId, bytes16 scId_, bytes32 investor, uint128 depositAssetId) returns (uint128 cancelledAssetAmount)',
|
|
45
8
|
'function cancelRedeemRequest(uint64 poolId, bytes16 scId_, bytes32 investor, uint128 payoutAssetId) returns (uint128 cancelledShareAmount)',
|
|
46
9
|
'function claimDeposit(uint64 poolId, bytes16 scId_, bytes32 investor, uint128 depositAssetId) returns (uint128 payoutShareAmount, uint128 paymentAssetAmount, uint128 cancelledAssetAmount, bool canClaimAgain)',
|
|
47
10
|
'function claimRedeem(uint64 poolId, bytes16 scId_, bytes32 investor, uint128 payoutAssetId) returns (uint128 payoutAssetAmount, uint128 paymentShareAmount, uint128 cancelledShareAmount, bool canClaimAgain)',
|
|
48
|
-
'function decreaseShareClassIssuance(uint64 poolId, bytes16 scId_, uint128 amount)',
|
|
49
11
|
'function deny(address user)',
|
|
50
12
|
'function depositRequest(bytes16 scId, uint128 depositAssetId, bytes32 investor) view returns (uint128 pending, uint32 lastUpdate)',
|
|
51
13
|
'function epochId(bytes16 scId, uint128 assetId) view returns (uint32 deposit, uint32 redeem, uint32 issue, uint32 revoke)',
|
|
52
14
|
'function epochInvestAmounts(bytes16 scId, uint128 assetId, uint32 epochId_) view returns (uint128 pendingAssetAmount, uint128 approvedAssetAmount, uint128 approvedPoolAmount, uint128 pricePoolPerAsset, uint128 navPoolPerShare, uint64 issuedAt)',
|
|
53
15
|
'function epochRedeemAmounts(bytes16 scId, uint128 assetId, uint32 epochId_) view returns (uint128 pendingShareAmount, uint128 approvedShareAmount, uint128 payoutAssetAmount, uint128 pricePoolPerAsset, uint128 navPoolPerShare, uint64 revokedAt)',
|
|
54
16
|
'function exists(uint64 poolId, bytes16 scId_) view returns (bool)',
|
|
17
|
+
'function forceCancelDepositRequest(uint64 poolId, bytes16 scId_, bytes32 investor, uint128 depositAssetId) returns (uint128 cancelledAssetAmount)',
|
|
18
|
+
'function forceCancelRedeemRequest(uint64 poolId, bytes16 scId_, bytes32 investor, uint128 payoutAssetId) returns (uint128 cancelledShareAmount)',
|
|
55
19
|
'function hubRegistry() view returns (address)',
|
|
56
|
-
'function
|
|
20
|
+
'function issuance(bytes16 scId, uint16 centrifugeId) view returns (uint128)',
|
|
57
21
|
'function issueShares(uint64 poolId, bytes16 scId_, uint128 depositAssetId, uint32 nowIssueEpochId, uint128 navPoolPerShare) returns (uint128 issuedShareAmount, uint128 depositAssetAmount, uint128 depositPoolAmount)',
|
|
58
22
|
'function maxDepositClaims(bytes16 scId_, bytes32 investor, uint128 depositAssetId) view returns (uint32)',
|
|
59
23
|
'function maxRedeemClaims(bytes16 scId_, bytes32 investor, uint128 payoutAssetId) view returns (uint32)',
|
|
@@ -78,7 +42,48 @@ export default [
|
|
|
78
42
|
'function shareClassCount(uint64 poolId) view returns (uint32)',
|
|
79
43
|
'function shareClassIds(uint64 poolId, bytes16) view returns (bool)',
|
|
80
44
|
'function updateMetadata(uint64 poolId, bytes16 scId_, string name, string symbol)',
|
|
81
|
-
'function
|
|
45
|
+
'function updateSharePrice(uint64 poolId, bytes16 scId_, uint128 navPoolPerShare)',
|
|
46
|
+
'function updateShares(uint16 centrifugeId, uint64 poolId, bytes16 scId_, uint128 amount, bool isIssuance)',
|
|
82
47
|
'function wards(address) view returns (uint256)',
|
|
48
|
+
'event AddShareClass(uint64 indexed poolId, bytes16 indexed scId, uint32 indexed index, string name, string symbol, bytes32 salt)',
|
|
49
|
+
'event AddShareClass(uint64 indexed poolId, bytes16 indexed scId, uint32 indexed index)',
|
|
50
|
+
'event ApproveDeposits(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed depositAssetId, uint32 epoch, uint128 approvedPoolAmount, uint128 approvedAssetAmount, uint128 pendingAssetAmount)',
|
|
51
|
+
'event ApproveRedeems(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed payoutAssetId, uint32 epoch, uint128 approvedShareAmount, uint128 pendingShareAmount)',
|
|
52
|
+
'event ClaimDeposit(uint64 indexed poolId, bytes16 indexed scId, uint32 epoch, bytes32 investor, uint128 indexed depositAssetId, uint128 paymentAssetAmount, uint128 pendingAssetAmount, uint128 claimedShareAmount, uint64 issuedAt)',
|
|
53
|
+
'event ClaimRedeem(uint64 indexed poolId, bytes16 indexed scId, uint32 epoch, bytes32 investor, uint128 indexed payoutAssetId, uint128 paymentShareAmount, uint128 pendingShareAmount, uint128 claimedAssetAmount, uint64 revokedAt)',
|
|
54
|
+
'event Deny(address indexed user)',
|
|
55
|
+
'event IssueShares(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed depositAssetId, uint32 epoch, uint128 navPoolPerShare, uint128 navAssetPerShare, uint128 issuedShareAmount)',
|
|
56
|
+
'event Rely(address indexed user)',
|
|
57
|
+
'event RemoteIssueShares(uint16 centrifugeId, uint64 indexed poolId, bytes16 indexed scId, uint128 issuedShareAmount)',
|
|
58
|
+
'event RemoteRevokeShares(uint16 centrifugeId, uint64 indexed poolId, bytes16 indexed scId, uint128 revokedAssetAmount)',
|
|
59
|
+
'event RevokeShares(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed payoutAssetId, uint32 epoch, uint128 navPoolPerShare, uint128 navAssetPerShare, uint128 revokedShareAmount, uint128 revokedAssetAmount, uint128 revokedPoolAmount)',
|
|
60
|
+
'event UpdateDepositRequest(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed depositAssetId, uint32 epoch, bytes32 investor, uint128 pendingUserAssetAmount, uint128 pendingTotalAssetAmount, uint128 queuedUserAssetAmount, bool pendingCancellation)',
|
|
61
|
+
'event UpdateMetadata(uint64 indexed poolId, bytes16 indexed scId, string name, string symbol)',
|
|
62
|
+
'event UpdateRedeemRequest(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed payoutAssetId, uint32 epoch, bytes32 investor, uint128 pendingUserShareAmount, uint128 pendingTotalShareAmount, uint128 queuedUserShareAmount, bool pendingCancellation)',
|
|
63
|
+
'event UpdateShareClass(uint64 indexed poolId, bytes16 indexed scId, uint128 navPoolPerShare)',
|
|
64
|
+
'error AlreadyIssued()',
|
|
65
|
+
'error AlreadyUsedSalt()',
|
|
66
|
+
'error ApprovalRequired()',
|
|
67
|
+
'error CancellationInitializationRequired()',
|
|
68
|
+
'error CancellationQueued()',
|
|
69
|
+
'error DecreaseMoreThanIssued()',
|
|
70
|
+
'error EpochNotFound()',
|
|
71
|
+
'error EpochNotInSequence(uint32 providedEpoch, uint32 nowEpoch)',
|
|
72
|
+
'error InsufficientPending()',
|
|
73
|
+
'error InvalidMetadataName()',
|
|
74
|
+
'error InvalidMetadataSize()',
|
|
75
|
+
'error InvalidMetadataSymbol()',
|
|
76
|
+
'error InvalidSalt()',
|
|
77
|
+
'error IssuanceRequired()',
|
|
78
|
+
'error MulDiv_Overflow()',
|
|
79
|
+
'error NoOrderFound()',
|
|
80
|
+
'error NotAuthorized()',
|
|
81
|
+
'error PoolMissing()',
|
|
82
|
+
'error RevocationRequired()',
|
|
83
|
+
'error RevokeMoreThanIssued()',
|
|
84
|
+
'error ShareClassNotFound()',
|
|
85
|
+
'error Uint128_Overflow()',
|
|
86
|
+
'error Uint64_Overflow()',
|
|
87
|
+
'error ZeroApprovalAmount()',
|
|
83
88
|
];
|
|
84
89
|
//# sourceMappingURL=ShareClassManager.abi.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShareClassManager.abi.js","sourceRoot":"","sources":["../../src/abi/ShareClassManager.abi.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,
|
|
1
|
+
{"version":3,"file":"ShareClassManager.abi.js","sourceRoot":"","sources":["../../src/abi/ShareClassManager.abi.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,yGAAyG;IACzG,wHAAwH;IACxH,sHAAsH;IACtH,mOAAmO;IACnO,oMAAoM;IACpM,8IAA8I;IAC9I,4IAA4I;IAC5I,iNAAiN;IACjN,+MAA+M;IAC/M,6BAA6B;IAC7B,mIAAmI;IACnI,2HAA2H;IAC3H,qPAAqP;IACrP,qPAAqP;IACrP,mEAAmE;IACnE,mJAAmJ;IACnJ,iJAAiJ;IACjJ,+CAA+C;IAC/C,6EAA6E;IAC7E,wNAAwN;IACxN,0GAA0G;IAC1G,wGAAwG;IACxG,yFAAyF;IACzF,0FAA0F;IAC1F,uFAAuF;IACvF,qFAAqF;IACrF,sFAAsF;IACtF,sFAAsF;IACtF,8FAA8F;IAC9F,4FAA4F;IAC5F,6EAA6E;IAC7E,uFAAuF;IACvF,wIAAwI;IACxI,sIAAsI;IACtI,iIAAiI;IACjI,6BAA6B;IAC7B,iHAAiH;IACjH,+GAA+G;IAC/G,wNAAwN;IACxN,kDAAkD;IAClD,+DAA+D;IAC/D,oEAAoE;IACpE,mFAAmF;IACnF,kFAAkF;IAClF,2GAA2G;IAC3G,gDAAgD;IAChD,kIAAkI;IAClI,wFAAwF;IACxF,uMAAuM;IACvM,yKAAyK;IACzK,sOAAsO;IACtO,qOAAqO;IACrO,kCAAkC;IAClC,4LAA4L;IAC5L,kCAAkC;IAClC,sHAAsH;IACtH,wHAAwH;IACxH,oPAAoP;IACpP,mQAAmQ;IACnQ,+FAA+F;IAC/F,iQAAiQ;IACjQ,8FAA8F;IAC9F,uBAAuB;IACvB,yBAAyB;IACzB,0BAA0B;IAC1B,4CAA4C;IAC5C,4BAA4B;IAC5B,gCAAgC;IAChC,uBAAuB;IACvB,iEAAiE;IACjE,6BAA6B;IAC7B,6BAA6B;IAC7B,6BAA6B;IAC7B,+BAA+B;IAC/B,qBAAqB;IACrB,0BAA0B;IAC1B,yBAAyB;IACzB,sBAAsB;IACtB,uBAAuB;IACvB,qBAAqB;IACrB,4BAA4B;IAC5B,8BAA8B;IAC9B,4BAA4B;IAC5B,0BAA0B;IAC1B,yBAAyB;IACzB,4BAA4B;CACpB,CAAA"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: readonly ["function addPool(uint64 poolId)", "function addShareClass(uint64 poolId, bytes16 scId, string name, string symbol, uint8 decimals, bytes32 salt, address hook)", "function assetToId(address asset, uint256 tokenId) view returns (uint128 assetId)", "function deny(address user)", "function deployVault(uint64 poolId, bytes16 scId, uint128 assetId, address factory) returns (address)", "function executeTransferShares(uint64 poolId, bytes16 scId, bytes32 receiver, uint128 amount)", "function file(bytes32 what, address factory, bool status)", "function file(bytes32 what, address data)", "function gateway() view returns (address)", "function idToAsset(uint128 assetId) view returns (address asset, uint256 tokenId)", "function isLinked(address vault) view returns (bool)", "function isPoolActive(uint64 poolId) view returns (bool)", "function linkToken(uint64 poolId, bytes16 scId, address shareToken_)", "function linkVault(uint64 poolId, bytes16 scId, uint128 assetId, address vault)", "function markersPricePoolPerAsset(uint64 poolId, bytes16 scId, uint128 assetId) view returns (uint64 computedAt, uint64 maxAge, uint64 validUntil)", "function markersPricePoolPerShare(uint64 poolId, bytes16 scId) view returns (uint64 computedAt, uint64 maxAge, uint64 validUntil)", "function poolEscrowFactory() view returns (address)", "function pools(uint64 poolId) view returns (uint256 createdAt)", "function pricePoolPerAsset(uint64 poolId, bytes16 scId, uint128 assetId, bool checkValidity) view returns (uint128 price)", "function pricePoolPerShare(uint64 poolId, bytes16 scId, bool checkValidity) view returns (uint128 price)", "function pricesPoolPer(uint64 poolId, bytes16 scId, uint128 assetId, bool checkValidity) view returns (uint128 pricePoolPerAsset_, uint128 pricePoolPerShare_)", "function recoverTokens(address token, address receiver, uint256 amount)", "function recoverTokens(address token, uint256 tokenId, address receiver, uint256 amount)", "function registerAsset(uint16 centrifugeId, address asset, uint256 tokenId) payable returns (uint128 assetId)", "function registerVault(uint64 poolId, bytes16 scId, uint128 assetId, address asset, uint256 tokenId, address factory, address vault)", "function rely(address user)", "function sender() view returns (address)", "function setMaxAssetPriceAge(uint64 poolId, bytes16 scId, uint128 assetId, uint64 maxPriceAge)", "function setMaxSharePriceAge(uint64 poolId, bytes16 scId, uint64 maxPriceAge)", "function shareToken(uint64 poolId, bytes16 scId) view returns (address)", "function tokenFactory() view returns (address)", "function transferShares(uint16 centrifugeId, uint64 poolId, bytes16 scId, bytes32 receiver, uint128 amount) payable", "function unlinkVault(uint64 poolId, bytes16 scId, uint128 assetId, address vault)", "function updateContract(uint64 poolId, bytes16 scId, address target, bytes update)", "function updatePricePoolPerAsset(uint64 poolId, bytes16 scId, uint128 assetId, uint128 poolPerAsset_, uint64 computedAt)", "function updatePricePoolPerShare(uint64 poolId, bytes16 scId, uint128 price, uint64 computedAt)", "function updateRestriction(uint64 poolId, bytes16 scId, bytes update)", "function updateShareHook(uint64 poolId, bytes16 scId, address hook)", "function updateShareMetadata(uint64 poolId, bytes16 scId, string name, string symbol)", "function updateVault(uint64 poolId, bytes16 scId, uint128 assetId, address vaultOrFactory, uint8 kind)", "function vaultDetails(address vault) view returns ((uint128 assetId, address asset, uint256 tokenId, bool isLinked) details)", "function vaultFactory(address factory) view returns (bool)", "function wards(address) view returns (uint256)", "event AddPool(uint64 indexed poolId)", "event AddShareClass(uint64 indexed poolId, bytes16 indexed scId, address token)", "event Deny(address indexed user)", "event DeployVault(uint64 indexed poolId, bytes16 indexed scId, address indexed asset, uint256 tokenId, address factory, address vault, uint8 kind)", "event ExecuteTransferShares(uint64 indexed poolId, bytes16 indexed scId, address indexed receiver, uint128 amount)", "event File(bytes32 indexed what, address data)", "event File(bytes32 indexed what, address factory, bool status)", "event LinkVault(uint64 indexed poolId, bytes16 indexed scId, address indexed asset, uint256 tokenId, address vault)", "event RegisterAsset(uint128 indexed assetId, address indexed asset, uint256 indexed tokenId, string name, string symbol, uint8 decimals, bool isInitialization)", "event Rely(address indexed user)", "event TransferShares(uint16 centrifugeId, uint64 indexed poolId, bytes16 indexed scId, address indexed sender, bytes32 destinationAddress, uint128 amount)", "event UnlinkVault(uint64 indexed poolId, bytes16 indexed scId, address indexed asset, uint256 tokenId, address vault)", "event UpdateAssetPrice(uint64 indexed poolId, bytes16 indexed scId, address indexed asset, uint256 tokenId, uint256 price, uint64 computedAt)", "event UpdateContract(uint64 indexed poolId, bytes16 indexed scId, address target, bytes payload)", "event UpdateMaxAssetPriceAge(uint64 indexed poolId, bytes16 indexed scId, address indexed asset, uint256 tokenId, uint64 maxPriceAge)", "event UpdateMaxSharePriceAge(uint64 indexed poolId, bytes16 indexed scId, uint64 maxPriceAge)", "event UpdateSharePrice(uint64 indexed poolId, bytes16 indexed scId, uint256 price, uint64 computedAt)", "error AssetMissingDecimals()", "error CannotSetOlderPrice()", "error CrossChainTransferNotAllowed()", "error FileUnrecognizedParam()", "error InvalidFactory()", "error InvalidHook()", "error InvalidPool()", "error InvalidPrice()", "error LocalTransferNotAllowed()", "error MalformedVaultUpdateMessage()", "error NoCode()", "error NotAuthorized()", "error OldHook()", "error OldMetadata()", "error PoolAlreadyAdded()", "error SafeTransferEthFailed()", "error ShareClassAlreadyRegistered()", "error ShareTokenDoesNotExist()", "error ShareTokenTransferFailed()", "error TooFewDecimals()", "error TooManyDecimals()", "error TransferFromFailed()", "error UnauthorizedSender()", "error UnknownAsset()", "error UnknownToken()", "error UnknownVault()", "error WrappedError(address target, bytes4 selector, bytes reason, bytes details)"];
|
|
2
|
+
export default _default;
|
|
3
|
+
//# sourceMappingURL=Spoke.abi.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Spoke.abi.d.ts","sourceRoot":"","sources":["../../src/abi/Spoke.abi.ts"],"names":[],"mappings":";AAAA,wBAwFU"}
|
|
@@ -1,89 +1,90 @@
|
|
|
1
1
|
export default [
|
|
2
|
-
'error AssetMissingDecimals()',
|
|
3
|
-
'error CannotSetOlderPrice()',
|
|
4
|
-
'error CrossChainTransferNotAllowed()',
|
|
5
|
-
'error FileUnrecognizedParam()',
|
|
6
|
-
'error InvalidFactory()',
|
|
7
|
-
'error InvalidHook()',
|
|
8
|
-
'error InvalidPool()',
|
|
9
|
-
'error InvalidPrice()',
|
|
10
|
-
'error MalformedVaultUpdateMessage()',
|
|
11
|
-
'error MulDiv_Overflow()',
|
|
12
|
-
'error NoCode()',
|
|
13
|
-
'error NotAuthorized()',
|
|
14
|
-
'error OldHook()',
|
|
15
|
-
'error OldMetadata()',
|
|
16
|
-
'error PoolAlreadyAdded()',
|
|
17
|
-
'error SafeTransferEthFailed()',
|
|
18
|
-
'error SafeTransferFailed()',
|
|
19
|
-
'error ShareClassAlreadyRegistered()',
|
|
20
|
-
'error ShareTokenDoesNotExist()',
|
|
21
|
-
'error ShareTokenTransferFailed()',
|
|
22
|
-
'error SliceOutOfBounds()',
|
|
23
|
-
'error TooFewDecimals()',
|
|
24
|
-
'error TooManyDecimals()',
|
|
25
|
-
'error TransferFromFailed()',
|
|
26
|
-
'error Uint128_Overflow()',
|
|
27
|
-
'error UnauthorizedSender()',
|
|
28
|
-
'error UnknownAsset()',
|
|
29
|
-
'error UnknownMessageType()',
|
|
30
|
-
'error UnknownToken()',
|
|
31
|
-
'error UnknownUpdateContractType()',
|
|
32
|
-
'error UnknownVault()',
|
|
33
|
-
'event AddPool(uint64 indexed poolId)',
|
|
34
|
-
'event AddShareClass(uint64 indexed poolId, bytes16 indexed scId, address token)',
|
|
35
|
-
'event Deny(address indexed user)',
|
|
36
|
-
'event DeployVault(uint64 indexed poolId, bytes16 indexed scId, address indexed asset, uint256 tokenId, address factory, address vault)',
|
|
37
|
-
'event File(bytes32 indexed what, address data)',
|
|
38
|
-
'event File(bytes32 indexed what, address factory, bool status)',
|
|
39
|
-
'event LinkVault(uint64 indexed poolId, bytes16 indexed scId, address indexed asset, uint256 tokenId, address vault)',
|
|
40
|
-
'event PriceUpdate(uint64 indexed poolId, bytes16 indexed scId, address indexed asset, uint256 tokenId, uint256 price, uint64 computedAt)',
|
|
41
|
-
'event PriceUpdate(uint64 indexed poolId, bytes16 indexed scId, uint256 price, uint64 computedAt)',
|
|
42
|
-
'event RegisterAsset(uint128 indexed assetId, address indexed asset, uint256 indexed tokenId, string name, string symbol, uint8 decimals)',
|
|
43
|
-
'event Rely(address indexed user)',
|
|
44
|
-
'event TransferShares(uint16 centrifugeId, uint64 indexed poolId, bytes16 indexed scId, address indexed sender, bytes32 destinationAddress, uint128 amount)',
|
|
45
|
-
'event UnlinkVault(uint64 indexed poolId, bytes16 indexed scId, address indexed asset, uint256 tokenId, address vault)',
|
|
46
|
-
'event UpdateContract(uint64 indexed poolId, bytes16 indexed scId, address target, bytes payload)',
|
|
47
|
-
'event UpdateMaxAssetPriceAge(uint64 indexed poolId, bytes16 indexed scId, address indexed asset, uint256 tokenId, uint64 maxPriceAge)',
|
|
48
|
-
'event UpdateMaxSharePriceAge(uint64 indexed poolId, bytes16 indexed scId, uint64 maxPriceAge)',
|
|
49
2
|
'function addPool(uint64 poolId)',
|
|
50
3
|
'function addShareClass(uint64 poolId, bytes16 scId, string name, string symbol, uint8 decimals, bytes32 salt, address hook)',
|
|
51
4
|
'function assetToId(address asset, uint256 tokenId) view returns (uint128 assetId)',
|
|
52
|
-
'function balanceSheet() view returns (address)',
|
|
53
5
|
'function deny(address user)',
|
|
54
6
|
'function deployVault(uint64 poolId, bytes16 scId, uint128 assetId, address factory) returns (address)',
|
|
7
|
+
'function executeTransferShares(uint64 poolId, bytes16 scId, bytes32 receiver, uint128 amount)',
|
|
55
8
|
'function file(bytes32 what, address factory, bool status)',
|
|
56
9
|
'function file(bytes32 what, address data)',
|
|
57
10
|
'function gateway() view returns (address)',
|
|
58
|
-
'function handleTransferShares(uint64 poolId, bytes16 scId, address destinationAddress, uint128 amount)',
|
|
59
11
|
'function idToAsset(uint128 assetId) view returns (address asset, uint256 tokenId)',
|
|
60
|
-
'function isLinked(
|
|
12
|
+
'function isLinked(address vault) view returns (bool)',
|
|
61
13
|
'function isPoolActive(uint64 poolId) view returns (bool)',
|
|
14
|
+
'function linkToken(uint64 poolId, bytes16 scId, address shareToken_)',
|
|
62
15
|
'function linkVault(uint64 poolId, bytes16 scId, uint128 assetId, address vault)',
|
|
16
|
+
'function markersPricePoolPerAsset(uint64 poolId, bytes16 scId, uint128 assetId) view returns (uint64 computedAt, uint64 maxAge, uint64 validUntil)',
|
|
17
|
+
'function markersPricePoolPerShare(uint64 poolId, bytes16 scId) view returns (uint64 computedAt, uint64 maxAge, uint64 validUntil)',
|
|
63
18
|
'function poolEscrowFactory() view returns (address)',
|
|
64
19
|
'function pools(uint64 poolId) view returns (uint256 createdAt)',
|
|
65
|
-
'function
|
|
66
|
-
'function
|
|
67
|
-
'function pricePoolPerShare(uint64 poolId, bytes16 scId, bool checkValidity) view returns (uint128 price, uint64 computedAt)',
|
|
20
|
+
'function pricePoolPerAsset(uint64 poolId, bytes16 scId, uint128 assetId, bool checkValidity) view returns (uint128 price)',
|
|
21
|
+
'function pricePoolPerShare(uint64 poolId, bytes16 scId, bool checkValidity) view returns (uint128 price)',
|
|
68
22
|
'function pricesPoolPer(uint64 poolId, bytes16 scId, uint128 assetId, bool checkValidity) view returns (uint128 pricePoolPerAsset_, uint128 pricePoolPerShare_)',
|
|
69
23
|
'function recoverTokens(address token, address receiver, uint256 amount)',
|
|
70
24
|
'function recoverTokens(address token, uint256 tokenId, address receiver, uint256 amount)',
|
|
71
25
|
'function registerAsset(uint16 centrifugeId, address asset, uint256 tokenId) payable returns (uint128 assetId)',
|
|
26
|
+
'function registerVault(uint64 poolId, bytes16 scId, uint128 assetId, address asset, uint256 tokenId, address factory, address vault)',
|
|
72
27
|
'function rely(address user)',
|
|
73
28
|
'function sender() view returns (address)',
|
|
29
|
+
'function setMaxAssetPriceAge(uint64 poolId, bytes16 scId, uint128 assetId, uint64 maxPriceAge)',
|
|
30
|
+
'function setMaxSharePriceAge(uint64 poolId, bytes16 scId, uint64 maxPriceAge)',
|
|
74
31
|
'function shareToken(uint64 poolId, bytes16 scId) view returns (address)',
|
|
75
32
|
'function tokenFactory() view returns (address)',
|
|
76
33
|
'function transferShares(uint16 centrifugeId, uint64 poolId, bytes16 scId, bytes32 receiver, uint128 amount) payable',
|
|
77
34
|
'function unlinkVault(uint64 poolId, bytes16 scId, uint128 assetId, address vault)',
|
|
78
|
-
'function
|
|
79
|
-
'function updateContract(uint64 poolId, bytes16 scId, address target, bytes update_)',
|
|
35
|
+
'function updateContract(uint64 poolId, bytes16 scId, address target, bytes update)',
|
|
80
36
|
'function updatePricePoolPerAsset(uint64 poolId, bytes16 scId, uint128 assetId, uint128 poolPerAsset_, uint64 computedAt)',
|
|
81
37
|
'function updatePricePoolPerShare(uint64 poolId, bytes16 scId, uint128 price, uint64 computedAt)',
|
|
82
|
-
'function updateRestriction(uint64 poolId, bytes16 scId, bytes
|
|
38
|
+
'function updateRestriction(uint64 poolId, bytes16 scId, bytes update)',
|
|
83
39
|
'function updateShareHook(uint64 poolId, bytes16 scId, address hook)',
|
|
84
40
|
'function updateShareMetadata(uint64 poolId, bytes16 scId, string name, string symbol)',
|
|
85
|
-
'function
|
|
41
|
+
'function updateVault(uint64 poolId, bytes16 scId, uint128 assetId, address vaultOrFactory, uint8 kind)',
|
|
42
|
+
'function vaultDetails(address vault) view returns ((uint128 assetId, address asset, uint256 tokenId, bool isLinked) details)',
|
|
86
43
|
'function vaultFactory(address factory) view returns (bool)',
|
|
87
44
|
'function wards(address) view returns (uint256)',
|
|
45
|
+
'event AddPool(uint64 indexed poolId)',
|
|
46
|
+
'event AddShareClass(uint64 indexed poolId, bytes16 indexed scId, address token)',
|
|
47
|
+
'event Deny(address indexed user)',
|
|
48
|
+
'event DeployVault(uint64 indexed poolId, bytes16 indexed scId, address indexed asset, uint256 tokenId, address factory, address vault, uint8 kind)',
|
|
49
|
+
'event ExecuteTransferShares(uint64 indexed poolId, bytes16 indexed scId, address indexed receiver, uint128 amount)',
|
|
50
|
+
'event File(bytes32 indexed what, address data)',
|
|
51
|
+
'event File(bytes32 indexed what, address factory, bool status)',
|
|
52
|
+
'event LinkVault(uint64 indexed poolId, bytes16 indexed scId, address indexed asset, uint256 tokenId, address vault)',
|
|
53
|
+
'event RegisterAsset(uint128 indexed assetId, address indexed asset, uint256 indexed tokenId, string name, string symbol, uint8 decimals, bool isInitialization)',
|
|
54
|
+
'event Rely(address indexed user)',
|
|
55
|
+
'event TransferShares(uint16 centrifugeId, uint64 indexed poolId, bytes16 indexed scId, address indexed sender, bytes32 destinationAddress, uint128 amount)',
|
|
56
|
+
'event UnlinkVault(uint64 indexed poolId, bytes16 indexed scId, address indexed asset, uint256 tokenId, address vault)',
|
|
57
|
+
'event UpdateAssetPrice(uint64 indexed poolId, bytes16 indexed scId, address indexed asset, uint256 tokenId, uint256 price, uint64 computedAt)',
|
|
58
|
+
'event UpdateContract(uint64 indexed poolId, bytes16 indexed scId, address target, bytes payload)',
|
|
59
|
+
'event UpdateMaxAssetPriceAge(uint64 indexed poolId, bytes16 indexed scId, address indexed asset, uint256 tokenId, uint64 maxPriceAge)',
|
|
60
|
+
'event UpdateMaxSharePriceAge(uint64 indexed poolId, bytes16 indexed scId, uint64 maxPriceAge)',
|
|
61
|
+
'event UpdateSharePrice(uint64 indexed poolId, bytes16 indexed scId, uint256 price, uint64 computedAt)',
|
|
62
|
+
'error AssetMissingDecimals()',
|
|
63
|
+
'error CannotSetOlderPrice()',
|
|
64
|
+
'error CrossChainTransferNotAllowed()',
|
|
65
|
+
'error FileUnrecognizedParam()',
|
|
66
|
+
'error InvalidFactory()',
|
|
67
|
+
'error InvalidHook()',
|
|
68
|
+
'error InvalidPool()',
|
|
69
|
+
'error InvalidPrice()',
|
|
70
|
+
'error LocalTransferNotAllowed()',
|
|
71
|
+
'error MalformedVaultUpdateMessage()',
|
|
72
|
+
'error NoCode()',
|
|
73
|
+
'error NotAuthorized()',
|
|
74
|
+
'error OldHook()',
|
|
75
|
+
'error OldMetadata()',
|
|
76
|
+
'error PoolAlreadyAdded()',
|
|
77
|
+
'error SafeTransferEthFailed()',
|
|
78
|
+
'error ShareClassAlreadyRegistered()',
|
|
79
|
+
'error ShareTokenDoesNotExist()',
|
|
80
|
+
'error ShareTokenTransferFailed()',
|
|
81
|
+
'error TooFewDecimals()',
|
|
82
|
+
'error TooManyDecimals()',
|
|
83
|
+
'error TransferFromFailed()',
|
|
84
|
+
'error UnauthorizedSender()',
|
|
85
|
+
'error UnknownAsset()',
|
|
86
|
+
'error UnknownToken()',
|
|
87
|
+
'error UnknownVault()',
|
|
88
|
+
'error WrappedError(address target, bytes4 selector, bytes reason, bytes details)',
|
|
88
89
|
];
|
|
89
|
-
//# sourceMappingURL=
|
|
90
|
+
//# sourceMappingURL=Spoke.abi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Spoke.abi.js","sourceRoot":"","sources":["../../src/abi/Spoke.abi.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,iCAAiC;IACjC,6HAA6H;IAC7H,mFAAmF;IACnF,6BAA6B;IAC7B,uGAAuG;IACvG,+FAA+F;IAC/F,2DAA2D;IAC3D,2CAA2C;IAC3C,2CAA2C;IAC3C,mFAAmF;IACnF,sDAAsD;IACtD,0DAA0D;IAC1D,sEAAsE;IACtE,iFAAiF;IACjF,oJAAoJ;IACpJ,mIAAmI;IACnI,qDAAqD;IACrD,gEAAgE;IAChE,2HAA2H;IAC3H,0GAA0G;IAC1G,gKAAgK;IAChK,yEAAyE;IACzE,0FAA0F;IAC1F,+GAA+G;IAC/G,sIAAsI;IACtI,6BAA6B;IAC7B,0CAA0C;IAC1C,gGAAgG;IAChG,+EAA+E;IAC/E,yEAAyE;IACzE,gDAAgD;IAChD,qHAAqH;IACrH,mFAAmF;IACnF,oFAAoF;IACpF,0HAA0H;IAC1H,iGAAiG;IACjG,uEAAuE;IACvE,qEAAqE;IACrE,uFAAuF;IACvF,wGAAwG;IACxG,8HAA8H;IAC9H,4DAA4D;IAC5D,gDAAgD;IAChD,sCAAsC;IACtC,iFAAiF;IACjF,kCAAkC;IAClC,oJAAoJ;IACpJ,oHAAoH;IACpH,gDAAgD;IAChD,gEAAgE;IAChE,qHAAqH;IACrH,iKAAiK;IACjK,kCAAkC;IAClC,4JAA4J;IAC5J,uHAAuH;IACvH,+IAA+I;IAC/I,kGAAkG;IAClG,uIAAuI;IACvI,+FAA+F;IAC/F,uGAAuG;IACvG,8BAA8B;IAC9B,6BAA6B;IAC7B,sCAAsC;IACtC,+BAA+B;IAC/B,wBAAwB;IACxB,qBAAqB;IACrB,qBAAqB;IACrB,sBAAsB;IACtB,iCAAiC;IACjC,qCAAqC;IACrC,gBAAgB;IAChB,uBAAuB;IACvB,iBAAiB;IACjB,qBAAqB;IACrB,0BAA0B;IAC1B,+BAA+B;IAC/B,qCAAqC;IACrC,gCAAgC;IAChC,kCAAkC;IAClC,wBAAwB;IACxB,yBAAyB;IACzB,4BAA4B;IAC5B,4BAA4B;IAC5B,sBAAsB;IACtB,sBAAsB;IACtB,sBAAsB;IACtB,kFAAkF;CAC1E,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: readonly ["
|
|
1
|
+
declare const _default: readonly ["function addVault(uint64 poolId, bytes16 scId, uint128 assetId, address vault_, address asset_, uint256 tokenId)", "function balanceSheet() view returns (address)", "function convertToAssets(address vault_, uint256 shares) view returns (uint256 assets)", "function convertToShares(address vault_, uint256 assets) view returns (uint256 shares)", "function deny(address user)", "function deposit(address vault_, uint256 assets, address receiver, address owner) returns (uint256 shares)", "function file(bytes32 what, address data)", "function globalEscrow() view returns (address)", "function maxDeposit(address vault_, address) view returns (uint256)", "function maxMint(address vault_, address) view returns (uint256)", "function maxReserve(uint64, bytes16 scId, address asset, uint256 tokenId) view returns (uint128)", "function mint(address vault_, uint256 shares, address receiver, address owner) returns (uint256 assets)", "function poolEscrow(uint64 poolId) view returns (address)", "function previewDeposit(address vault_, address, uint256 assets) view returns (uint256 shares)", "function previewMint(address vault_, address, uint256 shares) view returns (uint256 assets)", "function priceLastUpdated(address vault_) view returns (uint64 lastUpdated)", "function pricePoolPerShare(uint64 poolId, bytes16 scId) view returns (uint128 price)", "function prices(uint64 poolId, bytes16 scId, uint128 assetId) view returns ((uint128 assetPerShare, uint128 poolPerAsset, uint128 poolPerShare) priceData)", "function recoverTokens(address token, address receiver, uint256 amount)", "function recoverTokens(address token, uint256 tokenId, address receiver, uint256 amount)", "function rely(address user)", "function removeVault(uint64 poolId, bytes16 scId, uint128 assetId, address vault_, address asset_, uint256 tokenId)", "function root() view returns (address)", "function setMaxReserve(uint64 poolId, bytes16 scId, address asset, uint256 tokenId, uint128 maxReserve_)", "function setValuation(uint64 poolId, bytes16 scId, address valuation_)", "function spoke() view returns (address)", "function update(uint64 poolId, bytes16 scId, bytes payload)", "function valuation(uint64, bytes16 scId) view returns (address)", "function vault(uint64 poolId, bytes16 scId, uint128 assetId) view returns (address vault)", "function vaultByAssetId(uint64 poolId, bytes16 scId, uint128 assetId) view returns (address)", "function wards(address) view returns (uint256)", "event AddVault(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed assetId, address vault)", "event Deny(address indexed user)", "event File(bytes32 indexed what, address data)", "event Rely(address indexed user)", "event RemoveVault(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed assetId, address vault)", "event SetMaxReserve(uint64 indexed poolId, bytes16 indexed scId, address asset, uint256 tokenId, uint128 maxReserve)", "event SetValuation(uint64 indexed poolId, bytes16 indexed scId, address valuation)", "error AssetMismatch()", "error AssetNotAllowed()", "error ExceedsMaxDeposit()", "error ExceedsMaxMint()", "error FileUnrecognizedParam()", "error MulDiv_Overflow()", "error NoCode()", "error NotAuthorized()", "error SafeTransferEthFailed()", "error SecondaryManagerDoesNotExist()", "error SenderNotVault()", "error ShareTokenDoesNotExist()", "error SliceOutOfBounds()", "error Uint128_Overflow()", "error Uint64_Overflow()", "error UnknownMessageType()", "error UnknownUpdateContractType()", "error VaultAlreadyExists()", "error VaultDoesNotExist()", "error WrappedError(address target, bytes4 selector, bytes reason, bytes details)"];
|
|
2
2
|
export default _default;
|
|
3
3
|
//# sourceMappingURL=SyncRequestManager.abi.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SyncRequestManager.abi.d.ts","sourceRoot":"","sources":["../../src/abi/SyncRequestManager.abi.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"SyncRequestManager.abi.d.ts","sourceRoot":"","sources":["../../src/abi/SyncRequestManager.abi.ts"],"names":[],"mappings":";AAAA,wBA2DU"}
|
|
@@ -1,28 +1,5 @@
|
|
|
1
1
|
export default [
|
|
2
|
-
'
|
|
3
|
-
'error AssetNotAllowed()',
|
|
4
|
-
'error ExceedsMaxDeposit()',
|
|
5
|
-
'error ExceedsMaxMint()',
|
|
6
|
-
'error FileUnrecognizedParam()',
|
|
7
|
-
'error MulDiv_Overflow()',
|
|
8
|
-
'error NoCode()',
|
|
9
|
-
'error NotAuthorized()',
|
|
10
|
-
'error SafeTransferEthFailed()',
|
|
11
|
-
'error SafeTransferFailed()',
|
|
12
|
-
'error SenderNotVault()',
|
|
13
|
-
'error ShareTokenDoesNotExist()',
|
|
14
|
-
'error SliceOutOfBounds()',
|
|
15
|
-
'error Uint128_Overflow()',
|
|
16
|
-
'error UnknownMessageType()',
|
|
17
|
-
'error UnknownUpdateContractType()',
|
|
18
|
-
'error VaultAlreadyExists()',
|
|
19
|
-
'error VaultDoesNotExist()',
|
|
20
|
-
'event Deny(address indexed user)',
|
|
21
|
-
'event File(bytes32 indexed what, address data)',
|
|
22
|
-
'event Rely(address indexed user)',
|
|
23
|
-
'event SetMaxReserve(uint64 indexed poolId, bytes16 indexed scId, address asset, uint256 tokenId, uint128 maxReserve)',
|
|
24
|
-
'event SetValuation(uint64 indexed poolId, bytes16 indexed scId, address valuation)',
|
|
25
|
-
'function addVault(uint64 poolId, bytes16 scId, address vault_, address asset_, uint128 assetId)',
|
|
2
|
+
'function addVault(uint64 poolId, bytes16 scId, uint128 assetId, address vault_, address asset_, uint256 tokenId)',
|
|
26
3
|
'function balanceSheet() view returns (address)',
|
|
27
4
|
'function convertToAssets(address vault_, uint256 shares) view returns (uint256 assets)',
|
|
28
5
|
'function convertToShares(address vault_, uint256 assets) view returns (uint256 shares)',
|
|
@@ -35,8 +12,6 @@ export default [
|
|
|
35
12
|
'function maxReserve(uint64, bytes16 scId, address asset, uint256 tokenId) view returns (uint128)',
|
|
36
13
|
'function mint(address vault_, uint256 shares, address receiver, address owner) returns (uint256 assets)',
|
|
37
14
|
'function poolEscrow(uint64 poolId) view returns (address)',
|
|
38
|
-
'function poolEscrowProvider() view returns (address)',
|
|
39
|
-
'function poolManager() view returns (address)',
|
|
40
15
|
'function previewDeposit(address vault_, address, uint256 assets) view returns (uint256 shares)',
|
|
41
16
|
'function previewMint(address vault_, address, uint256 shares) view returns (uint256 assets)',
|
|
42
17
|
'function priceLastUpdated(address vault_) view returns (uint64 lastUpdated)',
|
|
@@ -45,15 +20,42 @@ export default [
|
|
|
45
20
|
'function recoverTokens(address token, address receiver, uint256 amount)',
|
|
46
21
|
'function recoverTokens(address token, uint256 tokenId, address receiver, uint256 amount)',
|
|
47
22
|
'function rely(address user)',
|
|
48
|
-
'function removeVault(uint64 poolId, bytes16 scId, address vault_, address asset_,
|
|
23
|
+
'function removeVault(uint64 poolId, bytes16 scId, uint128 assetId, address vault_, address asset_, uint256 tokenId)',
|
|
49
24
|
'function root() view returns (address)',
|
|
50
25
|
'function setMaxReserve(uint64 poolId, bytes16 scId, address asset, uint256 tokenId, uint128 maxReserve_)',
|
|
51
26
|
'function setValuation(uint64 poolId, bytes16 scId, address valuation_)',
|
|
27
|
+
'function spoke() view returns (address)',
|
|
52
28
|
'function update(uint64 poolId, bytes16 scId, bytes payload)',
|
|
53
29
|
'function valuation(uint64, bytes16 scId) view returns (address)',
|
|
54
|
-
'function vault(uint64, bytes16 scId, uint128 assetId) view returns (address)',
|
|
30
|
+
'function vault(uint64 poolId, bytes16 scId, uint128 assetId) view returns (address vault)',
|
|
55
31
|
'function vaultByAssetId(uint64 poolId, bytes16 scId, uint128 assetId) view returns (address)',
|
|
56
|
-
'function vaultKind(address vault_) view returns (uint8, address)',
|
|
57
32
|
'function wards(address) view returns (uint256)',
|
|
33
|
+
'event AddVault(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed assetId, address vault)',
|
|
34
|
+
'event Deny(address indexed user)',
|
|
35
|
+
'event File(bytes32 indexed what, address data)',
|
|
36
|
+
'event Rely(address indexed user)',
|
|
37
|
+
'event RemoveVault(uint64 indexed poolId, bytes16 indexed scId, uint128 indexed assetId, address vault)',
|
|
38
|
+
'event SetMaxReserve(uint64 indexed poolId, bytes16 indexed scId, address asset, uint256 tokenId, uint128 maxReserve)',
|
|
39
|
+
'event SetValuation(uint64 indexed poolId, bytes16 indexed scId, address valuation)',
|
|
40
|
+
'error AssetMismatch()',
|
|
41
|
+
'error AssetNotAllowed()',
|
|
42
|
+
'error ExceedsMaxDeposit()',
|
|
43
|
+
'error ExceedsMaxMint()',
|
|
44
|
+
'error FileUnrecognizedParam()',
|
|
45
|
+
'error MulDiv_Overflow()',
|
|
46
|
+
'error NoCode()',
|
|
47
|
+
'error NotAuthorized()',
|
|
48
|
+
'error SafeTransferEthFailed()',
|
|
49
|
+
'error SecondaryManagerDoesNotExist()',
|
|
50
|
+
'error SenderNotVault()',
|
|
51
|
+
'error ShareTokenDoesNotExist()',
|
|
52
|
+
'error SliceOutOfBounds()',
|
|
53
|
+
'error Uint128_Overflow()',
|
|
54
|
+
'error Uint64_Overflow()',
|
|
55
|
+
'error UnknownMessageType()',
|
|
56
|
+
'error UnknownUpdateContractType()',
|
|
57
|
+
'error VaultAlreadyExists()',
|
|
58
|
+
'error VaultDoesNotExist()',
|
|
59
|
+
'error WrappedError(address target, bytes4 selector, bytes reason, bytes details)',
|
|
58
60
|
];
|
|
59
61
|
//# sourceMappingURL=SyncRequestManager.abi.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SyncRequestManager.abi.js","sourceRoot":"","sources":["../../src/abi/SyncRequestManager.abi.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,
|
|
1
|
+
{"version":3,"file":"SyncRequestManager.abi.js","sourceRoot":"","sources":["../../src/abi/SyncRequestManager.abi.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,kHAAkH;IAClH,gDAAgD;IAChD,wFAAwF;IACxF,wFAAwF;IACxF,6BAA6B;IAC7B,4GAA4G;IAC5G,2CAA2C;IAC3C,gDAAgD;IAChD,qEAAqE;IACrE,kEAAkE;IAClE,kGAAkG;IAClG,yGAAyG;IACzG,2DAA2D;IAC3D,gGAAgG;IAChG,6FAA6F;IAC7F,6EAA6E;IAC7E,sFAAsF;IACtF,4JAA4J;IAC5J,yEAAyE;IACzE,0FAA0F;IAC1F,6BAA6B;IAC7B,qHAAqH;IACrH,wCAAwC;IACxC,0GAA0G;IAC1G,wEAAwE;IACxE,yCAAyC;IACzC,6DAA6D;IAC7D,iEAAiE;IACjE,2FAA2F;IAC3F,8FAA8F;IAC9F,gDAAgD;IAChD,qGAAqG;IACrG,kCAAkC;IAClC,gDAAgD;IAChD,kCAAkC;IAClC,wGAAwG;IACxG,sHAAsH;IACtH,oFAAoF;IACpF,uBAAuB;IACvB,yBAAyB;IACzB,2BAA2B;IAC3B,wBAAwB;IACxB,+BAA+B;IAC/B,yBAAyB;IACzB,gBAAgB;IAChB,uBAAuB;IACvB,+BAA+B;IAC/B,sCAAsC;IACtC,wBAAwB;IACxB,gCAAgC;IAChC,0BAA0B;IAC1B,0BAA0B;IAC1B,yBAAyB;IACzB,4BAA4B;IAC5B,mCAAmC;IACnC,4BAA4B;IAC5B,2BAA2B;IAC3B,kFAAkF;CAC1E,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Valuation.abi.d.ts","sourceRoot":"","sources":["../../src/abi/Valuation.abi.ts"],"names":[],"mappings":";AAAA,wBAAsG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Valuation.abi.js","sourceRoot":"","sources":["../../src/abi/Valuation.abi.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,4EAA4E,CAAU,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
declare const _default: readonly ["
|
|
1
|
+
declare const _default: readonly ["function cancelDepositRequest(address vault) payable", "function cancelRedeemRequest(address vault) payable", "function claimCancelDepositRequest(address vault, address receiver, address controller) payable", "function claimCancelRedeemRequest(address vault, address receiver, address controller) payable", "function claimDeposit(address vault, address receiver, address controller) payable", "function claimRedeem(address vault, address receiver, address controller) payable", "function deny(address user)", "function deposit(address vault, uint256 assets, address receiver, address owner) payable", "function disable(address vault) payable", "function enable(address vault) payable", "function enableLockDepositRequest(address vault, uint256 amount) payable", "function escrow() view returns (address)", "function executeLockedDepositRequest(address vault, address controller) payable", "function gateway() view returns (address)", "function getVault(uint64 poolId, bytes16 scId, address asset) view returns (address)", "function hasPermissions(address vault, address controller) view returns (bool)", "function isEnabled(address vault, address controller) view returns (bool)", "function lockDepositRequest(address vault, uint256 amount, address controller, address owner) payable", "function lockedRequests(address controller, address vault) view returns (uint256 amount)", "function messageDispatcher() view returns (address)", "function multicall(bytes[] data) payable", "function permit(address asset, address spender, uint256 assets, uint256 deadline, uint8 v, bytes32 r, bytes32 s) payable", "function recoverTokens(address token, address receiver, uint256 amount)", "function recoverTokens(address token, uint256 tokenId, address receiver, uint256 amount)", "function rely(address user)", "function requestDeposit(address vault, uint256 amount, address controller, address owner) payable", "function requestRedeem(address vault, uint256 amount, address controller, address owner) payable", "function spoke() view returns (address)", "function unlockDepositRequest(address vault, address receiver) payable", "function wards(address) view returns (uint256)", "event Deny(address indexed user)", "event ExecuteLockedDepositRequest(address indexed vault, address indexed controller, address sender)", "event LockDepositRequest(address indexed vault, address indexed controller, address indexed owner, address sender, uint256 amount)", "event Rely(address indexed user)", "event UnlockDepositRequest(address indexed vault, address indexed controller, address indexed receiver)", "error CallFailedWithEmptyRevert()", "error InvalidOwner()", "error InvalidSender()", "error NoCode()", "error NoLockedBalance()", "error NoLockedRequest()", "error NonAsyncVault()", "error NonSyncDepositVault()", "error NotAuthorized()", "error SafeTransferEthFailed()", "error UnauthorizedSender()", "error WrappedError(address target, bytes4 selector, bytes reason, bytes details)", "error ZeroBalance()"];
|
|
2
2
|
export default _default;
|
|
3
3
|
//# sourceMappingURL=VaultRouter.abi.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VaultRouter.abi.d.ts","sourceRoot":"","sources":["../../src/abi/VaultRouter.abi.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"VaultRouter.abi.d.ts","sourceRoot":"","sources":["../../src/abi/VaultRouter.abi.ts"],"names":[],"mappings":";AAAA,wBAiDU"}
|
|
@@ -1,26 +1,4 @@
|
|
|
1
1
|
export default [
|
|
2
|
-
'error CallFailedWithEmptyRevert()',
|
|
3
|
-
'error InvalidOwner()',
|
|
4
|
-
'error InvalidSender()',
|
|
5
|
-
'error NoCode()',
|
|
6
|
-
'error NoLockedBalance()',
|
|
7
|
-
'error NoLockedRequest()',
|
|
8
|
-
'error NonAsyncVault()',
|
|
9
|
-
'error NonSyncDepositVault()',
|
|
10
|
-
'error NotAuthorized()',
|
|
11
|
-
'error SafeApproveFailed()',
|
|
12
|
-
'error SafeTransferEthFailed()',
|
|
13
|
-
'error SafeTransferFailed()',
|
|
14
|
-
'error SafeTransferFromFailed()',
|
|
15
|
-
'error UnauthorizedSender()',
|
|
16
|
-
'error UnwrapFailed()',
|
|
17
|
-
'error WrapFailed()',
|
|
18
|
-
'error ZeroBalance()',
|
|
19
|
-
'event Deny(address indexed user)',
|
|
20
|
-
'event ExecuteLockedDepositRequest(address indexed vault, address indexed controller, address sender)',
|
|
21
|
-
'event LockDepositRequest(address indexed vault, address indexed controller, address indexed owner, address sender, uint256 amount)',
|
|
22
|
-
'event Rely(address indexed user)',
|
|
23
|
-
'event UnlockDepositRequest(address indexed vault, address indexed controller, address indexed receiver)',
|
|
24
2
|
'function cancelDepositRequest(address vault) payable',
|
|
25
3
|
'function cancelRedeemRequest(address vault) payable',
|
|
26
4
|
'function claimCancelDepositRequest(address vault, address receiver, address controller) payable',
|
|
@@ -33,7 +11,6 @@ export default [
|
|
|
33
11
|
'function enable(address vault) payable',
|
|
34
12
|
'function enableLockDepositRequest(address vault, uint256 amount) payable',
|
|
35
13
|
'function escrow() view returns (address)',
|
|
36
|
-
'function estimate(uint16 centrifugeId, bytes payload) view returns (uint256)',
|
|
37
14
|
'function executeLockedDepositRequest(address vault, address controller) payable',
|
|
38
15
|
'function gateway() view returns (address)',
|
|
39
16
|
'function getVault(uint64 poolId, bytes16 scId, address asset) view returns (address)',
|
|
@@ -44,15 +21,31 @@ export default [
|
|
|
44
21
|
'function messageDispatcher() view returns (address)',
|
|
45
22
|
'function multicall(bytes[] data) payable',
|
|
46
23
|
'function permit(address asset, address spender, uint256 assets, uint256 deadline, uint8 v, bytes32 r, bytes32 s) payable',
|
|
47
|
-
'function poolManager() view returns (address)',
|
|
48
24
|
'function recoverTokens(address token, address receiver, uint256 amount)',
|
|
49
25
|
'function recoverTokens(address token, uint256 tokenId, address receiver, uint256 amount)',
|
|
50
26
|
'function rely(address user)',
|
|
51
27
|
'function requestDeposit(address vault, uint256 amount, address controller, address owner) payable',
|
|
52
28
|
'function requestRedeem(address vault, uint256 amount, address controller, address owner) payable',
|
|
29
|
+
'function spoke() view returns (address)',
|
|
53
30
|
'function unlockDepositRequest(address vault, address receiver) payable',
|
|
54
|
-
'function unwrap(address wrapper, uint256 amount, address receiver) payable',
|
|
55
31
|
'function wards(address) view returns (uint256)',
|
|
56
|
-
'
|
|
32
|
+
'event Deny(address indexed user)',
|
|
33
|
+
'event ExecuteLockedDepositRequest(address indexed vault, address indexed controller, address sender)',
|
|
34
|
+
'event LockDepositRequest(address indexed vault, address indexed controller, address indexed owner, address sender, uint256 amount)',
|
|
35
|
+
'event Rely(address indexed user)',
|
|
36
|
+
'event UnlockDepositRequest(address indexed vault, address indexed controller, address indexed receiver)',
|
|
37
|
+
'error CallFailedWithEmptyRevert()',
|
|
38
|
+
'error InvalidOwner()',
|
|
39
|
+
'error InvalidSender()',
|
|
40
|
+
'error NoCode()',
|
|
41
|
+
'error NoLockedBalance()',
|
|
42
|
+
'error NoLockedRequest()',
|
|
43
|
+
'error NonAsyncVault()',
|
|
44
|
+
'error NonSyncDepositVault()',
|
|
45
|
+
'error NotAuthorized()',
|
|
46
|
+
'error SafeTransferEthFailed()',
|
|
47
|
+
'error UnauthorizedSender()',
|
|
48
|
+
'error WrappedError(address target, bytes4 selector, bytes reason, bytes details)',
|
|
49
|
+
'error ZeroBalance()',
|
|
57
50
|
];
|
|
58
51
|
//# sourceMappingURL=VaultRouter.abi.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VaultRouter.abi.js","sourceRoot":"","sources":["../../src/abi/VaultRouter.abi.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,
|
|
1
|
+
{"version":3,"file":"VaultRouter.abi.js","sourceRoot":"","sources":["../../src/abi/VaultRouter.abi.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,sDAAsD;IACtD,qDAAqD;IACrD,iGAAiG;IACjG,gGAAgG;IAChG,oFAAoF;IACpF,mFAAmF;IACnF,6BAA6B;IAC7B,0FAA0F;IAC1F,yCAAyC;IACzC,wCAAwC;IACxC,0EAA0E;IAC1E,0CAA0C;IAC1C,iFAAiF;IACjF,2CAA2C;IAC3C,sFAAsF;IACtF,gFAAgF;IAChF,2EAA2E;IAC3E,uGAAuG;IACvG,0FAA0F;IAC1F,qDAAqD;IACrD,0CAA0C;IAC1C,0HAA0H;IAC1H,yEAAyE;IACzE,0FAA0F;IAC1F,6BAA6B;IAC7B,mGAAmG;IACnG,kGAAkG;IAClG,yCAAyC;IACzC,wEAAwE;IACxE,gDAAgD;IAChD,kCAAkC;IAClC,sGAAsG;IACtG,oIAAoI;IACpI,kCAAkC;IAClC,yGAAyG;IACzG,mCAAmC;IACnC,sBAAsB;IACtB,uBAAuB;IACvB,gBAAgB;IAChB,yBAAyB;IACzB,yBAAyB;IACzB,uBAAuB;IACvB,6BAA6B;IAC7B,uBAAuB;IACvB,+BAA+B;IAC/B,4BAA4B;IAC5B,kFAAkF;IAClF,qBAAqB;CACb,CAAA"}
|