@helium/idls
Advanced tools
Comparing version 0.0.48 to 0.0.49
@@ -37,2 +37,33 @@ "use strict"; | ||
{ | ||
"name": "updatePriceOracleV0", | ||
"accounts": [ | ||
{ | ||
"name": "priceOracle", | ||
"isMut": true, | ||
"isSigner": false, | ||
"relations": [ | ||
"authority" | ||
] | ||
}, | ||
{ | ||
"name": "authority", | ||
"isMut": true, | ||
"isSigner": true | ||
}, | ||
{ | ||
"name": "systemProgram", | ||
"isMut": false, | ||
"isSigner": false | ||
} | ||
], | ||
"args": [ | ||
{ | ||
"name": "args", | ||
"type": { | ||
"defined": "UpdatePriceOracleArgsV0" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "submitPriceV0", | ||
@@ -79,2 +110,6 @@ "accounts": [ | ||
{ | ||
"name": "authority", | ||
"type": "publicKey" | ||
}, | ||
{ | ||
"name": "numOracles", | ||
@@ -84,2 +119,6 @@ "type": "u8" | ||
{ | ||
"name": "decimals", | ||
"type": "u8" | ||
}, | ||
{ | ||
"name": "oracles", | ||
@@ -93,6 +132,2 @@ "type": { | ||
{ | ||
"name": "decimals", | ||
"type": "u8" | ||
}, | ||
{ | ||
"name": "currentPrice", | ||
@@ -130,2 +165,6 @@ "type": { | ||
"type": "u8" | ||
}, | ||
{ | ||
"name": "authority", | ||
"type": "publicKey" | ||
} | ||
@@ -152,2 +191,26 @@ ] | ||
{ | ||
"name": "UpdatePriceOracleArgsV0", | ||
"type": { | ||
"kind": "struct", | ||
"fields": [ | ||
{ | ||
"name": "oracles", | ||
"type": { | ||
"option": { | ||
"vec": { | ||
"defined": "OracleV0" | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "authority", | ||
"type": { | ||
"option": "publicKey" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "OracleV0", | ||
@@ -154,0 +217,0 @@ "type": { |
@@ -34,2 +34,33 @@ export const IDL = { | ||
{ | ||
"name": "updatePriceOracleV0", | ||
"accounts": [ | ||
{ | ||
"name": "priceOracle", | ||
"isMut": true, | ||
"isSigner": false, | ||
"relations": [ | ||
"authority" | ||
] | ||
}, | ||
{ | ||
"name": "authority", | ||
"isMut": true, | ||
"isSigner": true | ||
}, | ||
{ | ||
"name": "systemProgram", | ||
"isMut": false, | ||
"isSigner": false | ||
} | ||
], | ||
"args": [ | ||
{ | ||
"name": "args", | ||
"type": { | ||
"defined": "UpdatePriceOracleArgsV0" | ||
} | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "submitPriceV0", | ||
@@ -76,2 +107,6 @@ "accounts": [ | ||
{ | ||
"name": "authority", | ||
"type": "publicKey" | ||
}, | ||
{ | ||
"name": "numOracles", | ||
@@ -81,2 +116,6 @@ "type": "u8" | ||
{ | ||
"name": "decimals", | ||
"type": "u8" | ||
}, | ||
{ | ||
"name": "oracles", | ||
@@ -90,6 +129,2 @@ "type": { | ||
{ | ||
"name": "decimals", | ||
"type": "u8" | ||
}, | ||
{ | ||
"name": "currentPrice", | ||
@@ -127,2 +162,6 @@ "type": { | ||
"type": "u8" | ||
}, | ||
{ | ||
"name": "authority", | ||
"type": "publicKey" | ||
} | ||
@@ -149,2 +188,26 @@ ] | ||
{ | ||
"name": "UpdatePriceOracleArgsV0", | ||
"type": { | ||
"kind": "struct", | ||
"fields": [ | ||
{ | ||
"name": "oracles", | ||
"type": { | ||
"option": { | ||
"vec": { | ||
"defined": "OracleV0" | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "authority", | ||
"type": { | ||
"option": "publicKey" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"name": "OracleV0", | ||
@@ -151,0 +214,0 @@ "type": { |
@@ -34,2 +34,33 @@ export type PriceOracle = { | ||
{ | ||
"name": "updatePriceOracleV0"; | ||
"accounts": [ | ||
{ | ||
"name": "priceOracle"; | ||
"isMut": true; | ||
"isSigner": false; | ||
"relations": [ | ||
"authority" | ||
]; | ||
}, | ||
{ | ||
"name": "authority"; | ||
"isMut": true; | ||
"isSigner": true; | ||
}, | ||
{ | ||
"name": "systemProgram"; | ||
"isMut": false; | ||
"isSigner": false; | ||
} | ||
]; | ||
"args": [ | ||
{ | ||
"name": "args"; | ||
"type": { | ||
"defined": "UpdatePriceOracleArgsV0"; | ||
}; | ||
} | ||
]; | ||
}, | ||
{ | ||
"name": "submitPriceV0"; | ||
@@ -76,2 +107,6 @@ "accounts": [ | ||
{ | ||
"name": "authority"; | ||
"type": "publicKey"; | ||
}, | ||
{ | ||
"name": "numOracles"; | ||
@@ -81,2 +116,6 @@ "type": "u8"; | ||
{ | ||
"name": "decimals"; | ||
"type": "u8"; | ||
}, | ||
{ | ||
"name": "oracles"; | ||
@@ -90,6 +129,2 @@ "type": { | ||
{ | ||
"name": "decimals"; | ||
"type": "u8"; | ||
}, | ||
{ | ||
"name": "currentPrice"; | ||
@@ -127,2 +162,6 @@ "type": { | ||
"type": "u8"; | ||
}, | ||
{ | ||
"name": "authority"; | ||
"type": "publicKey"; | ||
} | ||
@@ -149,2 +188,26 @@ ]; | ||
{ | ||
"name": "UpdatePriceOracleArgsV0"; | ||
"type": { | ||
"kind": "struct"; | ||
"fields": [ | ||
{ | ||
"name": "oracles"; | ||
"type": { | ||
"option": { | ||
"vec": { | ||
"defined": "OracleV0"; | ||
}; | ||
}; | ||
}; | ||
}, | ||
{ | ||
"name": "authority"; | ||
"type": { | ||
"option": "publicKey"; | ||
}; | ||
} | ||
]; | ||
}; | ||
}, | ||
{ | ||
"name": "OracleV0"; | ||
@@ -151,0 +214,0 @@ "type": { |
{ | ||
"name": "@helium/idls", | ||
"version": "0.0.48", | ||
"version": "0.0.49", | ||
"description": "Exported idls", | ||
@@ -12,7 +12,4 @@ "publishConfig": { | ||
"type": "git", | ||
"url": "https://github.com/StrataFoundation/strata" | ||
"url": "https://github.com/helium/helium-program-library" | ||
}, | ||
"main": "./lib/cjs/data_credits.js", | ||
"module": "./lib/esm/src/data_credits.js", | ||
"types": "./lib/types/src/data_credits.d.ts", | ||
"sideEffects": false, | ||
@@ -23,5 +20,3 @@ "files": [ | ||
"exports": { | ||
"import": "./lib/esm/", | ||
"require": "./lib/cjs/", | ||
"types": "./lib/types/" | ||
"./*": "./lib/esm/*" | ||
}, | ||
@@ -46,3 +41,3 @@ "scripts": { | ||
}, | ||
"gitHead": "c52f24477392526a54984996b9561c33b441ff96" | ||
"gitHead": "8751d1acbb7b38f7c520fd2ad5732a1867ba7d1c" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1683900
62
34879