pub enum TransactionType {
Show 27 variants
WalletRegister = 100,
Deposit = 200,
Withdrawal = 201,
ForceWithdrawal = 202,
Transfer = 300,
ResetMainSecret = 400,
CreateApiSecret = 401,
DestroyApiSecret = 402,
SubmitSpotOrder = 500,
CancelSpotOrder = 501,
AddAmmV2Liquidity = 600,
RemoveAmmV2Liquidity = 601,
RegisterAsset = 700,
UpdateGlobalWithdrawalFeeTo = 701,
UpdateAssetWithdrawalFeeTo = 702,
UpdateChainConfirmationTimes = 800,
RegisterSpotMarket = 900,
UpdateSpotMarketTradingSettings = 901,
UpdateSpotMarketInitialFeeTo = 902,
UpdateSpotMarketFeeTo = 903,
UpdateSpotMarketInitialTradingFee = 904,
UpdateSpotMarketTradingFee = 905,
ClaimSpotMarketTradingFee = 906,
UpdateSpotMarketRoyalty = 907,
ClaimSpotMarketRoyalty = 908,
AssetAccountBinding = 1_000,
AssetAccountUnbinding = 1_001,
}Expand description
Transaction type.
Variants§
WalletRegister = 100
Wallet register.
Deposit = 200
Deposit.
Withdrawal = 201
Withdrawal.
ForceWithdrawal = 202
Force withdrawal.
Transfer = 300
Transfer.
ResetMainSecret = 400
Reset main secret.
CreateApiSecret = 401
Create API secret.
DestroyApiSecret = 402
Destroy API secret.
SubmitSpotOrder = 500
Submit spot order.
CancelSpotOrder = 501
Cancel spot order.
AddAmmV2Liquidity = 600
Add spot liquidity.
RemoveAmmV2Liquidity = 601
Remove spot liquidity.
RegisterAsset = 700
Register asset
UpdateGlobalWithdrawalFeeTo = 701
Update global withdrawal fee to
UpdateAssetWithdrawalFeeTo = 702
Update asset withdrawal fee to
UpdateChainConfirmationTimes = 800
Update chain confirmation times
RegisterSpotMarket = 900
Register market
UpdateSpotMarketTradingSettings = 901
Update spot market trading settings
UpdateSpotMarketInitialFeeTo = 902
Update spot market initial fee to
UpdateSpotMarketFeeTo = 903
Update spot market fee to
UpdateSpotMarketInitialTradingFee = 904
Update spot market initial trading fee
UpdateSpotMarketTradingFee = 905
Update spot market trading fee
ClaimSpotMarketTradingFee = 906
Claim spot market trading fee
UpdateSpotMarketRoyalty = 907
Update spot market royalty
ClaimSpotMarketRoyalty = 908
Claim spot market royalty
AssetAccountBinding = 1_000
Asset account binding
AssetAccountUnbinding = 1_001
Asset account unbinding
Implementations§
source§impl TransactionType
impl TransactionType
pub fn iterator() -> impl Iterator<Item = TransactionType>
Trait Implementations§
source§impl Clone for TransactionType
impl Clone for TransactionType
source§fn clone(&self) -> TransactionType
fn clone(&self) -> TransactionType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for TransactionType
impl Debug for TransactionType
source§impl<'de> Deserialize<'de> for TransactionType
impl<'de> Deserialize<'de> for TransactionType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<BigUint> for TransactionType
impl From<BigUint> for TransactionType
source§impl From<u128> for TransactionType
impl From<u128> for TransactionType
source§impl From<u32> for TransactionType
impl From<u32> for TransactionType
source§impl From<u64> for TransactionType
impl From<u64> for TransactionType
source§impl Hash for TransactionType
impl Hash for TransactionType
source§impl Into<BigUint> for TransactionType
impl Into<BigUint> for TransactionType
source§impl PartialEq for TransactionType
impl PartialEq for TransactionType
source§impl Serialize for TransactionType
impl Serialize for TransactionType
impl Copy for TransactionType
impl Eq for TransactionType
impl StructuralPartialEq for TransactionType
Auto Trait Implementations§
impl Freeze for TransactionType
impl RefUnwindSafe for TransactionType
impl Send for TransactionType
impl Sync for TransactionType
impl Unpin for TransactionType
impl UnwindSafe for TransactionType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)