Skip to content

Commit

Permalink
Update Candid interface
Browse files Browse the repository at this point in the history
  • Loading branch information
rvanasa committed Sep 13, 2023
1 parent 660d08b commit 2b266f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions candid/ic_eth.did
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@ type RegisteredProvider = record {
type Result = variant { Ok : vec nat8; Err : EthRpcError };
service : {
authorize : (principal, Auth) -> ();
cycles_cost : (text, text, nat64) -> (nat);
deauthorize : (principal, Auth) -> ();
get_authorized : (Auth) -> (vec text) query;
get_nodes_in_subnet : () -> (nat32) query;
get_open_rpc_access : () -> (bool) query;
get_owed_cycles : (nat64) -> (nat) query;
get_providers : () -> (vec RegisteredProvider) query;
provider_cycles_cost : (nat64, text) -> (opt nat);
provider_request : (nat64, text, nat64) -> (Result);
provider_request_cost : (nat64, text) -> (opt nat);
register_provider : (RegisterProvider) -> (nat64);
request : (text, text, nat64) -> (Result);
request_cost : (text, text, nat64) -> (nat);
set_nodes_in_subnet : (nat32) -> ();
set_open_rpc_access : (bool) -> ();
unregister_provider : (nat64) -> ();
Expand Down

0 comments on commit 2b266f9

Please sign in to comment.