@centrifuge/sdk 1.10.0 → 1.12.1
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 +38 -0
- package/dist/Centrifuge.d.ts.map +1 -1
- package/dist/Centrifuge.js +163 -0
- package/dist/Centrifuge.js.map +1 -1
- package/dist/Centrifuge.test.js +219 -0
- package/dist/Centrifuge.test.js.map +1 -1
- package/dist/abi/MultiAdapter.abi.d.ts +1 -1
- package/dist/abi/MultiAdapter.abi.js +1 -1
- package/dist/abi/MultiAdapter.abi.js.map +1 -1
- package/dist/abi/OnchainPM.abi.d.ts +3 -0
- package/dist/abi/OnchainPM.abi.d.ts.map +1 -0
- package/dist/abi/OnchainPM.abi.js +14 -0
- package/dist/abi/OnchainPM.abi.js.map +1 -0
- package/dist/abi/OnchainPMFactory.abi.d.ts +3 -0
- package/dist/abi/OnchainPMFactory.abi.d.ts.map +1 -0
- package/dist/abi/OnchainPMFactory.abi.js +6 -0
- package/dist/abi/OnchainPMFactory.abi.js.map +1 -0
- package/dist/abi/OracleValuation.abi.d.ts +3 -0
- package/dist/abi/OracleValuation.abi.d.ts.map +1 -0
- package/dist/abi/OracleValuation.abi.js +9 -0
- package/dist/abi/OracleValuation.abi.js.map +1 -0
- package/dist/abi/ScriptHelpers.abi.d.ts +3 -0
- package/dist/abi/ScriptHelpers.abi.d.ts.map +1 -0
- package/dist/abi/ScriptHelpers.abi.js +5 -0
- package/dist/abi/ScriptHelpers.abi.js.map +1 -0
- package/dist/abi/index.d.ts +281 -0
- package/dist/abi/index.d.ts.map +1 -1
- package/dist/abi/index.js +8 -0
- package/dist/abi/index.js.map +1 -1
- package/dist/entities/OnchainPM.d.ts +203 -0
- package/dist/entities/OnchainPM.d.ts.map +1 -0
- package/dist/entities/OnchainPM.js +315 -0
- package/dist/entities/OnchainPM.js.map +1 -0
- package/dist/entities/OnchainPM.test.d.ts +2 -0
- package/dist/entities/OnchainPM.test.d.ts.map +1 -0
- package/dist/entities/OnchainPM.test.js +155 -0
- package/dist/entities/OnchainPM.test.js.map +1 -0
- package/dist/entities/Pool.d.ts +81 -3
- package/dist/entities/Pool.d.ts.map +1 -1
- package/dist/entities/Pool.js +207 -18
- package/dist/entities/Pool.js.map +1 -1
- package/dist/entities/PoolNetwork.d.ts +37 -0
- package/dist/entities/PoolNetwork.d.ts.map +1 -1
- package/dist/entities/PoolNetwork.js +136 -12
- package/dist/entities/PoolNetwork.js.map +1 -1
- package/dist/entities/PoolNetwork.test.js +134 -1
- package/dist/entities/PoolNetwork.test.js.map +1 -1
- package/dist/entities/ShareClass.d.ts.map +1 -1
- package/dist/entities/ShareClass.js +151 -126
- package/dist/entities/ShareClass.js.map +1 -1
- package/dist/entities/Vault.test.js +0 -5
- package/dist/entities/Vault.test.js.map +1 -1
- package/dist/entities/crosschainMessages.d.ts +127 -0
- package/dist/entities/crosschainMessages.d.ts.map +1 -0
- package/dist/entities/crosschainMessages.js +204 -0
- package/dist/entities/crosschainMessages.js.map +1 -0
- package/dist/index.d.ts +16 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/poolMetadata.d.ts +28 -0
- package/dist/types/poolMetadata.d.ts.map +1 -1
- package/dist/types/transaction.d.ts +5 -1
- package/dist/types/transaction.d.ts.map +1 -1
- package/dist/types/transaction.js.map +1 -1
- package/dist/types/workflow.d.ts +151 -0
- package/dist/types/workflow.d.ts.map +1 -0
- package/dist/types/workflow.js +5 -0
- package/dist/types/workflow.js.map +1 -0
- package/dist/utils/catalog.d.ts +29 -0
- package/dist/utils/catalog.d.ts.map +1 -0
- package/dist/utils/catalog.js +396 -0
- package/dist/utils/catalog.js.map +1 -0
- package/dist/utils/catalog.test.d.ts +2 -0
- package/dist/utils/catalog.test.d.ts.map +1 -0
- package/dist/utils/catalog.test.js +291 -0
- package/dist/utils/catalog.test.js.map +1 -0
- package/dist/utils/scriptHash.d.ts +32 -0
- package/dist/utils/scriptHash.d.ts.map +1 -0
- package/dist/utils/scriptHash.js +67 -0
- package/dist/utils/scriptHash.js.map +1 -0
- package/dist/utils/scriptHash.test.d.ts +2 -0
- package/dist/utils/scriptHash.test.d.ts.map +1 -0
- package/dist/utils/scriptHash.test.js +97 -0
- package/dist/utils/scriptHash.test.js.map +1 -0
- package/dist/utils/variables.d.ts +78 -0
- package/dist/utils/variables.d.ts.map +1 -0
- package/dist/utils/variables.js +105 -0
- package/dist/utils/variables.js.map +1 -0
- package/dist/utils/variables.test.d.ts +2 -0
- package/dist/utils/variables.test.d.ts.map +1 -0
- package/dist/utils/variables.test.js +110 -0
- package/dist/utils/variables.test.js.map +1 -0
- package/dist/utils/weiroll.d.ts +176 -0
- package/dist/utils/weiroll.d.ts.map +1 -0
- package/dist/utils/weiroll.js +341 -0
- package/dist/utils/weiroll.js.map +1 -0
- package/dist/utils/weiroll.test.d.ts +2 -0
- package/dist/utils/weiroll.test.d.ts.map +1 -0
- package/dist/utils/weiroll.test.js +430 -0
- package/dist/utils/weiroll.test.js.map +1 -0
- package/dist/utils/workflowExecute.d.ts +121 -0
- package/dist/utils/workflowExecute.d.ts.map +1 -0
- package/dist/utils/workflowExecute.js +577 -0
- package/dist/utils/workflowExecute.js.map +1 -0
- package/dist/utils/workflowExecute.test.d.ts +2 -0
- package/dist/utils/workflowExecute.test.d.ts.map +1 -0
- package/dist/utils/workflowExecute.test.js +117 -0
- package/dist/utils/workflowExecute.test.js.map +1 -0
- package/package.json +1 -1
package/dist/abi/index.d.ts
CHANGED
|
@@ -8794,6 +8794,20 @@ export declare const ABI: {
|
|
|
8794
8794
|
readonly outputs: readonly [{
|
|
8795
8795
|
readonly type: "uint8";
|
|
8796
8796
|
}];
|
|
8797
|
+
}, {
|
|
8798
|
+
readonly name: "threshold";
|
|
8799
|
+
readonly type: "function";
|
|
8800
|
+
readonly stateMutability: "view";
|
|
8801
|
+
readonly inputs: readonly [{
|
|
8802
|
+
readonly type: "uint16";
|
|
8803
|
+
readonly name: "centrifugeId";
|
|
8804
|
+
}, {
|
|
8805
|
+
readonly type: "uint64";
|
|
8806
|
+
readonly name: "poolId";
|
|
8807
|
+
}];
|
|
8808
|
+
readonly outputs: readonly [{
|
|
8809
|
+
readonly type: "uint8";
|
|
8810
|
+
}];
|
|
8797
8811
|
}];
|
|
8798
8812
|
BalanceSheet: readonly [{
|
|
8799
8813
|
readonly name: "availableBalanceOf";
|
|
@@ -9351,5 +9365,272 @@ export declare const ABI: {
|
|
|
9351
9365
|
readonly indexed: true;
|
|
9352
9366
|
}];
|
|
9353
9367
|
}];
|
|
9368
|
+
OnchainPM: readonly [{
|
|
9369
|
+
readonly name: "computeScriptHash";
|
|
9370
|
+
readonly type: "function";
|
|
9371
|
+
readonly stateMutability: "pure";
|
|
9372
|
+
readonly inputs: readonly [{
|
|
9373
|
+
readonly type: "bytes32[]";
|
|
9374
|
+
readonly name: "commands";
|
|
9375
|
+
}, {
|
|
9376
|
+
readonly type: "bytes[]";
|
|
9377
|
+
readonly name: "state";
|
|
9378
|
+
}, {
|
|
9379
|
+
readonly type: "uint128";
|
|
9380
|
+
readonly name: "stateBitmap";
|
|
9381
|
+
}, {
|
|
9382
|
+
readonly type: "tuple[]";
|
|
9383
|
+
readonly components: readonly [{
|
|
9384
|
+
readonly type: "bytes32";
|
|
9385
|
+
readonly name: "hash";
|
|
9386
|
+
}, {
|
|
9387
|
+
readonly type: "address";
|
|
9388
|
+
readonly name: "caller";
|
|
9389
|
+
}];
|
|
9390
|
+
readonly name: "callbacks";
|
|
9391
|
+
}];
|
|
9392
|
+
readonly outputs: readonly [{
|
|
9393
|
+
readonly type: "bytes32";
|
|
9394
|
+
}];
|
|
9395
|
+
}, {
|
|
9396
|
+
readonly name: "policy";
|
|
9397
|
+
readonly type: "function";
|
|
9398
|
+
readonly stateMutability: "view";
|
|
9399
|
+
readonly inputs: readonly [{
|
|
9400
|
+
readonly type: "address";
|
|
9401
|
+
readonly name: "strategist";
|
|
9402
|
+
}];
|
|
9403
|
+
readonly outputs: readonly [{
|
|
9404
|
+
readonly type: "bytes32";
|
|
9405
|
+
}];
|
|
9406
|
+
}, {
|
|
9407
|
+
readonly name: "execute";
|
|
9408
|
+
readonly type: "function";
|
|
9409
|
+
readonly stateMutability: "nonpayable";
|
|
9410
|
+
readonly inputs: readonly [{
|
|
9411
|
+
readonly type: "bytes32[]";
|
|
9412
|
+
readonly name: "commands";
|
|
9413
|
+
}, {
|
|
9414
|
+
readonly type: "bytes[]";
|
|
9415
|
+
readonly name: "state";
|
|
9416
|
+
}, {
|
|
9417
|
+
readonly type: "uint128";
|
|
9418
|
+
readonly name: "stateBitmap";
|
|
9419
|
+
}, {
|
|
9420
|
+
readonly type: "tuple[]";
|
|
9421
|
+
readonly components: readonly [{
|
|
9422
|
+
readonly type: "bytes32";
|
|
9423
|
+
readonly name: "hash";
|
|
9424
|
+
}, {
|
|
9425
|
+
readonly type: "address";
|
|
9426
|
+
readonly name: "caller";
|
|
9427
|
+
}];
|
|
9428
|
+
readonly name: "callbacks";
|
|
9429
|
+
}, {
|
|
9430
|
+
readonly type: "bytes32[]";
|
|
9431
|
+
readonly name: "proof";
|
|
9432
|
+
}];
|
|
9433
|
+
readonly outputs: readonly [];
|
|
9434
|
+
}, {
|
|
9435
|
+
readonly name: "executeCallback";
|
|
9436
|
+
readonly type: "function";
|
|
9437
|
+
readonly stateMutability: "nonpayable";
|
|
9438
|
+
readonly inputs: readonly [{
|
|
9439
|
+
readonly type: "bytes32[]";
|
|
9440
|
+
readonly name: "commands";
|
|
9441
|
+
}, {
|
|
9442
|
+
readonly type: "bytes[]";
|
|
9443
|
+
readonly name: "state";
|
|
9444
|
+
}, {
|
|
9445
|
+
readonly type: "uint128";
|
|
9446
|
+
readonly name: "stateBitmap";
|
|
9447
|
+
}];
|
|
9448
|
+
readonly outputs: readonly [];
|
|
9449
|
+
}, {
|
|
9450
|
+
readonly name: "multicall";
|
|
9451
|
+
readonly type: "function";
|
|
9452
|
+
readonly stateMutability: "payable";
|
|
9453
|
+
readonly inputs: readonly [{
|
|
9454
|
+
readonly type: "bytes[]";
|
|
9455
|
+
readonly name: "data";
|
|
9456
|
+
}];
|
|
9457
|
+
readonly outputs: readonly [];
|
|
9458
|
+
}, {
|
|
9459
|
+
readonly name: "trustedCall";
|
|
9460
|
+
readonly type: "function";
|
|
9461
|
+
readonly stateMutability: "nonpayable";
|
|
9462
|
+
readonly inputs: readonly [{
|
|
9463
|
+
readonly type: "address";
|
|
9464
|
+
readonly name: "target";
|
|
9465
|
+
}, {
|
|
9466
|
+
readonly type: "bytes";
|
|
9467
|
+
readonly name: "data";
|
|
9468
|
+
}];
|
|
9469
|
+
readonly outputs: readonly [{
|
|
9470
|
+
readonly type: "bytes";
|
|
9471
|
+
}];
|
|
9472
|
+
}, {
|
|
9473
|
+
readonly name: "NotAStrategist";
|
|
9474
|
+
readonly type: "error";
|
|
9475
|
+
readonly inputs: readonly [];
|
|
9476
|
+
}, {
|
|
9477
|
+
readonly name: "InvalidProof";
|
|
9478
|
+
readonly type: "error";
|
|
9479
|
+
readonly inputs: readonly [];
|
|
9480
|
+
}, {
|
|
9481
|
+
readonly name: "AlreadyExecuting";
|
|
9482
|
+
readonly type: "error";
|
|
9483
|
+
readonly inputs: readonly [];
|
|
9484
|
+
}, {
|
|
9485
|
+
readonly name: "StateLengthOverflow";
|
|
9486
|
+
readonly type: "error";
|
|
9487
|
+
readonly inputs: readonly [];
|
|
9488
|
+
}, {
|
|
9489
|
+
readonly name: "UnconsumedCallbacks";
|
|
9490
|
+
readonly type: "error";
|
|
9491
|
+
readonly inputs: readonly [];
|
|
9492
|
+
}];
|
|
9493
|
+
OnchainPMFactory: readonly [{
|
|
9494
|
+
readonly name: "newOnchainPM";
|
|
9495
|
+
readonly type: "function";
|
|
9496
|
+
readonly stateMutability: "nonpayable";
|
|
9497
|
+
readonly inputs: readonly [{
|
|
9498
|
+
readonly type: "uint64";
|
|
9499
|
+
readonly name: "poolId";
|
|
9500
|
+
}];
|
|
9501
|
+
readonly outputs: readonly [{
|
|
9502
|
+
readonly type: "address";
|
|
9503
|
+
}];
|
|
9504
|
+
}, {
|
|
9505
|
+
readonly name: "getAddress";
|
|
9506
|
+
readonly type: "function";
|
|
9507
|
+
readonly stateMutability: "view";
|
|
9508
|
+
readonly inputs: readonly [{
|
|
9509
|
+
readonly type: "uint64";
|
|
9510
|
+
readonly name: "poolId";
|
|
9511
|
+
}];
|
|
9512
|
+
readonly outputs: readonly [{
|
|
9513
|
+
readonly type: "address";
|
|
9514
|
+
}];
|
|
9515
|
+
}, {
|
|
9516
|
+
readonly name: "DeployOnchainPM";
|
|
9517
|
+
readonly type: "event";
|
|
9518
|
+
readonly inputs: readonly [{
|
|
9519
|
+
readonly type: "uint64";
|
|
9520
|
+
readonly name: "poolId";
|
|
9521
|
+
readonly indexed: true;
|
|
9522
|
+
}, {
|
|
9523
|
+
readonly type: "address";
|
|
9524
|
+
readonly name: "manager";
|
|
9525
|
+
readonly indexed: true;
|
|
9526
|
+
}];
|
|
9527
|
+
}];
|
|
9528
|
+
OracleValuation: readonly [{
|
|
9529
|
+
readonly name: "feeder";
|
|
9530
|
+
readonly type: "function";
|
|
9531
|
+
readonly stateMutability: "view";
|
|
9532
|
+
readonly inputs: readonly [{
|
|
9533
|
+
readonly type: "uint64";
|
|
9534
|
+
readonly name: "poolId";
|
|
9535
|
+
}, {
|
|
9536
|
+
readonly type: "uint16";
|
|
9537
|
+
readonly name: "centrifugeId";
|
|
9538
|
+
}, {
|
|
9539
|
+
readonly type: "bytes32";
|
|
9540
|
+
readonly name: "feeder_";
|
|
9541
|
+
}];
|
|
9542
|
+
readonly outputs: readonly [{
|
|
9543
|
+
readonly type: "bool";
|
|
9544
|
+
}];
|
|
9545
|
+
}, {
|
|
9546
|
+
readonly name: "updateFeeder";
|
|
9547
|
+
readonly type: "function";
|
|
9548
|
+
readonly stateMutability: "nonpayable";
|
|
9549
|
+
readonly inputs: readonly [{
|
|
9550
|
+
readonly type: "uint64";
|
|
9551
|
+
readonly name: "poolId";
|
|
9552
|
+
}, {
|
|
9553
|
+
readonly type: "uint16";
|
|
9554
|
+
readonly name: "centrifugeId";
|
|
9555
|
+
}, {
|
|
9556
|
+
readonly type: "bytes32";
|
|
9557
|
+
readonly name: "feeder_";
|
|
9558
|
+
}, {
|
|
9559
|
+
readonly type: "bool";
|
|
9560
|
+
readonly name: "canFeed";
|
|
9561
|
+
}];
|
|
9562
|
+
readonly outputs: readonly [];
|
|
9563
|
+
}, {
|
|
9564
|
+
readonly name: "pricePoolPerAsset";
|
|
9565
|
+
readonly type: "function";
|
|
9566
|
+
readonly stateMutability: "view";
|
|
9567
|
+
readonly inputs: readonly [{
|
|
9568
|
+
readonly type: "uint64";
|
|
9569
|
+
readonly name: "poolId";
|
|
9570
|
+
}, {
|
|
9571
|
+
readonly type: "bytes16";
|
|
9572
|
+
readonly name: "scId";
|
|
9573
|
+
}, {
|
|
9574
|
+
readonly type: "uint128";
|
|
9575
|
+
readonly name: "assetId";
|
|
9576
|
+
}];
|
|
9577
|
+
readonly outputs: readonly [{
|
|
9578
|
+
readonly type: "uint128";
|
|
9579
|
+
readonly name: "value";
|
|
9580
|
+
}, {
|
|
9581
|
+
readonly type: "bool";
|
|
9582
|
+
readonly name: "isValid";
|
|
9583
|
+
}];
|
|
9584
|
+
}, {
|
|
9585
|
+
readonly name: "UpdatePrice";
|
|
9586
|
+
readonly type: "event";
|
|
9587
|
+
readonly inputs: readonly [{
|
|
9588
|
+
readonly type: "uint64";
|
|
9589
|
+
readonly name: "poolId";
|
|
9590
|
+
readonly indexed: true;
|
|
9591
|
+
}, {
|
|
9592
|
+
readonly type: "bytes16";
|
|
9593
|
+
readonly name: "scId";
|
|
9594
|
+
readonly indexed: true;
|
|
9595
|
+
}, {
|
|
9596
|
+
readonly type: "uint128";
|
|
9597
|
+
readonly name: "assetId";
|
|
9598
|
+
readonly indexed: true;
|
|
9599
|
+
}, {
|
|
9600
|
+
readonly type: "uint128";
|
|
9601
|
+
readonly name: "newPrice";
|
|
9602
|
+
}];
|
|
9603
|
+
}, {
|
|
9604
|
+
readonly name: "NotFeeder";
|
|
9605
|
+
readonly type: "error";
|
|
9606
|
+
readonly inputs: readonly [];
|
|
9607
|
+
}, {
|
|
9608
|
+
readonly name: "NotHubManager";
|
|
9609
|
+
readonly type: "error";
|
|
9610
|
+
readonly inputs: readonly [];
|
|
9611
|
+
}];
|
|
9612
|
+
ScriptHelpers: readonly [{
|
|
9613
|
+
readonly name: "toBytes32";
|
|
9614
|
+
readonly type: "function";
|
|
9615
|
+
readonly stateMutability: "pure";
|
|
9616
|
+
readonly inputs: readonly [{
|
|
9617
|
+
readonly type: "uint256";
|
|
9618
|
+
readonly name: "value";
|
|
9619
|
+
}];
|
|
9620
|
+
readonly outputs: readonly [{
|
|
9621
|
+
readonly type: "bytes32";
|
|
9622
|
+
}];
|
|
9623
|
+
}, {
|
|
9624
|
+
readonly name: "fromBytes32";
|
|
9625
|
+
readonly type: "function";
|
|
9626
|
+
readonly stateMutability: "pure";
|
|
9627
|
+
readonly inputs: readonly [{
|
|
9628
|
+
readonly type: "bytes32";
|
|
9629
|
+
readonly name: "value";
|
|
9630
|
+
}];
|
|
9631
|
+
readonly outputs: readonly [{
|
|
9632
|
+
readonly type: "uint256";
|
|
9633
|
+
}];
|
|
9634
|
+
}];
|
|
9354
9635
|
};
|
|
9355
9636
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/abi/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/abi/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/abi/index.ts"],"names":[],"mappings":"AAiCA,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCf,CAAA"}
|
package/dist/abi/index.js
CHANGED
|
@@ -14,6 +14,9 @@ import HubRegistryAbi from './HubRegistry.abi.js';
|
|
|
14
14
|
import MerkleProofManagerAbi from './MerkleProofManager.abi.js';
|
|
15
15
|
import MerkleProofManagerFactoryAbi from './MerkleProofManagerFactory.abi.js';
|
|
16
16
|
import MessageDispatcherAbi from './MessageDispatcher.abi.js';
|
|
17
|
+
import OnchainPMAbi from './OnchainPM.abi.js';
|
|
18
|
+
import OnchainPMFactoryAbi from './OnchainPMFactory.abi.js';
|
|
19
|
+
import OracleValuationAbi from './OracleValuation.abi.js';
|
|
17
20
|
import MultiAdapterAbi from './MultiAdapter.abi.js';
|
|
18
21
|
import OnOffRampManagerAbi from './OnOffRampManager.abi.js';
|
|
19
22
|
import OnOffRampManagerFactoryAbi from './OnOffRampManagerFactory.abi.js';
|
|
@@ -25,6 +28,7 @@ import SpokeAbi from './Spoke.abi.js';
|
|
|
25
28
|
import SyncManagerAbi from './SyncManager.abi.js';
|
|
26
29
|
import ValuationAbi from './Valuation.abi.js';
|
|
27
30
|
import VaultRegistryAbi from './VaultRegistry.abi.js';
|
|
31
|
+
import ScriptHelpersAbi from './ScriptHelpers.abi.js';
|
|
28
32
|
import VaultRouterAbi from './VaultRouter.abi.js';
|
|
29
33
|
export const ABI = {
|
|
30
34
|
Hub: parseAbi(HubAbi),
|
|
@@ -54,5 +58,9 @@ export const ABI = {
|
|
|
54
58
|
OnOffRampManager: parseAbi(OnOffRampManagerAbi),
|
|
55
59
|
OnOffRampManagerFactory: parseAbi(OnOffRampManagerFactoryAbi),
|
|
56
60
|
MerkleProofManagerFactory: parseAbi(MerkleProofManagerFactoryAbi),
|
|
61
|
+
OnchainPM: parseAbi(OnchainPMAbi),
|
|
62
|
+
OnchainPMFactory: parseAbi(OnchainPMFactoryAbi),
|
|
63
|
+
OracleValuation: parseAbi(OracleValuationAbi),
|
|
64
|
+
ScriptHelpers: parseAbi(ScriptHelpersAbi),
|
|
57
65
|
};
|
|
58
66
|
//# sourceMappingURL=index.js.map
|
package/dist/abi/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/abi/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAA;AAC/B,OAAO,aAAa,MAAM,qBAAqB,CAAA;AAC/C,OAAO,gBAAgB,MAAM,8BAA8B,CAAA;AAC3D,OAAO,cAAc,MAAM,qBAAqB,CAAA;AAChD,OAAO,eAAe,MAAM,uBAAuB,CAAA;AACnD,OAAO,sBAAsB,MAAM,8BAA8B,CAAA;AACjE,OAAO,WAAW,MAAM,mBAAmB,CAAA;AAC3C,OAAO,UAAU,MAAM,kBAAkB,CAAA;AACzC,OAAO,aAAa,MAAM,qBAAqB,CAAA;AAC/C,OAAO,UAAU,MAAM,kBAAkB,CAAA;AACzC,OAAO,WAAW,MAAM,mBAAmB,CAAA;AAC3C,OAAO,MAAM,MAAM,cAAc,CAAA;AACjC,OAAO,cAAc,MAAM,sBAAsB,CAAA;AACjD,OAAO,qBAAqB,MAAM,6BAA6B,CAAA;AAC/D,OAAO,4BAA4B,MAAM,oCAAoC,CAAA;AAC7E,OAAO,oBAAoB,MAAM,4BA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AQ,CAAC,gBAAgB,CAAC;IACzC,OAAO,EAAE,QAAQ,CAAC,UAAU,CAAC;IAC7B,WAAW,EAAE,QAAQ,CAAC,cAAc,CAAC;IACrC,UAAU,EAAE,QAAQ,CAAC,aAAa,CAAC;IACnC,QAAQ,EAAE,QAAQ,CAAC,WAAW,CAAC;IAC/B,SAAS,EAAE,QAAQ,CAAC,YAAY,CAAC;IACjC,WAAW,EAAE,QAAQ,CAAC,cAAc,CAAC;IACrC,aAAa,EAAE,QAAQ,CAAC,gBAAgB,CAAC;IACzC,YAAY,EAAE,QAAQ,CAAC,eAAe,CAAC;IACvC,YAAY,EAAE,QAAQ,CAAC,eAAe,CAAC;IACvC,UAAU,EAAE,QAAQ,CAAC,aAAa,CAAC;IACnC,UAAU,EAAE,QAAQ,CAAC,aAAa,CAAC;IACnC,iBAAiB,EAAE,QAAQ,CAAC,oBAAoB,CAAC;IACjD,gBAAgB,EAAE,QAAQ,CAAC,mBAAmB,CAAC;IAC/C,uBAAuB,EAAE,QAAQ,CAAC,0BAA0B,CAAC;IAC7D,yBAAyB,EAAE,QAAQ,CAAC,4BAA4B,CAAC;IACjE,SAAS,EAAE,QAAQ,CAAC,YAAY,CAAC;IACjC,gBAAgB,EAAE,QAAQ,CAAC,mBAAmB,CAAC;IAC/C,eAAe,EAAE,QAAQ,CAAC,kBAAkB,CAAC;IAC7C,aAAa,EAAE,QAAQ,CAAC,gBAAgB,CAAC;CAC1C,CAAA"}
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
import type { HexString } from '../types/index.js';
|
|
2
|
+
import type { Callback } from '../utils/scriptHash.js';
|
|
3
|
+
import { type PolicyEntryInput } from '../utils/workflowExecute.js';
|
|
4
|
+
import { Entity } from './Entity.js';
|
|
5
|
+
import type { PoolNetwork } from './PoolNetwork.js';
|
|
6
|
+
export declare class OnchainPM extends Entity {
|
|
7
|
+
network: PoolNetwork;
|
|
8
|
+
/** Deployed contract address on this chain. */
|
|
9
|
+
address: HexString;
|
|
10
|
+
/** Current policy root for the given strategist. `bytes32(0)` means no policy is set. */
|
|
11
|
+
policy(strategist: HexString): import("../index.js").Query<`0x${string}`>;
|
|
12
|
+
/**
|
|
13
|
+
* Whether this OnchainPM is fully authorized to run workflows for the pool —
|
|
14
|
+
* i.e. it is both a balance sheet manager and a minter on the pool's
|
|
15
|
+
* accounting token. `authorizeOnchainPM` grants both; surface this so the UI
|
|
16
|
+
* can detect a partial/stale state and re-authorize.
|
|
17
|
+
*/
|
|
18
|
+
isAuthorized(): import("../index.js").Query<boolean>;
|
|
19
|
+
/**
|
|
20
|
+
* Executes a whitelisted weiroll script on-chain.
|
|
21
|
+
*
|
|
22
|
+
* Build the arguments with:
|
|
23
|
+
* - `buildScript()` → `{ commands, state, stateBitmap }`
|
|
24
|
+
* - `fillRuntimeSlots()` → final `state` with runtime values filled in
|
|
25
|
+
* - `generateExecuteProof()` → `proof`
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```typescript
|
|
29
|
+
* const { commands, state: rawState, stateBitmap } = buildScript(workflow, { poolContext, configurableValues })
|
|
30
|
+
* const state = fillRuntimeSlots(rawState, workflow, { amount: '0x...' })
|
|
31
|
+
* const proof = await generateExecuteProof(computeScriptHash(commands, rawState, stateBitmap, []), allGroupScriptHashes)
|
|
32
|
+
* await onchainPM.execute({ commands, state, stateBitmap, callbacks: [], proof })
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
execute(params: {
|
|
36
|
+
commands: HexString[];
|
|
37
|
+
state: HexString[];
|
|
38
|
+
stateBitmap: bigint;
|
|
39
|
+
callbacks: Callback[];
|
|
40
|
+
proof: HexString[];
|
|
41
|
+
}, options?: {
|
|
42
|
+
simulate?: boolean;
|
|
43
|
+
value?: bigint;
|
|
44
|
+
}): import("../types/transaction.js").Transaction;
|
|
45
|
+
/**
|
|
46
|
+
* Runs several whitelisted weiroll scripts in a single transaction via the
|
|
47
|
+
* OnchainPM's `multicall` — used to batch a strategist's "account"/accounting
|
|
48
|
+
* workflows (e.g. price updates) into one atomic accounting update. Each item is
|
|
49
|
+
* built exactly like {@link execute}'s argument; the items are ABI-encoded as
|
|
50
|
+
* `execute(...)` calls and batched, so they all succeed or revert together.
|
|
51
|
+
* `value` is the total native value forwarded to the multicall (sum of the
|
|
52
|
+
* individual workflows' values).
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* ```typescript
|
|
56
|
+
* await onchainPM.executeAccountingBatch([
|
|
57
|
+
* { commands, state, stateBitmap, callbacks: [], proof },
|
|
58
|
+
* { commands: c2, state: s2, stateBitmap: b2, callbacks: [], proof: p2 },
|
|
59
|
+
* ])
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
62
|
+
executeRawBatch(items: {
|
|
63
|
+
commands: HexString[];
|
|
64
|
+
state: HexString[];
|
|
65
|
+
stateBitmap: bigint;
|
|
66
|
+
callbacks: Callback[];
|
|
67
|
+
proof: HexString[];
|
|
68
|
+
}[], options?: {
|
|
69
|
+
simulate?: boolean;
|
|
70
|
+
value?: bigint;
|
|
71
|
+
}): import("../types/transaction.js").Transaction;
|
|
72
|
+
/**
|
|
73
|
+
* Build and run several whitelisted workflows in one atomic `multicall` — the accounting
|
|
74
|
+
* update. The SDK builds each `run` entry's script/proof from `policy` (the strategist's
|
|
75
|
+
* full whitelisted set on this chain, which defines the Merkle proof tree), derives the
|
|
76
|
+
* pool escrow, and sums the native value. Permission preflights are the caller's concern;
|
|
77
|
+
* a reverted workflow surfaces via `simulate`.
|
|
78
|
+
*/
|
|
79
|
+
executeAccountingBatch(input: {
|
|
80
|
+
policy: PolicyEntryInput[];
|
|
81
|
+
run: number[];
|
|
82
|
+
runtimeValues?: Record<number, Record<string, HexString>>;
|
|
83
|
+
strategist: HexString;
|
|
84
|
+
scId?: HexString;
|
|
85
|
+
}, options?: {
|
|
86
|
+
simulate?: boolean;
|
|
87
|
+
}): import("../types/transaction.js").Transaction;
|
|
88
|
+
/**
|
|
89
|
+
* Build and run a single whitelisted workflow. `policy` is the strategist's full
|
|
90
|
+
* whitelisted set on this chain (needed for the proof tree); `run` indexes the entry to
|
|
91
|
+
* execute. `runtimeValues` are the strategist's per-execution inputs (encoded).
|
|
92
|
+
*/
|
|
93
|
+
executeWorkflow(input: {
|
|
94
|
+
policy: PolicyEntryInput[];
|
|
95
|
+
run: number;
|
|
96
|
+
runtimeValues?: Record<string, HexString>;
|
|
97
|
+
strategist: HexString;
|
|
98
|
+
scId?: HexString;
|
|
99
|
+
}, options?: {
|
|
100
|
+
simulate?: boolean;
|
|
101
|
+
}): import("../types/transaction.js").Transaction;
|
|
102
|
+
/**
|
|
103
|
+
* Submits a Hub.updateContract() transaction to update this OnchainPM's
|
|
104
|
+
* policy root for a strategist. Called whenever workflows are added to or
|
|
105
|
+
* removed from a group.
|
|
106
|
+
*
|
|
107
|
+
* Rebuilds the Merkle root from `scriptHashes` and routes the update:
|
|
108
|
+
* Hub → Spoke contractUpdater → OnchainPM.trustedCall()
|
|
109
|
+
*
|
|
110
|
+
* Pass `scriptHashes: []` to set root to bytes32(0), which disables the strategist.
|
|
111
|
+
*
|
|
112
|
+
* The transaction is signed on the hub chain (pool.centrifugeId).
|
|
113
|
+
*/
|
|
114
|
+
updatePolicy(params: {
|
|
115
|
+
scId: HexString;
|
|
116
|
+
strategist: HexString;
|
|
117
|
+
/** The whitelisted set. The Merkle leaves are computed from this when `scriptHashes` is omitted. */
|
|
118
|
+
policy?: PolicyEntryInput[];
|
|
119
|
+
/** Pre-computed leaves. Pass `[]` to disable the strategist. Takes precedence over `policy`. */
|
|
120
|
+
scriptHashes?: HexString[];
|
|
121
|
+
refund?: HexString;
|
|
122
|
+
}): import("../types/transaction.js").Transaction;
|
|
123
|
+
}
|
|
124
|
+
export interface PolicyUpdateRequest {
|
|
125
|
+
/** Hub contract address for the target chain. */
|
|
126
|
+
hub: HexString;
|
|
127
|
+
/** Pool ID (uint64). */
|
|
128
|
+
poolId: bigint;
|
|
129
|
+
/** Share class ID (bytes16). */
|
|
130
|
+
scId: HexString;
|
|
131
|
+
/** Chain centrifuge ID (uint16). */
|
|
132
|
+
centrifugeId: number;
|
|
133
|
+
/** OnchainPM contract address to update. */
|
|
134
|
+
onchainPM: HexString;
|
|
135
|
+
/** Strategist Safe multisig address. */
|
|
136
|
+
strategist: HexString;
|
|
137
|
+
/**
|
|
138
|
+
* Script hashes — one per whitelisted workflow, computed via
|
|
139
|
+
* `computeScriptHash(commands, state, stateBitmap, [])`.
|
|
140
|
+
*
|
|
141
|
+
* Pass an empty array to disable the strategist (sets root to `bytes32(0)`).
|
|
142
|
+
*/
|
|
143
|
+
scriptHashes: HexString[];
|
|
144
|
+
/**
|
|
145
|
+
* Address that receives the cross-chain gas refund.
|
|
146
|
+
* Defaults to `strategist` when omitted.
|
|
147
|
+
*/
|
|
148
|
+
refund?: HexString;
|
|
149
|
+
}
|
|
150
|
+
export interface PolicyUpdateResult {
|
|
151
|
+
/** New Merkle root. `bytes32(0)` means the strategist is disabled. */
|
|
152
|
+
root: HexString;
|
|
153
|
+
/**
|
|
154
|
+
* ABI-encoded `Hub.updateContract()` calldata.
|
|
155
|
+
* Set this as the `data` field of a transaction sent to `hub`.
|
|
156
|
+
*/
|
|
157
|
+
calldata: HexString;
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* Builds an unsigned `Hub.updateContract()` call to update an OnchainPM
|
|
161
|
+
* strategist's policy root.
|
|
162
|
+
*
|
|
163
|
+
* The Merkle root is computed over `scriptHashes` using `SimpleMerkleTree`
|
|
164
|
+
* (order-invariant, compatible with `MerkleProofLib` on-chain). Routing:
|
|
165
|
+
*
|
|
166
|
+
* ```
|
|
167
|
+
* Hub.updateContract()
|
|
168
|
+
* → Spoke contractUpdater.trustedCall()
|
|
169
|
+
* → OnchainPM.trustedCall()
|
|
170
|
+
* → policy[strategist] = newRoot
|
|
171
|
+
* ```
|
|
172
|
+
*
|
|
173
|
+
* **Usage** (BE calls this whenever workflows are added to / removed from a group):
|
|
174
|
+
*
|
|
175
|
+
* ```typescript
|
|
176
|
+
* const { root, calldata } = await buildPolicyUpdate({
|
|
177
|
+
* hub, poolId, scId, centrifugeId, onchainPM, strategist,
|
|
178
|
+
* scriptHashes: workflows.map(w => computeScriptHash(w.commands, w.state, w.stateBitmap, [])),
|
|
179
|
+
* })
|
|
180
|
+
* // Return calldata + hub to FE → Hub manager (Safe) signs and executes
|
|
181
|
+
* ```
|
|
182
|
+
*/
|
|
183
|
+
export declare function buildPolicyUpdate(req: PolicyUpdateRequest): Promise<PolicyUpdateResult>;
|
|
184
|
+
/**
|
|
185
|
+
* Generates the Merkle inclusion proof required by `OnchainPM.execute()`.
|
|
186
|
+
*
|
|
187
|
+
* Rebuilds the same `SimpleMerkleTree` that `buildPolicyUpdate()` committed
|
|
188
|
+
* on-chain and returns `tree.getProof(index)` for the given `scriptHash`.
|
|
189
|
+
* Pass the result as the `proof` argument:
|
|
190
|
+
*
|
|
191
|
+
* ```typescript
|
|
192
|
+
* const proof = await generateExecuteProof(scriptHash, allGroupScriptHashes)
|
|
193
|
+
* // submit: OnchainPM.execute(commands, filledState, stateBitmap, [], proof)
|
|
194
|
+
* ```
|
|
195
|
+
*
|
|
196
|
+
* For a group with a single workflow the proof is `[]` — the Merkle root is
|
|
197
|
+
* the script hash itself, so no siblings are needed.
|
|
198
|
+
*
|
|
199
|
+
* @throws if `allScriptHashes` is empty (strategist has no whitelisted workflows)
|
|
200
|
+
* @throws if `scriptHash` is not present in `allScriptHashes`
|
|
201
|
+
*/
|
|
202
|
+
export declare function generateExecuteProof(scriptHash: HexString, allScriptHashes: HexString[]): Promise<HexString[]>;
|
|
203
|
+
//# sourceMappingURL=OnchainPM.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OnchainPM.d.ts","sourceRoot":"","sources":["../../src/entities/OnchainPM.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAElD,OAAO,KA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