Skip to content

Commit 17fd499

Browse files
authored
update fuel abi (#21)
* update fuel abi * update abi
1 parent 36198da commit 17fd499

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

price_feeds/fuel/fetch-and-update-btc-price/.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ NEXT_PUBLIC_HAS_CONTRACT=true
22
NEXT_PUBLIC_HAS_PREDICATE=true
33
NEXT_PUBLIC_HAS_SCRIPT=true
44
NEXT_PUBLIC_DAPP_ENVIRONMENT=testnet
5-
NEXT_PUBLIC_TESTNET_CONTRACT_ID=0x3e2f83f9bb6dd9bafc3e58bf40f091f3cc1304bd025a2fc70f0e6b2632a46799
6-
NEXT_PUBLIC_PYTH_TESTNET_CONTRACT_ID=0x1ab91bc1402a187055d3e827017ace566a103ce2a4126517da5d656d6a436aea
5+
NEXT_PUBLIC_TESTNET_CONTRACT_ID=0x657ed30041e69a9138caf8ccb27e51be7ff306082a7d7cd2092bad08b8e20d1f
6+
NEXT_PUBLIC_PYTH_TESTNET_CONTRACT_ID=0x273172b23903a5587d034173f9c607c6473dc55afecec4b9efa3a1f9da5f27f6
77
NEXT_PUBLIC_HERMES_BTC_URL="https://hermes.pyth.network/v2/updates/price/latest?ids[]="

price_feeds/fuel/fetch-and-update-btc-price/src/abi/pyth-contract-abi.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,11 @@
143143
"type": 0,
144144
"typeArguments": null
145145
},
146+
{
147+
"name": "FuturePriceNotAllowed",
148+
"type": 0,
149+
"typeArguments": null
150+
},
146151
{
147152
"name": "GuardianSetNotFound",
148153
"type": 0,
@@ -1838,7 +1843,7 @@
18381843
"type": 6,
18391844
"typeArguments": []
18401845
},
1841-
"offset": 129616
1846+
"offset": 117592
18421847
}
18431848
]
18441849
}

price_feeds/fuel/fetch-and-update-btc-price/sway-programs/Forc.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ source = "path+from-root-2AB5BCE55EAAEFF4"
44

55
[[package]]
66
name = "pyth_interface"
7-
source = "git+https://github.com/pyth-network/pyth-crosschain?tag=pyth-fuel-contract-v0.4.0#63e528b7d2482e676bfd7492223f665f107b7e29"
7+
source = "git+https://github.com/pyth-network/pyth-crosschain?tag=pyth-fuel-contract-v0.5.0#8bec01505fafd7b53df7858a6a87ede20dc5e730"
88
dependencies = [
99
"standards",
1010
"std",

price_feeds/fuel/fetch-and-update-btc-price/sway-programs/contract/Forc.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ license = "Apache-2.0"
55
name = "test-contract"
66

77
[dependencies]
8-
pyth_interface = { git = "https://github.com/pyth-network/pyth-crosschain", tag = "pyth-fuel-contract-v0.4.0" }
8+
pyth_interface = { git = "https://github.com/pyth-network/pyth-crosschain", tag = "pyth-fuel-contract-v0.5.0" }

0 commit comments

Comments
 (0)