@ripe-finance/sdk 1.15.2 → 1.15.3
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/contracts/ChainlinkPrices.d.ts +3 -0
- package/dist/contracts/ChainlinkPrices.d.ts.map +1 -1
- package/dist/contracts/ChainlinkPrices.js +5 -1
- package/dist/contracts/DefaultsBase.d.ts +260 -40
- package/dist/contracts/DefaultsBase.d.ts.map +1 -1
- package/dist/contracts/DefaultsBase.js +266 -35
- package/dist/contracts/MissionControl.d.ts +45 -6
- package/dist/contracts/MissionControl.d.ts.map +1 -1
- package/dist/contracts/MissionControl.js +58 -6
- package/dist/contracts/PythPrices.js +1 -1
- package/dist/contracts/RedStone.js +1 -1
- package/dist/contracts/StorkPrices.js +1 -1
- package/dist/contracts/Switchboard.js +1 -1
- package/dist/contracts/SwitchboardAlpha.d.ts +590 -301
- package/dist/contracts/SwitchboardAlpha.d.ts.map +1 -1
- package/dist/contracts/SwitchboardAlpha.js +707 -277
- package/dist/contracts/SwitchboardBravo.d.ts +241 -191
- package/dist/contracts/SwitchboardBravo.d.ts.map +1 -1
- package/dist/contracts/SwitchboardBravo.js +301 -217
- package/dist/contracts/SwitchboardCharlie.d.ts +786 -28
- package/dist/contracts/SwitchboardCharlie.d.ts.map +1 -1
- package/dist/contracts/SwitchboardCharlie.js +1440 -470
- package/dist/contracts/SwitchboardDelta.d.ts +519 -8
- package/dist/contracts/SwitchboardDelta.d.ts.map +1 -1
- package/dist/contracts/SwitchboardDelta.js +702 -33
- package/dist/contracts/SwitchboardEcho.js +1 -1
- package/dist/contracts/UndyVaultPrices.js +1 -1
- package/dist/index.d.ts +96 -61
- package/dist/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -855,7 +855,7 @@ export const abi = [
|
|
|
855
855
|
name: 'setCanPerformLiteAction',
|
|
856
856
|
inputs: [
|
|
857
857
|
{
|
|
858
|
-
name: '
|
|
858
|
+
name: '_signer',
|
|
859
859
|
type: 'address',
|
|
860
860
|
},
|
|
861
861
|
{
|
|
@@ -865,6 +865,23 @@ export const abi = [
|
|
|
865
865
|
],
|
|
866
866
|
outputs: [],
|
|
867
867
|
},
|
|
868
|
+
{
|
|
869
|
+
stateMutability: 'view',
|
|
870
|
+
type: 'function',
|
|
871
|
+
name: 'canPerformLiteAction',
|
|
872
|
+
inputs: [
|
|
873
|
+
{
|
|
874
|
+
name: '_signer',
|
|
875
|
+
type: 'address',
|
|
876
|
+
},
|
|
877
|
+
],
|
|
878
|
+
outputs: [
|
|
879
|
+
{
|
|
880
|
+
name: '',
|
|
881
|
+
type: 'bool',
|
|
882
|
+
},
|
|
883
|
+
],
|
|
884
|
+
},
|
|
868
885
|
{
|
|
869
886
|
stateMutability: 'nonpayable',
|
|
870
887
|
type: 'function',
|
|
@@ -2675,7 +2692,24 @@ export const abi = [
|
|
|
2675
2692
|
{
|
|
2676
2693
|
stateMutability: 'view',
|
|
2677
2694
|
type: 'function',
|
|
2678
|
-
name: '
|
|
2695
|
+
name: 'liteSigners',
|
|
2696
|
+
inputs: [
|
|
2697
|
+
{
|
|
2698
|
+
name: 'arg0',
|
|
2699
|
+
type: 'uint256',
|
|
2700
|
+
},
|
|
2701
|
+
],
|
|
2702
|
+
outputs: [
|
|
2703
|
+
{
|
|
2704
|
+
name: '',
|
|
2705
|
+
type: 'address',
|
|
2706
|
+
},
|
|
2707
|
+
],
|
|
2708
|
+
},
|
|
2709
|
+
{
|
|
2710
|
+
stateMutability: 'view',
|
|
2711
|
+
type: 'function',
|
|
2712
|
+
name: 'indexOfLiteSigner',
|
|
2679
2713
|
inputs: [
|
|
2680
2714
|
{
|
|
2681
2715
|
name: 'arg0',
|
|
@@ -2685,7 +2719,19 @@ export const abi = [
|
|
|
2685
2719
|
outputs: [
|
|
2686
2720
|
{
|
|
2687
2721
|
name: '',
|
|
2688
|
-
type: '
|
|
2722
|
+
type: 'uint256',
|
|
2723
|
+
},
|
|
2724
|
+
],
|
|
2725
|
+
},
|
|
2726
|
+
{
|
|
2727
|
+
stateMutability: 'view',
|
|
2728
|
+
type: 'function',
|
|
2729
|
+
name: 'numLiteSigners',
|
|
2730
|
+
inputs: [],
|
|
2731
|
+
outputs: [
|
|
2732
|
+
{
|
|
2733
|
+
name: '',
|
|
2734
|
+
type: 'uint256',
|
|
2689
2735
|
},
|
|
2690
2736
|
],
|
|
2691
2737
|
},
|
|
@@ -2758,7 +2804,7 @@ export const abi = [
|
|
|
2758
2804
|
outputs: [],
|
|
2759
2805
|
},
|
|
2760
2806
|
];
|
|
2761
|
-
export const deployAddress = '
|
|
2807
|
+
export const deployAddress = '0x559E53F42b68b4995732Dba4aF300796761DBC19';
|
|
2762
2808
|
function getRequest(method, args, contractAddressOrOptions) {
|
|
2763
2809
|
const address = typeof contractAddressOrOptions === 'string' ? contractAddressOrOptions : contractAddressOrOptions?.contractAddress;
|
|
2764
2810
|
const defaultValue = typeof contractAddressOrOptions === 'string' ? undefined : contractAddressOrOptions?.defaultValue;
|
|
@@ -2792,6 +2838,7 @@ export const call = {
|
|
|
2792
2838
|
canMintGreen: (...args) => getRequest('canMintGreen', args),
|
|
2793
2839
|
canMintRipe: (...args) => getRequest('canMintRipe', args),
|
|
2794
2840
|
isPaused: (...args) => getRequest('isPaused', args),
|
|
2841
|
+
canPerformLiteAction: (...args) => getRequest('canPerformLiteAction', args),
|
|
2795
2842
|
isSupportedAsset: (...args) => getRequest('isSupportedAsset', args),
|
|
2796
2843
|
isSupportedAssetInVault: (...args) => getRequest('isSupportedAssetInVault', args),
|
|
2797
2844
|
getNumAssets: (...args) => getRequest('getNumAssets', args),
|
|
@@ -2836,7 +2883,9 @@ export const call = {
|
|
|
2836
2883
|
ripeGovVaultConfig: (...args) => getRequest('ripeGovVaultConfig', args),
|
|
2837
2884
|
priorityLiqAssetVaults: (...args) => getRequest('priorityLiqAssetVaults', args),
|
|
2838
2885
|
priorityStabVaults: (...args) => getRequest('priorityStabVaults', args),
|
|
2839
|
-
|
|
2886
|
+
liteSigners: (...args) => getRequest('liteSigners', args),
|
|
2887
|
+
indexOfLiteSigner: (...args) => getRequest('indexOfLiteSigner', args),
|
|
2888
|
+
numLiteSigners: (...args) => getRequest('numLiteSigners', args),
|
|
2840
2889
|
priorityPriceSourceIds: (...args) => getRequest('priorityPriceSourceIds', args),
|
|
2841
2890
|
underscoreRegistry: (...args) => getRequest('underscoreRegistry', args),
|
|
2842
2891
|
trainingWheels: (...args) => getRequest('trainingWheels', args),
|
|
@@ -2883,6 +2932,7 @@ export function toSdk(publicClient, walletClient) {
|
|
|
2883
2932
|
canMintGreen: (...args) => singleQuery(publicClient, call.canMintGreen(...args)),
|
|
2884
2933
|
canMintRipe: (...args) => singleQuery(publicClient, call.canMintRipe(...args)),
|
|
2885
2934
|
isPaused: (...args) => singleQuery(publicClient, call.isPaused(...args)),
|
|
2935
|
+
canPerformLiteAction: (...args) => singleQuery(publicClient, call.canPerformLiteAction(...args)),
|
|
2886
2936
|
isSupportedAsset: (...args) => singleQuery(publicClient, call.isSupportedAsset(...args)),
|
|
2887
2937
|
isSupportedAssetInVault: (...args) => singleQuery(publicClient, call.isSupportedAssetInVault(...args)),
|
|
2888
2938
|
getNumAssets: (...args) => singleQuery(publicClient, call.getNumAssets(...args)),
|
|
@@ -2927,7 +2977,9 @@ export function toSdk(publicClient, walletClient) {
|
|
|
2927
2977
|
ripeGovVaultConfig: (...args) => singleQuery(publicClient, call.ripeGovVaultConfig(...args)),
|
|
2928
2978
|
priorityLiqAssetVaults: (...args) => singleQuery(publicClient, call.priorityLiqAssetVaults(...args)),
|
|
2929
2979
|
priorityStabVaults: (...args) => singleQuery(publicClient, call.priorityStabVaults(...args)),
|
|
2930
|
-
|
|
2980
|
+
liteSigners: (...args) => singleQuery(publicClient, call.liteSigners(...args)),
|
|
2981
|
+
indexOfLiteSigner: (...args) => singleQuery(publicClient, call.indexOfLiteSigner(...args)),
|
|
2982
|
+
numLiteSigners: (...args) => singleQuery(publicClient, call.numLiteSigners(...args)),
|
|
2931
2983
|
priorityPriceSourceIds: (...args) => singleQuery(publicClient, call.priorityPriceSourceIds(...args)),
|
|
2932
2984
|
underscoreRegistry: (...args) => singleQuery(publicClient, call.underscoreRegistry(...args)),
|
|
2933
2985
|
trainingWheels: (...args) => singleQuery(publicClient, call.trainingWheels(...args)),
|
|
@@ -1825,7 +1825,7 @@ export const abi = [
|
|
|
1825
1825
|
outputs: [],
|
|
1826
1826
|
},
|
|
1827
1827
|
];
|
|
1828
|
-
export const deployAddress = '
|
|
1828
|
+
export const deployAddress = '0x16371fAf6f603f8d8D6cef8C46253c80AdEe8b98';
|
|
1829
1829
|
function getRequest(method, args, contractAddressOrOptions) {
|
|
1830
1830
|
const address = typeof contractAddressOrOptions === 'string' ? contractAddressOrOptions : contractAddressOrOptions?.contractAddress;
|
|
1831
1831
|
const defaultValue = typeof contractAddressOrOptions === 'string' ? undefined : contractAddressOrOptions?.defaultValue;
|
|
@@ -1829,7 +1829,7 @@ export const abi = [
|
|
|
1829
1829
|
outputs: [],
|
|
1830
1830
|
},
|
|
1831
1831
|
];
|
|
1832
|
-
export const deployAddress = '
|
|
1832
|
+
export const deployAddress = '0x9f20F25f037046721A292B19A486932ef390EAf9';
|
|
1833
1833
|
function getRequest(method, args, contractAddressOrOptions) {
|
|
1834
1834
|
const address = typeof contractAddressOrOptions === 'string' ? contractAddressOrOptions : contractAddressOrOptions?.contractAddress;
|
|
1835
1835
|
const defaultValue = typeof contractAddressOrOptions === 'string' ? undefined : contractAddressOrOptions?.defaultValue;
|
|
@@ -1763,7 +1763,7 @@ export const abi = [
|
|
|
1763
1763
|
outputs: [],
|
|
1764
1764
|
},
|
|
1765
1765
|
];
|
|
1766
|
-
export const deployAddress = '
|
|
1766
|
+
export const deployAddress = '0xceE8Ed804f72b6EcB6B2D679ca17B545bD654bF6';
|
|
1767
1767
|
function getRequest(method, args, contractAddressOrOptions) {
|
|
1768
1768
|
const address = typeof contractAddressOrOptions === 'string' ? contractAddressOrOptions : contractAddressOrOptions?.contractAddress;
|
|
1769
1769
|
const defaultValue = typeof contractAddressOrOptions === 'string' ? undefined : contractAddressOrOptions?.defaultValue;
|
|
@@ -1619,7 +1619,7 @@ export const abi = [
|
|
|
1619
1619
|
outputs: [],
|
|
1620
1620
|
},
|
|
1621
1621
|
];
|
|
1622
|
-
export const deployAddress = '
|
|
1622
|
+
export const deployAddress = '0x20Fb680786004902DaCa00b1070B32F070716Cab';
|
|
1623
1623
|
function getRequest(method, args, contractAddressOrOptions) {
|
|
1624
1624
|
const address = typeof contractAddressOrOptions === 'string' ? contractAddressOrOptions : contractAddressOrOptions?.contractAddress;
|
|
1625
1625
|
const defaultValue = typeof contractAddressOrOptions === 'string' ? undefined : contractAddressOrOptions?.defaultValue;
|