parent
1371f18e84
commit
f5d11c248d
|
@ -253,7 +253,7 @@ multisigCommand(
|
|||
getPythProgramKeyForCluster(cluster),
|
||||
provider
|
||||
)
|
||||
.methods.initPrice(exponent, 1)
|
||||
.methods.setExponent(exponent, 1)
|
||||
.accounts({ fundingAccount: vaultAuthority, priceAccount })
|
||||
.instruction();
|
||||
await proposeInstructions(squad, vault, [proposalInstruction], false);
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@certusone/wormhole-sdk": "^0.9.8",
|
||||
"@pythnetwork/client": "^2.16.0",
|
||||
"@pythnetwork/client": "^2.17.0",
|
||||
"@solana/buffer-layout": "^4.0.1",
|
||||
"@solana/web3.js": "^1.73.0",
|
||||
"@sqds/mesh": "^1.0.6",
|
||||
|
|
|
@ -399,7 +399,7 @@ const General = () => {
|
|||
// create update exponent instruction
|
||||
instructions.push(
|
||||
await pythProgramClient.methods
|
||||
.initPrice(newChanges.priceAccounts[0].expo, 1)
|
||||
.setExponent(newChanges.priceAccounts[0].expo, 1)
|
||||
.accounts({
|
||||
fundingAccount,
|
||||
priceAccount: new PublicKey(prev.priceAccounts[0].address),
|
||||
|
|
|
@ -1384,7 +1384,7 @@
|
|||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@certusone/wormhole-sdk": "^0.9.8",
|
||||
"@pythnetwork/client": "^2.16.0",
|
||||
"@pythnetwork/client": "^2.17.0",
|
||||
"@solana/buffer-layout": "^4.0.1",
|
||||
"@solana/web3.js": "^1.73.0",
|
||||
"@sqds/mesh": "^1.0.6",
|
||||
|
@ -11193,9 +11193,9 @@
|
|||
"integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw=="
|
||||
},
|
||||
"node_modules/@pythnetwork/client": {
|
||||
"version": "2.16.0",
|
||||
"resolved": "https://registry.npmjs.org/@pythnetwork/client/-/client-2.16.0.tgz",
|
||||
"integrity": "sha512-56mNi40k8NPWO5w9v8AcMH7R5tOq/pusGDwUbde9WVEV9Jr3Yuob06mywpjOPzVps8kyL18o45pipzoJbZhsZw==",
|
||||
"version": "2.17.0",
|
||||
"resolved": "https://registry.npmjs.org/@pythnetwork/client/-/client-2.17.0.tgz",
|
||||
"integrity": "sha512-hv285vehmLH6N762Z4jqvPTM+hCYnXQaUp6DMgLUpDHvE0mTbwW9PvlxYoUJZGtyeCDkgn9HrTWXPtnaXTRr+Q==",
|
||||
"dependencies": {
|
||||
"@coral-xyz/anchor": "^0.26.0",
|
||||
"@coral-xyz/borsh": "^0.26.0",
|
||||
|
@ -57908,9 +57908,9 @@
|
|||
"integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw=="
|
||||
},
|
||||
"@pythnetwork/client": {
|
||||
"version": "2.16.0",
|
||||
"resolved": "https://registry.npmjs.org/@pythnetwork/client/-/client-2.16.0.tgz",
|
||||
"integrity": "sha512-56mNi40k8NPWO5w9v8AcMH7R5tOq/pusGDwUbde9WVEV9Jr3Yuob06mywpjOPzVps8kyL18o45pipzoJbZhsZw==",
|
||||
"version": "2.17.0",
|
||||
"resolved": "https://registry.npmjs.org/@pythnetwork/client/-/client-2.17.0.tgz",
|
||||
"integrity": "sha512-hv285vehmLH6N762Z4jqvPTM+hCYnXQaUp6DMgLUpDHvE0mTbwW9PvlxYoUJZGtyeCDkgn9HrTWXPtnaXTRr+Q==",
|
||||
"requires": {
|
||||
"@coral-xyz/anchor": "^0.26.0",
|
||||
"@coral-xyz/borsh": "^0.26.0",
|
||||
|
@ -91394,7 +91394,7 @@
|
|||
"version": "file:governance/xc_admin/packages/xc_admin_common",
|
||||
"requires": {
|
||||
"@certusone/wormhole-sdk": "^0.9.8",
|
||||
"@pythnetwork/client": "^2.16.0",
|
||||
"@pythnetwork/client": "^2.17.0",
|
||||
"@solana/buffer-layout": "^4.0.1",
|
||||
"@solana/web3.js": "^1.73.0",
|
||||
"@sqds/mesh": "^1.0.6",
|
||||
|
|
Loading…
Reference in New Issue