44/* eslint-disable */
55
66/*
7- Fuels version: 0.89.2
8- Forc version: 0.60.0
9- Fuel-Core version: 0.27 .0
7+ Fuels version: 0.92.1
8+ Forc version: 0.61.2
9+ Fuel-Core version: 0.31 .0
1010*/
1111
1212import type {
@@ -19,6 +19,7 @@ import type {
1919 FunctionFragment ,
2020 Interface ,
2121 InvokeFunction ,
22+ StrSlice ,
2223} from "fuels" ;
2324
2425import type { Enum , Vec } from "./common" ;
@@ -383,226 +384,6 @@ interface PythContractAbiInterface extends Interface {
383384 execute_governance_instruction : FunctionFragment ;
384385 governance_data_source : FunctionFragment ;
385386 } ;
386-
387- encodeFunctionData ( functionFragment : "owner" , values : [ ] ) : Uint8Array ;
388- encodeFunctionData (
389- functionFragment : "ema_price" ,
390- values : [ string ]
391- ) : Uint8Array ;
392- encodeFunctionData (
393- functionFragment : "ema_price_no_older_than" ,
394- values : [ BigNumberish , string ]
395- ) : Uint8Array ;
396- encodeFunctionData (
397- functionFragment : "ema_price_unsafe" ,
398- values : [ string ]
399- ) : Uint8Array ;
400- encodeFunctionData (
401- functionFragment : "parse_price_feed_updates" ,
402- values : [ BigNumberish , BigNumberish , Vec < string > , Vec < Bytes > ]
403- ) : Uint8Array ;
404- encodeFunctionData ( functionFragment : "price" , values : [ string ] ) : Uint8Array ;
405- encodeFunctionData (
406- functionFragment : "price_no_older_than" ,
407- values : [ BigNumberish , string ]
408- ) : Uint8Array ;
409- encodeFunctionData (
410- functionFragment : "price_unsafe" ,
411- values : [ string ]
412- ) : Uint8Array ;
413- encodeFunctionData (
414- functionFragment : "update_fee" ,
415- values : [ Vec < Bytes > ]
416- ) : Uint8Array ;
417- encodeFunctionData (
418- functionFragment : "update_price_feeds" ,
419- values : [ Vec < Bytes > ]
420- ) : Uint8Array ;
421- encodeFunctionData (
422- functionFragment : "update_price_feeds_if_necessary" ,
423- values : [ Vec < string > , Vec < BigNumberish > , Vec < Bytes > ]
424- ) : Uint8Array ;
425- encodeFunctionData (
426- functionFragment : "valid_time_period" ,
427- values : [ ]
428- ) : Uint8Array ;
429- encodeFunctionData (
430- functionFragment : "constructor" ,
431- values : [
432- Vec < DataSourceInput > ,
433- DataSourceInput ,
434- DataSourceInput ,
435- BigNumberish ,
436- BigNumberish ,
437- Vec < string > ,
438- BigNumberish ,
439- BigNumberish
440- ]
441- ) : Uint8Array ;
442- encodeFunctionData ( functionFragment : "chain_id" , values : [ ] ) : Uint8Array ;
443- encodeFunctionData (
444- functionFragment : "is_valid_data_source" ,
445- values : [ DataSourceInput ]
446- ) : Uint8Array ;
447- encodeFunctionData (
448- functionFragment : "last_executed_governance_sequence" ,
449- values : [ ]
450- ) : Uint8Array ;
451- encodeFunctionData (
452- functionFragment : "latest_publish_time" ,
453- values : [ string ]
454- ) : Uint8Array ;
455- encodeFunctionData (
456- functionFragment : "price_feed_exists" ,
457- values : [ string ]
458- ) : Uint8Array ;
459- encodeFunctionData (
460- functionFragment : "price_feed_unsafe" ,
461- values : [ string ]
462- ) : Uint8Array ;
463- encodeFunctionData (
464- functionFragment : "single_update_fee" ,
465- values : [ ]
466- ) : Uint8Array ;
467- encodeFunctionData (
468- functionFragment : "valid_data_sources" ,
469- values : [ ]
470- ) : Uint8Array ;
471- encodeFunctionData (
472- functionFragment : "current_guardian_set_index" ,
473- values : [ ]
474- ) : Uint8Array ;
475- encodeFunctionData (
476- functionFragment : "current_wormhole_provider" ,
477- values : [ ]
478- ) : Uint8Array ;
479- encodeFunctionData (
480- functionFragment : "governance_action_is_consumed" ,
481- values : [ string ]
482- ) : Uint8Array ;
483- encodeFunctionData (
484- functionFragment : "guardian_set" ,
485- values : [ BigNumberish ]
486- ) : Uint8Array ;
487- encodeFunctionData (
488- functionFragment : "submit_new_guardian_set" ,
489- values : [ Bytes ]
490- ) : Uint8Array ;
491- encodeFunctionData (
492- functionFragment : "execute_governance_instruction" ,
493- values : [ Bytes ]
494- ) : Uint8Array ;
495- encodeFunctionData (
496- functionFragment : "governance_data_source" ,
497- values : [ ]
498- ) : Uint8Array ;
499-
500- decodeFunctionData ( functionFragment : "owner" , data : BytesLike ) : DecodedValue ;
501- decodeFunctionData (
502- functionFragment : "ema_price" ,
503- data : BytesLike
504- ) : DecodedValue ;
505- decodeFunctionData (
506- functionFragment : "ema_price_no_older_than" ,
507- data : BytesLike
508- ) : DecodedValue ;
509- decodeFunctionData (
510- functionFragment : "ema_price_unsafe" ,
511- data : BytesLike
512- ) : DecodedValue ;
513- decodeFunctionData (
514- functionFragment : "parse_price_feed_updates" ,
515- data : BytesLike
516- ) : DecodedValue ;
517- decodeFunctionData ( functionFragment : "price" , data : BytesLike ) : DecodedValue ;
518- decodeFunctionData (
519- functionFragment : "price_no_older_than" ,
520- data : BytesLike
521- ) : DecodedValue ;
522- decodeFunctionData (
523- functionFragment : "price_unsafe" ,
524- data : BytesLike
525- ) : DecodedValue ;
526- decodeFunctionData (
527- functionFragment : "update_fee" ,
528- data : BytesLike
529- ) : DecodedValue ;
530- decodeFunctionData (
531- functionFragment : "update_price_feeds" ,
532- data : BytesLike
533- ) : DecodedValue ;
534- decodeFunctionData (
535- functionFragment : "update_price_feeds_if_necessary" ,
536- data : BytesLike
537- ) : DecodedValue ;
538- decodeFunctionData (
539- functionFragment : "valid_time_period" ,
540- data : BytesLike
541- ) : DecodedValue ;
542- decodeFunctionData (
543- functionFragment : "constructor" ,
544- data : BytesLike
545- ) : DecodedValue ;
546- decodeFunctionData (
547- functionFragment : "chain_id" ,
548- data : BytesLike
549- ) : DecodedValue ;
550- decodeFunctionData (
551- functionFragment : "is_valid_data_source" ,
552- data : BytesLike
553- ) : DecodedValue ;
554- decodeFunctionData (
555- functionFragment : "last_executed_governance_sequence" ,
556- data : BytesLike
557- ) : DecodedValue ;
558- decodeFunctionData (
559- functionFragment : "latest_publish_time" ,
560- data : BytesLike
561- ) : DecodedValue ;
562- decodeFunctionData (
563- functionFragment : "price_feed_exists" ,
564- data : BytesLike
565- ) : DecodedValue ;
566- decodeFunctionData (
567- functionFragment : "price_feed_unsafe" ,
568- data : BytesLike
569- ) : DecodedValue ;
570- decodeFunctionData (
571- functionFragment : "single_update_fee" ,
572- data : BytesLike
573- ) : DecodedValue ;
574- decodeFunctionData (
575- functionFragment : "valid_data_sources" ,
576- data : BytesLike
577- ) : DecodedValue ;
578- decodeFunctionData (
579- functionFragment : "current_guardian_set_index" ,
580- data : BytesLike
581- ) : DecodedValue ;
582- decodeFunctionData (
583- functionFragment : "current_wormhole_provider" ,
584- data : BytesLike
585- ) : DecodedValue ;
586- decodeFunctionData (
587- functionFragment : "governance_action_is_consumed" ,
588- data : BytesLike
589- ) : DecodedValue ;
590- decodeFunctionData (
591- functionFragment : "guardian_set" ,
592- data : BytesLike
593- ) : DecodedValue ;
594- decodeFunctionData (
595- functionFragment : "submit_new_guardian_set" ,
596- data : BytesLike
597- ) : DecodedValue ;
598- decodeFunctionData (
599- functionFragment : "execute_governance_instruction" ,
600- data : BytesLike
601- ) : DecodedValue ;
602- decodeFunctionData (
603- functionFragment : "governance_data_source" ,
604- data : BytesLike
605- ) : DecodedValue ;
606387}
607388
608389export class PythContractAbi extends Contract {
0 commit comments