@@ -1078,51 +1078,6 @@ pub mod evm_host {
1078
1078
} ,
1079
1079
] ,
1080
1080
) ,
1081
- (
1082
- :: std:: borrow:: ToOwned :: to_owned ( "setHostParamsAdmin" ) ,
1083
- :: std:: vec![
1084
- :: ethers:: core:: abi:: ethabi:: Function {
1085
- name: :: std:: borrow:: ToOwned :: to_owned( "setHostParamsAdmin" ) ,
1086
- inputs: :: std:: vec![
1087
- :: ethers:: core:: abi:: ethabi:: Param {
1088
- name: :: std:: borrow:: ToOwned :: to_owned( "params" ) ,
1089
- kind: :: ethers:: core:: abi:: ethabi:: ParamType :: Tuple (
1090
- :: std:: vec![
1091
- :: ethers:: core:: abi:: ethabi:: ParamType :: Uint ( 256usize ) ,
1092
- :: ethers:: core:: abi:: ethabi:: ParamType :: Uint ( 256usize ) ,
1093
- :: ethers:: core:: abi:: ethabi:: ParamType :: Uint ( 256usize ) ,
1094
- :: ethers:: core:: abi:: ethabi:: ParamType :: Address ,
1095
- :: ethers:: core:: abi:: ethabi:: ParamType :: Address ,
1096
- :: ethers:: core:: abi:: ethabi:: ParamType :: Address ,
1097
- :: ethers:: core:: abi:: ethabi:: ParamType :: Address ,
1098
- :: ethers:: core:: abi:: ethabi:: ParamType :: Address ,
1099
- :: ethers:: core:: abi:: ethabi:: ParamType :: Uint ( 256usize ) ,
1100
- :: ethers:: core:: abi:: ethabi:: ParamType :: Uint ( 256usize ) ,
1101
- :: ethers:: core:: abi:: ethabi:: ParamType :: Address ,
1102
- :: ethers:: core:: abi:: ethabi:: ParamType :: Array (
1103
- :: std:: boxed:: Box :: new(
1104
- :: ethers:: core:: abi:: ethabi:: ParamType :: Uint ( 256usize ) ,
1105
- ) ,
1106
- ) ,
1107
- :: ethers:: core:: abi:: ethabi:: ParamType :: Array (
1108
- :: std:: boxed:: Box :: new(
1109
- :: ethers:: core:: abi:: ethabi:: ParamType :: Address ,
1110
- ) ,
1111
- ) ,
1112
- :: ethers:: core:: abi:: ethabi:: ParamType :: Bytes ,
1113
- ] ,
1114
- ) ,
1115
- internal_type: :: core:: option:: Option :: Some (
1116
- :: std:: borrow:: ToOwned :: to_owned( "struct HostParams" ) ,
1117
- ) ,
1118
- } ,
1119
- ] ,
1120
- outputs: :: std:: vec![ ] ,
1121
- constant: :: core:: option:: Option :: None ,
1122
- state_mutability: :: ethers:: core:: abi:: ethabi:: StateMutability :: NonPayable ,
1123
- } ,
1124
- ] ,
1125
- ) ,
1126
1081
(
1127
1082
:: std:: borrow:: ToOwned :: to_owned ( "stateCommitmentFee" ) ,
1128
1083
:: std:: vec![
@@ -1584,6 +1539,13 @@ pub mod evm_host {
1584
1539
) ,
1585
1540
indexed: false ,
1586
1541
} ,
1542
+ :: ethers:: core:: abi:: ethabi:: EventParam {
1543
+ name: :: std:: borrow:: ToOwned :: to_owned( "fee" ) ,
1544
+ kind: :: ethers:: core:: abi:: ethabi:: ParamType :: Uint (
1545
+ 256usize ,
1546
+ ) ,
1547
+ indexed: false ,
1548
+ } ,
1587
1549
] ,
1588
1550
anonymous: false ,
1589
1551
} ,
@@ -2625,15 +2587,6 @@ pub mod evm_host {
2625
2587
. method_hash ( [ 106 , 200 , 139 , 173 ] , new_state)
2626
2588
. expect ( "method not found (this should never happen)" )
2627
2589
}
2628
- ///Calls the contract's `setHostParamsAdmin` (0x928af6d3) function
2629
- pub fn set_host_params_admin (
2630
- & self ,
2631
- params : HostParams ,
2632
- ) -> :: ethers:: contract:: builders:: ContractCall < M , ( ) > {
2633
- self . 0
2634
- . method_hash ( [ 146 , 138 , 246 , 211 ] , ( params, ) )
2635
- . expect ( "method not found (this should never happen)" )
2636
- }
2637
2590
///Calls the contract's `stateCommitmentFee` (0xb5c8a08e) function
2638
2591
pub fn state_commitment_fee (
2639
2592
& self ,
@@ -3448,7 +3401,7 @@ pub mod evm_host {
3448
3401
) ]
3449
3402
#[ ethevent(
3450
3403
name = "GetRequestEvent" ,
3451
- abi = "GetRequestEvent(string,string,address,bytes[],uint256,uint256,uint256)"
3404
+ abi = "GetRequestEvent(string,string,address,bytes[],uint256,uint256,uint256,uint256 )"
3452
3405
) ]
3453
3406
pub struct GetRequestEventFilter {
3454
3407
pub source : :: std:: string:: String ,
@@ -3459,6 +3412,7 @@ pub mod evm_host {
3459
3412
pub height : :: ethers:: core:: types:: U256 ,
3460
3413
pub nonce : :: ethers:: core:: types:: U256 ,
3461
3414
pub timeout_timestamp : :: ethers:: core:: types:: U256 ,
3415
+ pub fee : :: ethers:: core:: types:: U256 ,
3462
3416
}
3463
3417
#[ derive(
3464
3418
Clone ,
@@ -4479,17 +4433,6 @@ pub mod evm_host {
4479
4433
pub struct SetFrozenStateCall {
4480
4434
pub new_state : u8 ,
4481
4435
}
4482
- ///Container type for all input parameters for the `setHostParamsAdmin` function with signature
4483
- /// `setHostParamsAdmin((uint256,uint256,uint256,address,address,address,address,address,
4484
- /// uint256,uint256,address,uint256[],address[],bytes))` and selector `0x928af6d3`
4485
- #[ derive( Clone , :: ethers:: contract:: EthCall , :: ethers:: contract:: EthDisplay ) ]
4486
- #[ ethcall(
4487
- name = "setHostParamsAdmin" ,
4488
- abi = "setHostParamsAdmin((uint256,uint256,uint256,address,address,address,address,address,uint256,uint256,address,uint256[],address[],bytes))"
4489
- ) ]
4490
- pub struct SetHostParamsAdminCall {
4491
- pub params : HostParams ,
4492
- }
4493
4436
///Container type for all input parameters for the `stateCommitmentFee` function with signature
4494
4437
/// `stateCommitmentFee()` and selector `0xb5c8a08e`
4495
4438
#[ derive(
@@ -4732,7 +4675,6 @@ pub mod evm_host {
4732
4675
ResponseReceipts ( ResponseReceiptsCall ) ,
4733
4676
SetConsensusState ( SetConsensusStateCall ) ,
4734
4677
SetFrozenState ( SetFrozenStateCall ) ,
4735
- SetHostParamsAdmin ( SetHostParamsAdminCall ) ,
4736
4678
StateCommitmentFee ( StateCommitmentFeeCall ) ,
4737
4679
StateMachineCommitment ( StateMachineCommitmentCall ) ,
4738
4680
StateMachineCommitmentUpdateTime ( StateMachineCommitmentUpdateTimeCall ) ,
@@ -4892,11 +4834,6 @@ pub mod evm_host {
4892
4834
{
4893
4835
return Ok ( Self :: SetFrozenState ( decoded) ) ;
4894
4836
}
4895
- if let Ok ( decoded) =
4896
- <SetHostParamsAdminCall as :: ethers:: core:: abi:: AbiDecode >:: decode ( data)
4897
- {
4898
- return Ok ( Self :: SetHostParamsAdmin ( decoded) ) ;
4899
- }
4900
4837
if let Ok ( decoded) =
4901
4838
<StateCommitmentFeeCall as :: ethers:: core:: abi:: AbiDecode >:: decode ( data)
4902
4839
{
@@ -5003,8 +4940,6 @@ pub mod evm_host {
5003
4940
Self :: ResponseReceipts ( element) => :: ethers:: core:: abi:: AbiEncode :: encode ( element) ,
5004
4941
Self :: SetConsensusState ( element) => :: ethers:: core:: abi:: AbiEncode :: encode ( element) ,
5005
4942
Self :: SetFrozenState ( element) => :: ethers:: core:: abi:: AbiEncode :: encode ( element) ,
5006
- Self :: SetHostParamsAdmin ( element) =>
5007
- :: ethers:: core:: abi:: AbiEncode :: encode ( element) ,
5008
4943
Self :: StateCommitmentFee ( element) =>
5009
4944
:: ethers:: core:: abi:: AbiEncode :: encode ( element) ,
5010
4945
Self :: StateMachineCommitment ( element) =>
@@ -5065,7 +5000,6 @@ pub mod evm_host {
5065
5000
Self :: ResponseReceipts ( element) => :: core:: fmt:: Display :: fmt ( element, f) ,
5066
5001
Self :: SetConsensusState ( element) => :: core:: fmt:: Display :: fmt ( element, f) ,
5067
5002
Self :: SetFrozenState ( element) => :: core:: fmt:: Display :: fmt ( element, f) ,
5068
- Self :: SetHostParamsAdmin ( element) => :: core:: fmt:: Display :: fmt ( element, f) ,
5069
5003
Self :: StateCommitmentFee ( element) => :: core:: fmt:: Display :: fmt ( element, f) ,
5070
5004
Self :: StateMachineCommitment ( element) => :: core:: fmt:: Display :: fmt ( element, f) ,
5071
5005
Self :: StateMachineCommitmentUpdateTime ( element) =>
@@ -5248,11 +5182,6 @@ pub mod evm_host {
5248
5182
Self :: SetFrozenState ( value)
5249
5183
}
5250
5184
}
5251
- impl :: core:: convert:: From < SetHostParamsAdminCall > for EvmHostCalls {
5252
- fn from ( value : SetHostParamsAdminCall ) -> Self {
5253
- Self :: SetHostParamsAdmin ( value)
5254
- }
5255
- }
5256
5185
impl :: core:: convert:: From < StateCommitmentFeeCall > for EvmHostCalls {
5257
5186
fn from ( value : StateCommitmentFeeCall ) -> Self {
5258
5187
Self :: StateCommitmentFee ( value)
0 commit comments