@@ -23,7 +23,7 @@ use super::{ExecutableIntent, IntentEvent};
2323 serde_as( schemars = false )
2424) ]
2525#[ near( serializers = [ borsh, json] ) ]
26- #[ derive( Debug , Clone , PartialEq ) ]
26+ #[ derive( Debug , Clone , PartialEq , Eq ) ]
2727/// Transfer a set of tokens from the signer to a specified account id, within the intents contract.
2828pub struct Transfer {
2929 pub receiver_id : AccountId ,
@@ -71,7 +71,7 @@ impl ExecutableIntent for Transfer {
7171}
7272
7373#[ near( serializers = [ borsh, json] ) ]
74- #[ derive( Debug , Clone , PartialEq ) ]
74+ #[ derive( Debug , Clone , PartialEq , Eq ) ]
7575/// Withdraw given FT tokens from the intents contract to a given external account id (external being outside of intents).
7676pub struct FtWithdraw {
7777 pub token : AccountId ,
@@ -166,7 +166,7 @@ impl ExecutableIntent for FtWithdraw {
166166}
167167
168168#[ near( serializers = [ borsh, json] ) ]
169- #[ derive( Debug , Clone , PartialEq ) ]
169+ #[ derive( Debug , Clone , PartialEq , Eq ) ]
170170/// Withdraw given NFT tokens from the intents contract to a given external account id (external being outside of intents).
171171pub struct NftWithdraw {
172172 pub token : AccountId ,
@@ -261,7 +261,7 @@ impl ExecutableIntent for NftWithdraw {
261261}
262262
263263#[ near( serializers = [ borsh, json] ) ]
264- #[ derive( Debug , Clone , PartialEq ) ]
264+ #[ derive( Debug , Clone , PartialEq , Eq ) ]
265265/// Withdraw given MT tokens (i.e. [NEP-245](https://github.com/near/NEPs/blob/master/neps/nep-0245.md)) from the intents contract
266266/// to a given to an external account id (external being outside of intents).
267267///
@@ -363,7 +363,7 @@ impl ExecutableIntent for MtWithdraw {
363363}
364364
365365#[ near( serializers = [ borsh, json] ) ]
366- #[ derive( Debug , Clone , PartialEq ) ]
366+ #[ derive( Debug , Clone , PartialEq , Eq ) ]
367367/// Withdraw native tokens (NEAR) from the intents contract to a given external account id (external being outside of intents).
368368/// This will subtract from the account's wNEAR balance, and will be sent to the account specified as native NEAR.
369369/// NOTE: the `wNEAR` will not be refunded in case of fail (e.g. `receiver_id`
@@ -411,7 +411,7 @@ impl ExecutableIntent for NativeWithdraw {
411411/// are not guaranteed to be executed sequentially, in the order of the provided intents in
412412/// `DefuseIntents`.
413413#[ near( serializers = [ borsh, json] ) ]
414- #[ derive( Debug , Clone , PartialEq ) ]
414+ #[ derive( Debug , Clone , PartialEq , Eq ) ]
415415pub struct StorageDeposit {
416416 pub contract_id : AccountId ,
417417 #[ serde(
0 commit comments