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