Explorar o código

chore(target_chains/fuel): update abi (#1800)

* update abi

* update abi
Daniel Chew hai 1 ano
pai
achega
8bec01505f

+ 6 - 1
target_chains/fuel/contracts/pyth-contract/out/release/pyth-contract-abi.json

@@ -143,6 +143,11 @@
           "type": 0,
           "typeArguments": null
         },
+        {
+          "name": "FuturePriceNotAllowed",
+          "type": 0,
+          "typeArguments": null
+        },
         {
           "name": "GuardianSetNotFound",
           "type": 0,
@@ -1838,7 +1843,7 @@
         "type": 6,
         "typeArguments": []
       },
-      "offset": 117008
+      "offset": 117592
     }
   ]
 }

BIN=BIN
target_chains/fuel/contracts/pyth-contract/out/release/pyth-contract.bin


+ 6 - 1
target_chains/fuel/sdk/js/src/abi/pyth-contract-abi.json

@@ -143,6 +143,11 @@
           "type": 0,
           "typeArguments": null
         },
+        {
+          "name": "FuturePriceNotAllowed",
+          "type": 0,
+          "typeArguments": null
+        },
         {
           "name": "GuardianSetNotFound",
           "type": 0,
@@ -1838,7 +1843,7 @@
         "type": 6,
         "typeArguments": []
       },
-      "offset": 117008
+      "offset": 117592
     }
   ]
 }

+ 2 - 0
target_chains/fuel/sdk/js/src/types/PythContractAbi.d.ts

@@ -78,6 +78,7 @@ export enum InitializationErrorOutput {
 }
 export enum PythErrorInput {
   FeesCanOnlyBePaidInTheBaseAsset = "FeesCanOnlyBePaidInTheBaseAsset",
+  FuturePriceNotAllowed = "FuturePriceNotAllowed",
   GuardianSetNotFound = "GuardianSetNotFound",
   IncorrectMessageType = "IncorrectMessageType",
   InsufficientFee = "InsufficientFee",
@@ -114,6 +115,7 @@ export enum PythErrorInput {
 }
 export enum PythErrorOutput {
   FeesCanOnlyBePaidInTheBaseAsset = "FeesCanOnlyBePaidInTheBaseAsset",
+  FuturePriceNotAllowed = "FuturePriceNotAllowed",
   GuardianSetNotFound = "GuardianSetNotFound",
   IncorrectMessageType = "IncorrectMessageType",
   InsufficientFee = "InsufficientFee",

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
target_chains/fuel/sdk/js/src/types/PythContractAbi.hex.ts


+ 7 - 1
target_chains/fuel/sdk/js/src/types/factories/PythContractAbi__factory.ts

@@ -169,6 +169,11 @@ const _abi = {
           type: 0,
           typeArguments: null,
         },
+        {
+          name: "FuturePriceNotAllowed",
+          type: 0,
+          typeArguments: null,
+        },
         {
           name: "GuardianSetNotFound",
           type: 0,
@@ -1864,7 +1869,7 @@ const _abi = {
         type: 6,
         typeArguments: [],
       },
-      offset: 117008,
+      offset: 117592,
     },
   ],
 };
@@ -1919,6 +1924,7 @@ const _storageSlots: StorageSlot[] = [
     value: "0000000000000000000000000000000000000000000000000000000000000000",
   },
 ];
+
 export const PythContractAbi__factory = {
   abi: _abi,
 

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio