@verified-network/verified-sdk 1.7.0 → 1.7.2
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/assetmanager/balancer/MarginIssueManager.json +4 -13
- package/dist/abi/assetmanager/balancer/PrimaryIssueManager.json +10 -25
- package/dist/abi/assetmanager/balancer/SecondaryIssueManager.json +4 -4
- package/dist/abi/distribution/Distribution.json +13 -1
- package/dist/abi/liquidity/Liquidity.json +4 -4
- package/dist/abi/securities/Client.json +249 -249
- package/dist/abi/securities/SecuritiesFactory.json +97 -97
- package/dist/abi/securities/Security.json +6619 -6647
- package/dist/contract/amm/margin/index.d.ts +1 -1
- package/dist/contract/amm/margin/index.js +3 -2
- package/dist/contractAddress/index.js +10 -10
- package/package.json +1 -1
|
@@ -31,7 +31,7 @@ export default class MarginIssueManager extends VerifiedContract {
|
|
|
31
31
|
gasPrice: any;
|
|
32
32
|
gasLimit: any;
|
|
33
33
|
}): any;
|
|
34
|
-
onSettle(security: string, currency: string, financingBid: string, financingOffer: string, dividendBid: string, dividendOffer: string, swapLong: string, swapShort: string, options?: {
|
|
34
|
+
onSettle(security: string, currency: string, financingBid: string, financingOffer: string, dividendBid: string, dividendOffer: string, swapLong: string, swapShort: string, settlementTime: string, options?: {
|
|
35
35
|
gasPrice: any;
|
|
36
36
|
gasLimit: any;
|
|
37
37
|
}): any;
|
|
@@ -94,7 +94,7 @@ class MarginIssueManager extends index_1.VerifiedContract {
|
|
|
94
94
|
await this.validateInput(DATATYPES.NUMBER, settlementTime);
|
|
95
95
|
return this.callContract(FUNCTIONS.ONSETTLE, security, currency, financingPerSec, charge, dividendPerSec, payout, settlementTime, options);
|
|
96
96
|
}*/
|
|
97
|
-
async onSettle(security, currency, financingBid, financingOffer, dividendBid, dividendOffer, swapLong, swapShort, options) {
|
|
97
|
+
async onSettle(security, currency, financingBid, financingOffer, dividendBid, dividendOffer, swapLong, swapShort, settlementTime, options) {
|
|
98
98
|
await this.validateInput(index_1.DATATYPES.ADDRESS, security);
|
|
99
99
|
await this.validateInput(index_1.DATATYPES.ADDRESS, currency);
|
|
100
100
|
await this.validateInput(index_1.DATATYPES.NUMBER, financingBid);
|
|
@@ -103,7 +103,8 @@ class MarginIssueManager extends index_1.VerifiedContract {
|
|
|
103
103
|
await this.validateInput(index_1.DATATYPES.NUMBER, dividendOffer);
|
|
104
104
|
await this.validateInput(index_1.DATATYPES.NUMBER, swapLong);
|
|
105
105
|
await this.validateInput(index_1.DATATYPES.NUMBER, swapShort);
|
|
106
|
-
|
|
106
|
+
await this.validateInput(index_1.DATATYPES.NUMBER, settlementTime);
|
|
107
|
+
return this.callContract(FUNCTIONS.ONSETTLE, security, currency, financingBid, financingOffer, dividendBid, dividendOffer, swapLong, swapShort, settlementTime, options);
|
|
107
108
|
}
|
|
108
109
|
async withdraw(security, currency, amount, options) {
|
|
109
110
|
await this.validateInput(index_1.DATATYPES.ADDRESS, security);
|
|
@@ -207,23 +207,23 @@ const contractAddress = {
|
|
|
207
207
|
},
|
|
208
208
|
//Base
|
|
209
209
|
8453: {
|
|
210
|
-
'Client': '',
|
|
210
|
+
'Client': '0x06abba52d38C75D40Ae677a4aA30500c52A89063',
|
|
211
211
|
'Factory': '',
|
|
212
212
|
'Cash': '',
|
|
213
213
|
'Bond': '',
|
|
214
214
|
'Token': '',
|
|
215
215
|
'Oracle': '',
|
|
216
216
|
'Rates': '',
|
|
217
|
-
'Security': '',
|
|
218
|
-
'SecuritiesFactory': '',
|
|
219
|
-
'Vitta': '',
|
|
220
|
-
'Liquidity': '',
|
|
221
|
-
'Distribution': '',
|
|
222
|
-
'PrimaryIssuePoolFactory': '',
|
|
217
|
+
'Security': '0xCa480886e13922AD807acD1B979f31499e2E4088',
|
|
218
|
+
'SecuritiesFactory': '0x4746DD1D30F76a16866EcE1774fd2eE025988D4b',
|
|
219
|
+
'Vitta': '0xF387D694B2ac3847F118778f16fdC11B58c0a859',
|
|
220
|
+
'Liquidity': '0x5d85E0aDBa6E9E388D0641D7C8d925756316e99D',
|
|
221
|
+
'Distribution': '0x3C0Da71292F095182b06e2f3c1527E2DF6aEa583',
|
|
222
|
+
'PrimaryIssuePoolFactory': '0x73465Be532Aa390728D3Bb75D0b16F936Cd56bBE',
|
|
223
223
|
'BalancerPrimaryIssueManager': '',
|
|
224
|
-
'SecondaryIssuePoolFactory': '',
|
|
225
|
-
'BalancerSecondaryIssueManager': '',
|
|
226
|
-
'MarginTradingPoolFactory': '',
|
|
224
|
+
'SecondaryIssuePoolFactory': '0xD0c101dd9B26B579D95d311dbaaF6CBCF0B55DeE',
|
|
225
|
+
'BalancerSecondaryIssueManager': '0xa3A28abB39434Fc903f2646071BBD253318e9FAc',
|
|
226
|
+
'MarginTradingPoolFactory': '0xb864e62CFebd368F4491Fe52A4Fcc22c1c525F1C',
|
|
227
227
|
'BalancerMarginIssueManager': '',
|
|
228
228
|
'Custody': '',
|
|
229
229
|
'Compound': '',
|