@verified-network/verified-sdk 0.9.5 → 0.9.7
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/abi/L1distribution/Distribution.json +4 -4
- package/dist/abi/assetmanager/Client.json +13522 -5670
- package/dist/abi/assetmanager/balancer/PrimaryIssueManager.json +59230 -0
- package/dist/abi/assetmanager/balancer/SecondaryIssueManager.json +27235 -0
- package/dist/abi/custody/Vault.json +10 -4
- package/dist/abi/deposits/Bond.json +6 -6
- package/dist/abi/deposits/Cash.json +6 -6
- package/dist/abi/deposits/Factory.json +5 -5
- package/dist/abi/deposits/Rates.json +5 -5
- package/dist/abi/deposits/Security.json +5 -5
- package/dist/abi/liquidity/Liquidity.json +7294 -9689
- package/dist/contract/amm/primary/index.js +3 -2
- package/dist/contract/amm/secondary/index.js +3 -2
- package/dist/contractAddress/index.js +18 -19
- package/package.json +1 -1
|
@@ -73,8 +73,9 @@ class PrimaryIssueManager extends index_1.VerifiedContract {
|
|
|
73
73
|
* @param options
|
|
74
74
|
* @returns amount of available liquidity for caller (asset manager)
|
|
75
75
|
*/
|
|
76
|
-
async getAllotedStake() {
|
|
77
|
-
|
|
76
|
+
async getAllotedStake(offered, options) {
|
|
77
|
+
await this.validateInput(index_1.DATATYPES.ADDRESS, offered);
|
|
78
|
+
return this.callContract(FUNCTIONS.GETALLOTTEDSTAKE, offered, options);
|
|
78
79
|
}
|
|
79
80
|
/**
|
|
80
81
|
* Gets liquidity providers for a security token offering
|
|
@@ -12,8 +12,9 @@ var FUNCTIONS;
|
|
|
12
12
|
FUNCTIONS["SETSETTLEMENTSTATUS"] = "setSettlementStatus";
|
|
13
13
|
})(FUNCTIONS || (FUNCTIONS = {}));
|
|
14
14
|
class SecondaryIssueManager extends index_1.VerifiedContract {
|
|
15
|
-
constructor(signer
|
|
16
|
-
const
|
|
15
|
+
constructor(signer) {
|
|
16
|
+
const chainId = Object.keys(SecondaryIssueManager_json_1.networks);
|
|
17
|
+
const address = SecondaryIssueManager_json_1.networks[chainId].address;
|
|
17
18
|
super(address, JSON.stringify(SecondaryIssueManager_json_1.abi), signer);
|
|
18
19
|
this.contractAddress = address;
|
|
19
20
|
}
|
|
@@ -1,43 +1,42 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const contractAddress = {
|
|
4
|
-
'L1-
|
|
5
|
-
'Client': '
|
|
4
|
+
'L1-goerli': {
|
|
5
|
+
'Client': '0x531D045632dAf6bD7B00dD24D8bd43760a25bD74',
|
|
6
6
|
'KYC': '',
|
|
7
7
|
'System': '',
|
|
8
8
|
'Holder': '',
|
|
9
9
|
'Ledger': '',
|
|
10
10
|
'Account': '',
|
|
11
|
-
'Factory': '
|
|
12
|
-
'Cash': '
|
|
13
|
-
'Bond': '
|
|
11
|
+
'Factory': '0x0d13E5aFECC9b56d7284A9B78DDCDDc00Bd447d0',
|
|
12
|
+
'Cash': '0x56770Bb626268588Fa771d09A0A7c942A416ca48',
|
|
13
|
+
'Bond': '0xc5838564A9eB72a1badc1a7d930b4F380D35c8A7',
|
|
14
14
|
'Token': '',
|
|
15
15
|
'Oracle': '',
|
|
16
|
-
'Rates': '
|
|
16
|
+
'Rates': '0x9b884592F9B73A02EC1C1D62b8ab778307a6C179',
|
|
17
17
|
'PreTrade': '',
|
|
18
18
|
'Trade': '',
|
|
19
19
|
'PostTrade': '',
|
|
20
20
|
'SecuritiesRegistry': '',
|
|
21
|
-
'Security': '
|
|
21
|
+
'Security': '0x9892B3200A52E5051ba991b8F70c286B53f6966d',
|
|
22
22
|
'OrderPool': '',
|
|
23
23
|
'PoolFactory': '',
|
|
24
24
|
'Stocks': '',
|
|
25
25
|
'Bonds': '',
|
|
26
|
-
'Liquidity': '
|
|
27
|
-
'Distribution': '
|
|
28
|
-
'BalancerPrimaryIssueManager': '',
|
|
29
|
-
'BalancerSecondaryIssueManager': '',
|
|
30
|
-
'
|
|
31
|
-
'Custody': '0x7436eB550F7C7173F2f300ae24F88c3585bB27FB',
|
|
26
|
+
'Liquidity': '0xD932b535D8394C3236816725994Bf7e75172C1D8',
|
|
27
|
+
'Distribution': '0xf871AAE04baa897a1310670B561e597F53Ff2a9F',
|
|
28
|
+
'BalancerPrimaryIssueManager': '0x5ABDD4568C52352f96925d13a810410D359EE59e',
|
|
29
|
+
'BalancerSecondaryIssueManager': '0x5e8f5D4a471552C1914774A8d12E2c0b2d487061',
|
|
30
|
+
'Custody': '0xF6ebB33E758eC36A2D3065F4633131DFF8307A07',
|
|
32
31
|
'CASH': {
|
|
33
|
-
'VCUSD': '
|
|
34
|
-
'VCEUR': '
|
|
35
|
-
'VCINR': '
|
|
32
|
+
'VCUSD': '0xe0AF68900126e592f50e0A989aC2206CC467C055',
|
|
33
|
+
'VCEUR': '0xB738563f64EE3983D6ed02b44f2ADb0c83C0362D',
|
|
34
|
+
'VCINR': '0xd2f9341BBaC7fb75D46F6e99Fe252248eE8a277E'
|
|
36
35
|
},
|
|
37
36
|
'BOND': {
|
|
38
|
-
'VBUSD': '
|
|
39
|
-
'VBEUR': '
|
|
40
|
-
'VBINR': '
|
|
37
|
+
'VBUSD': '0xA8BC2e1a3846BAf1f83fE0fced5C995E9A9d4C49',
|
|
38
|
+
'VBEUR': '0xBa5B286b4b73d813035E353A207926E5a5a931d9',
|
|
39
|
+
'VBINR': '0xf00024605E944b1C3723B7066888cEd9E9BC2f55'
|
|
41
40
|
},
|
|
42
41
|
},
|
|
43
42
|
'L2-goerli': {
|