Skip to main content

hotshot_contract_adapter/
copy.rs

1// The bindings types are small and pure data, there is no reason they
2// shouldn't be Copy. However some of them do have a bytes field which cannot be Copy.
3impl Copy for crate::sol_types::G1PointSol {}
4impl Copy for crate::sol_types::G2PointSol {}
5impl Copy for crate::sol_types::EdOnBN254PointSol {}
6impl Copy for crate::sol_types::StakeTableV3::ValidatorRegistered {}
7impl Copy for crate::sol_types::StakeTableV3::ValidatorExit {}
8impl Copy for crate::sol_types::StakeTableV3::ConsensusKeysUpdated {}
9impl Copy for crate::sol_types::StakeTableV3::Delegated {}
10impl Copy for crate::sol_types::StakeTableV3::Undelegated {}
11impl Copy for crate::sol_types::stake_table_v3::BN254::G1Point {}