privy_ruby 0.4.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/README.md +1 -1
- data/lib/privy/models/balance_asset_by_chain.rb +2 -2
- data/lib/privy/models/currency.rb +5 -2
- data/lib/privy/models/custom_token_transfer_source.rb +15 -14
- data/lib/privy/models/ethereum_personal_sign_rpc_input.rb +2 -2
- data/lib/privy/models/ethereum_send_calls_rpc_input.rb +2 -2
- data/lib/privy/models/ethereum_send_calls_rpc_response_data.rb +5 -2
- data/lib/privy/models/ethereum_send_transaction_rpc_input.rb +2 -2
- data/lib/privy/models/ethereum_send_transaction_rpc_response_data.rb +2 -2
- data/lib/privy/models/ethereum_sign_typed_data_rpc_input.rb +2 -2
- data/lib/privy/models/ethereum_vault_details_response.rb +2 -2
- data/lib/privy/models/ethereum_yield_claim_input.rb +6 -2
- data/lib/privy/models/ethereum_yield_claim_response.rb +6 -2
- data/lib/privy/models/ethereum_yield_provider.rb +1 -0
- data/lib/privy/models/fiat_onramp_destination.rb +3 -3
- data/lib/privy/models/named_token_transfer_source.rb +18 -17
- data/lib/privy/models/solana_sign_and_send_transaction_rpc_input.rb +5 -2
- data/lib/privy/models/solana_sign_and_send_transaction_rpc_response_data.rb +5 -2
- data/lib/privy/models/swap_source.rb +6 -2
- data/lib/privy/models/token_transfer_destination.rb +1 -1
- data/lib/privy/models/transaction_broadcasted_webhook_payload.rb +3 -2
- data/lib/privy/models/transaction_chain_name_input.rb +1 -0
- data/lib/privy/models/transaction_confirmed_webhook_payload.rb +3 -2
- data/lib/privy/models/transaction_execution_reverted_webhook_payload.rb +3 -2
- data/lib/privy/models/transaction_failed_webhook_payload.rb +3 -2
- data/lib/privy/models/transaction_provider_error_webhook_payload.rb +3 -2
- data/lib/privy/models/transaction_replaced_webhook_payload.rb +3 -2
- data/lib/privy/models/transaction_still_pending_webhook_payload.rb +3 -2
- data/lib/privy/models/transfer_received_transaction_detail.rb +3 -0
- data/lib/privy/models/transfer_sent_transaction_detail.rb +3 -0
- data/lib/privy/models/tron_send_transaction_rpc_input.rb +5 -2
- data/lib/privy/models/tron_send_transaction_rpc_response_data.rb +5 -2
- data/lib/privy/models/unsafe_unwrap_webhook_event.rb +17 -1
- data/lib/privy/models/user_operation_input.rb +17 -1
- data/lib/privy/models/wallet_action_earn_fee_collect_created_webhook_payload.rb +153 -0
- data/lib/privy/models/wallet_action_earn_fee_collect_failed_webhook_payload.rb +178 -0
- data/lib/privy/models/wallet_action_earn_fee_collect_rejected_webhook_payload.rb +177 -0
- data/lib/privy/models/wallet_action_earn_fee_collect_succeeded_webhook_payload.rb +169 -0
- data/lib/privy/models/wallet_action_earn_incentive_claim_created_webhook_payload.rb +2 -2
- data/lib/privy/models/wallet_action_earn_incentive_claim_failed_webhook_payload.rb +2 -2
- data/lib/privy/models/wallet_action_earn_incentive_claim_rejected_webhook_payload.rb +2 -2
- data/lib/privy/models/wallet_action_earn_incentive_claim_succeeded_webhook_payload.rb +2 -2
- data/lib/privy/models/wallet_action_transfer_created_webhook_payload.rb +2 -2
- data/lib/privy/models/wallet_action_transfer_failed_webhook_payload.rb +2 -2
- data/lib/privy/models/wallet_action_transfer_rejected_webhook_payload.rb +2 -2
- data/lib/privy/models/wallet_action_transfer_succeeded_webhook_payload.rb +2 -2
- data/lib/privy/models/wallet_asset.rb +1 -0
- data/lib/privy/models/wallet_ethereum_asset.rb +1 -0
- data/lib/privy/models/wallets/aave_vault_details.rb +2 -2
- data/lib/privy/models/wallets/balance_get_params.rb +9 -6
- data/lib/privy/models/wallets/balance_get_response.rb +3 -0
- data/lib/privy/models/wallets/earn_fee_collect_action_response.rb +149 -0
- data/lib/privy/models/wallets/earn_fee_collect_request_body.rb +20 -0
- data/lib/privy/models/wallets/earn_incentive_claim_action_response.rb +2 -2
- data/lib/privy/models/wallets/earn_incentive_claim_request_body.rb +2 -2
- data/lib/privy/models/wallets/earn_incentive_rewards_query.rb +2 -2
- data/lib/privy/models/wallets/ethereum_earn_provider.rb +1 -0
- data/lib/privy/models/wallets/ethereum_earn_vault_details_response.rb +4 -1
- data/lib/privy/models/wallets/list_wallet_actions_response.rb +2 -2
- data/lib/privy/models/wallets/morpho_vault_details.rb +2 -2
- data/lib/privy/models/wallets/transaction_get_params.rb +3 -0
- data/lib/privy/models/wallets/transfer_action_response.rb +2 -2
- data/lib/privy/models/wallets/veda_vault_details.rb +122 -0
- data/lib/privy/models/wallets/wallet_action_response.rb +4 -1
- data/lib/privy/models/wallets/wallet_action_type.rb +1 -0
- data/lib/privy/models/webhook_payload.rb +13 -1
- data/lib/privy/models.rb +12 -0
- data/lib/privy/resources/wallets/actions.rb +1 -1
- data/lib/privy/resources/wallets/balance.rb +2 -2
- data/lib/privy/resources/webhooks.rb +1 -1
- data/lib/privy/version.rb +1 -1
- data/lib/privy.rb +7 -0
- data/rbi/privy/models/balance_asset_by_chain.rbi +2 -2
- data/rbi/privy/models/currency.rbi +2 -2
- data/rbi/privy/models/custom_token_transfer_source.rbi +20 -15
- data/rbi/privy/models/ethereum_personal_sign_rpc_input.rbi +2 -2
- data/rbi/privy/models/ethereum_send_calls_rpc_input.rbi +2 -2
- data/rbi/privy/models/ethereum_send_calls_rpc_response_data.rbi +2 -2
- data/rbi/privy/models/ethereum_send_transaction_rpc_input.rbi +2 -2
- data/rbi/privy/models/ethereum_send_transaction_rpc_response_data.rbi +2 -2
- data/rbi/privy/models/ethereum_sign_typed_data_rpc_input.rbi +2 -2
- data/rbi/privy/models/ethereum_vault_details_response.rbi +2 -2
- data/rbi/privy/models/ethereum_yield_claim_input.rbi +4 -2
- data/rbi/privy/models/ethereum_yield_claim_response.rbi +4 -2
- data/rbi/privy/models/ethereum_yield_provider.rbi +1 -0
- data/rbi/privy/models/fiat_onramp_destination.rbi +4 -4
- data/rbi/privy/models/named_token_transfer_source.rbi +24 -19
- data/rbi/privy/models/solana_sign_and_send_transaction_rpc_input.rbi +2 -2
- data/rbi/privy/models/solana_sign_and_send_transaction_rpc_response_data.rbi +2 -2
- data/rbi/privy/models/swap_source.rbi +4 -2
- data/rbi/privy/models/token_transfer_destination.rbi +2 -2
- data/rbi/privy/models/transaction_broadcasted_webhook_payload.rbi +4 -2
- data/rbi/privy/models/transaction_chain_name_input.rbi +2 -0
- data/rbi/privy/models/transaction_confirmed_webhook_payload.rbi +4 -2
- data/rbi/privy/models/transaction_execution_reverted_webhook_payload.rbi +4 -2
- data/rbi/privy/models/transaction_failed_webhook_payload.rbi +4 -2
- data/rbi/privy/models/transaction_provider_error_webhook_payload.rbi +4 -2
- data/rbi/privy/models/transaction_replaced_webhook_payload.rbi +4 -2
- data/rbi/privy/models/transaction_still_pending_webhook_payload.rbi +4 -2
- data/rbi/privy/models/transfer_received_transaction_detail.rbi +5 -0
- data/rbi/privy/models/transfer_sent_transaction_detail.rbi +5 -0
- data/rbi/privy/models/tron_send_transaction_rpc_input.rbi +2 -2
- data/rbi/privy/models/tron_send_transaction_rpc_response_data.rbi +2 -2
- data/rbi/privy/models/unsafe_unwrap_webhook_event.rbi +4 -0
- data/rbi/privy/models/user_operation_input.rbi +22 -0
- data/rbi/privy/models/wallet_action_earn_fee_collect_created_webhook_payload.rbi +232 -0
- data/rbi/privy/models/wallet_action_earn_fee_collect_failed_webhook_payload.rbi +271 -0
- data/rbi/privy/models/wallet_action_earn_fee_collect_rejected_webhook_payload.rbi +269 -0
- data/rbi/privy/models/wallet_action_earn_fee_collect_succeeded_webhook_payload.rbi +258 -0
- data/rbi/privy/models/wallet_action_earn_incentive_claim_created_webhook_payload.rbi +2 -2
- data/rbi/privy/models/wallet_action_earn_incentive_claim_failed_webhook_payload.rbi +2 -2
- data/rbi/privy/models/wallet_action_earn_incentive_claim_rejected_webhook_payload.rbi +2 -2
- data/rbi/privy/models/wallet_action_earn_incentive_claim_succeeded_webhook_payload.rbi +2 -2
- data/rbi/privy/models/wallet_action_transfer_created_webhook_payload.rbi +2 -2
- data/rbi/privy/models/wallet_action_transfer_failed_webhook_payload.rbi +2 -2
- data/rbi/privy/models/wallet_action_transfer_rejected_webhook_payload.rbi +2 -2
- data/rbi/privy/models/wallet_action_transfer_succeeded_webhook_payload.rbi +2 -2
- data/rbi/privy/models/wallet_asset.rbi +1 -0
- data/rbi/privy/models/wallet_ethereum_asset.rbi +1 -0
- data/rbi/privy/models/wallets/aave_vault_details.rbi +2 -2
- data/rbi/privy/models/wallets/balance_get_params.rbi +11 -6
- data/rbi/privy/models/wallets/balance_get_response.rbi +5 -0
- data/rbi/privy/models/wallets/earn_fee_collect_action_response.rbi +236 -0
- data/rbi/privy/models/wallets/earn_fee_collect_request_body.rbi +33 -0
- data/rbi/privy/models/wallets/earn_incentive_claim_action_response.rbi +2 -2
- data/rbi/privy/models/wallets/earn_incentive_claim_request_body.rbi +4 -4
- data/rbi/privy/models/wallets/earn_incentive_rewards_query.rbi +2 -2
- data/rbi/privy/models/wallets/ethereum_earn_provider.rbi +1 -0
- data/rbi/privy/models/wallets/ethereum_earn_vault_details_response.rbi +2 -1
- data/rbi/privy/models/wallets/list_wallet_actions_response.rbi +6 -3
- data/rbi/privy/models/wallets/morpho_vault_details.rbi +2 -2
- data/rbi/privy/models/wallets/transaction_get_params.rbi +5 -0
- data/rbi/privy/models/wallets/transfer_action_response.rbi +2 -2
- data/rbi/privy/models/wallets/veda_vault_details.rbi +157 -0
- data/rbi/privy/models/wallets/wallet_action_response.rbi +2 -1
- data/rbi/privy/models/wallets/wallet_action_type.rbi +5 -0
- data/rbi/privy/models/webhook_payload.rbi +5 -1
- data/rbi/privy/models.rbi +12 -0
- data/rbi/privy/resources/wallets/balance.rbi +2 -2
- data/rbi/privy/resources/wallets/earn/ethereum/incentive.rbi +2 -2
- data/rbi/privy/resources/webhooks.rbi +4 -0
- data/sig/privy/models/custom_token_transfer_source.rbs +8 -6
- data/sig/privy/models/ethereum_yield_provider.rbs +2 -1
- data/sig/privy/models/named_token_transfer_source.rbs +7 -5
- data/sig/privy/models/transaction_chain_name_input.rbs +2 -0
- data/sig/privy/models/transfer_received_transaction_detail.rbs +2 -0
- data/sig/privy/models/transfer_sent_transaction_detail.rbs +2 -0
- data/sig/privy/models/unsafe_unwrap_webhook_event.rbs +4 -0
- data/sig/privy/models/user_operation_input.rbs +14 -0
- data/sig/privy/models/wallet_action_earn_fee_collect_created_webhook_payload.rbs +111 -0
- data/sig/privy/models/wallet_action_earn_fee_collect_failed_webhook_payload.rbs +126 -0
- data/sig/privy/models/wallet_action_earn_fee_collect_rejected_webhook_payload.rbs +126 -0
- data/sig/privy/models/wallet_action_earn_fee_collect_succeeded_webhook_payload.rbs +121 -0
- data/sig/privy/models/wallet_asset.rbs +2 -0
- data/sig/privy/models/wallet_ethereum_asset.rbs +11 -1
- data/sig/privy/models/wallets/balance_get_params.rbs +2 -0
- data/sig/privy/models/wallets/balance_get_response.rbs +2 -0
- data/sig/privy/models/wallets/earn_fee_collect_action_response.rbs +114 -0
- data/sig/privy/models/wallets/earn_fee_collect_request_body.rbs +15 -0
- data/sig/privy/models/wallets/ethereum_earn_provider.rbs +2 -1
- data/sig/privy/models/wallets/ethereum_earn_vault_details_response.rbs +3 -1
- data/sig/privy/models/wallets/transaction_get_params.rbs +2 -0
- data/sig/privy/models/wallets/veda_vault_details.rbs +87 -0
- data/sig/privy/models/wallets/wallet_action_response.rbs +1 -0
- data/sig/privy/models/wallets/wallet_action_type.rbs +2 -0
- data/sig/privy/models/webhook_payload.rbs +4 -0
- data/sig/privy/models.rbs +8 -0
- data/sig/privy/resources/webhooks.rbs +4 -0
- metadata +23 -2
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Privy
|
|
4
|
+
module Models
|
|
5
|
+
class WalletActionEarnFeeCollectRejectedWebhookPayload < Privy::Internal::Type::BaseModel
|
|
6
|
+
# @!attribute action_type
|
|
7
|
+
# Type of wallet action
|
|
8
|
+
#
|
|
9
|
+
# @return [Symbol, Privy::Models::Wallets::WalletActionType]
|
|
10
|
+
required :action_type, enum: -> { Privy::Wallets::WalletActionType }
|
|
11
|
+
|
|
12
|
+
# @!attribute asset_address
|
|
13
|
+
# Underlying asset token address.
|
|
14
|
+
#
|
|
15
|
+
# @return [String]
|
|
16
|
+
required :asset_address, String
|
|
17
|
+
|
|
18
|
+
# @!attribute caip2
|
|
19
|
+
# CAIP-2 chain identifier.
|
|
20
|
+
#
|
|
21
|
+
# @return [String]
|
|
22
|
+
required :caip2, String
|
|
23
|
+
|
|
24
|
+
# @!attribute created_at
|
|
25
|
+
# ISO 8601 timestamp of when the wallet action was created.
|
|
26
|
+
#
|
|
27
|
+
# @return [String]
|
|
28
|
+
required :created_at, String
|
|
29
|
+
|
|
30
|
+
# @!attribute failure_reason
|
|
31
|
+
# A description of why a wallet action (or a step within a wallet action) failed.
|
|
32
|
+
#
|
|
33
|
+
# @return [Privy::Models::Wallets::FailureReason]
|
|
34
|
+
required :failure_reason, -> { Privy::Wallets::FailureReason }
|
|
35
|
+
|
|
36
|
+
# @!attribute raw_amount
|
|
37
|
+
# Base-unit amount of fees collected (e.g. "1500000").
|
|
38
|
+
#
|
|
39
|
+
# @return [String]
|
|
40
|
+
required :raw_amount, String
|
|
41
|
+
|
|
42
|
+
# @!attribute rejected_at
|
|
43
|
+
# ISO 8601 timestamp of when the wallet action was rejected.
|
|
44
|
+
#
|
|
45
|
+
# @return [String]
|
|
46
|
+
required :rejected_at, String
|
|
47
|
+
|
|
48
|
+
# @!attribute status
|
|
49
|
+
# The status of the wallet action.
|
|
50
|
+
#
|
|
51
|
+
# @return [Symbol, Privy::Models::WalletActionEarnFeeCollectRejectedWebhookPayload::Status]
|
|
52
|
+
required :status, enum: -> { Privy::WalletActionEarnFeeCollectRejectedWebhookPayload::Status }
|
|
53
|
+
|
|
54
|
+
# @!attribute steps
|
|
55
|
+
# The steps of the wallet action at the time of rejection.
|
|
56
|
+
#
|
|
57
|
+
# @return [Array<Privy::Models::Wallets::EvmTransactionWalletActionStep, Privy::Models::Wallets::EvmUserOperationWalletActionStep, Privy::Models::Wallets::SvmTransactionWalletActionStep, Privy::Models::Wallets::TvmTransactionWalletActionStep, Privy::Models::Wallets::ExternalTransactionWalletActionStep, Privy::Models::Wallets::CustodianTransactionWalletActionStep>]
|
|
58
|
+
required :steps, -> { Privy::Internal::Type::ArrayOf[union: Privy::Wallets::WalletActionStep] }
|
|
59
|
+
|
|
60
|
+
# @!attribute type
|
|
61
|
+
# The type of webhook event.
|
|
62
|
+
#
|
|
63
|
+
# @return [Symbol, Privy::Models::WalletActionEarnFeeCollectRejectedWebhookPayload::Type]
|
|
64
|
+
required :type, enum: -> { Privy::WalletActionEarnFeeCollectRejectedWebhookPayload::Type }
|
|
65
|
+
|
|
66
|
+
# @!attribute vault_address
|
|
67
|
+
# ERC-4626 vault contract address.
|
|
68
|
+
#
|
|
69
|
+
# @return [String]
|
|
70
|
+
required :vault_address, String
|
|
71
|
+
|
|
72
|
+
# @!attribute vault_id
|
|
73
|
+
# The vault ID.
|
|
74
|
+
#
|
|
75
|
+
# @return [String]
|
|
76
|
+
required :vault_id, String
|
|
77
|
+
|
|
78
|
+
# @!attribute wallet_action_id
|
|
79
|
+
# The ID of the wallet action.
|
|
80
|
+
#
|
|
81
|
+
# @return [String]
|
|
82
|
+
required :wallet_action_id, String
|
|
83
|
+
|
|
84
|
+
# @!attribute wallet_id
|
|
85
|
+
# The ID of the wallet involved in the action.
|
|
86
|
+
#
|
|
87
|
+
# @return [String]
|
|
88
|
+
required :wallet_id, String
|
|
89
|
+
|
|
90
|
+
# @!attribute amount
|
|
91
|
+
# Human-readable decimal amount of fees collected (e.g. "1.5"). Only present when
|
|
92
|
+
# the token is known in the asset registry.
|
|
93
|
+
#
|
|
94
|
+
# @return [String, nil]
|
|
95
|
+
optional :amount, String
|
|
96
|
+
|
|
97
|
+
# @!attribute asset
|
|
98
|
+
# Asset identifier (e.g. "usdc", "eth"). Only present when the token is known in
|
|
99
|
+
# the asset registry.
|
|
100
|
+
#
|
|
101
|
+
# @return [String, nil]
|
|
102
|
+
optional :asset, String
|
|
103
|
+
|
|
104
|
+
# @!attribute decimals
|
|
105
|
+
# Number of decimals for the underlying asset (e.g. 6 for USDC, 18 for ETH). Only
|
|
106
|
+
# present when the token is known in the asset registry.
|
|
107
|
+
#
|
|
108
|
+
# @return [Integer, nil]
|
|
109
|
+
optional :decimals, Integer
|
|
110
|
+
|
|
111
|
+
# @!method initialize(action_type:, asset_address:, caip2:, created_at:, failure_reason:, raw_amount:, rejected_at:, status:, steps:, type:, vault_address:, vault_id:, wallet_action_id:, wallet_id:, amount: nil, asset: nil, decimals: nil)
|
|
112
|
+
# Some parameter documentations has been truncated, see
|
|
113
|
+
# {Privy::Models::WalletActionEarnFeeCollectRejectedWebhookPayload} for more
|
|
114
|
+
# details.
|
|
115
|
+
#
|
|
116
|
+
# Payload for the wallet_action.earn_fee_collect.rejected webhook event.
|
|
117
|
+
#
|
|
118
|
+
# @param action_type [Symbol, Privy::Models::Wallets::WalletActionType] Type of wallet action
|
|
119
|
+
#
|
|
120
|
+
# @param asset_address [String] Underlying asset token address.
|
|
121
|
+
#
|
|
122
|
+
# @param caip2 [String] CAIP-2 chain identifier.
|
|
123
|
+
#
|
|
124
|
+
# @param created_at [String] ISO 8601 timestamp of when the wallet action was created.
|
|
125
|
+
#
|
|
126
|
+
# @param failure_reason [Privy::Models::Wallets::FailureReason] A description of why a wallet action (or a step within a wallet action) failed.
|
|
127
|
+
#
|
|
128
|
+
# @param raw_amount [String] Base-unit amount of fees collected (e.g. "1500000").
|
|
129
|
+
#
|
|
130
|
+
# @param rejected_at [String] ISO 8601 timestamp of when the wallet action was rejected.
|
|
131
|
+
#
|
|
132
|
+
# @param status [Symbol, Privy::Models::WalletActionEarnFeeCollectRejectedWebhookPayload::Status] The status of the wallet action.
|
|
133
|
+
#
|
|
134
|
+
# @param steps [Array<Privy::Models::Wallets::EvmTransactionWalletActionStep, Privy::Models::Wallets::EvmUserOperationWalletActionStep, Privy::Models::Wallets::SvmTransactionWalletActionStep, Privy::Models::Wallets::TvmTransactionWalletActionStep, Privy::Models::Wallets::ExternalTransactionWalletActionStep, Privy::Models::Wallets::CustodianTransactionWalletActionStep>] The steps of the wallet action at the time of rejection.
|
|
135
|
+
#
|
|
136
|
+
# @param type [Symbol, Privy::Models::WalletActionEarnFeeCollectRejectedWebhookPayload::Type] The type of webhook event.
|
|
137
|
+
#
|
|
138
|
+
# @param vault_address [String] ERC-4626 vault contract address.
|
|
139
|
+
#
|
|
140
|
+
# @param vault_id [String] The vault ID.
|
|
141
|
+
#
|
|
142
|
+
# @param wallet_action_id [String] The ID of the wallet action.
|
|
143
|
+
#
|
|
144
|
+
# @param wallet_id [String] The ID of the wallet involved in the action.
|
|
145
|
+
#
|
|
146
|
+
# @param amount [String] Human-readable decimal amount of fees collected (e.g. "1.5"). Only present when
|
|
147
|
+
#
|
|
148
|
+
# @param asset [String] Asset identifier (e.g. "usdc", "eth"). Only present when the token is known in t
|
|
149
|
+
#
|
|
150
|
+
# @param decimals [Integer] Number of decimals for the underlying asset (e.g. 6 for USDC, 18 for ETH). Only
|
|
151
|
+
|
|
152
|
+
# The status of the wallet action.
|
|
153
|
+
#
|
|
154
|
+
# @see Privy::Models::WalletActionEarnFeeCollectRejectedWebhookPayload#status
|
|
155
|
+
module Status
|
|
156
|
+
extend Privy::Internal::Type::Enum
|
|
157
|
+
|
|
158
|
+
REJECTED = :rejected
|
|
159
|
+
|
|
160
|
+
# @!method self.values
|
|
161
|
+
# @return [Array<Symbol>]
|
|
162
|
+
end
|
|
163
|
+
|
|
164
|
+
# The type of webhook event.
|
|
165
|
+
#
|
|
166
|
+
# @see Privy::Models::WalletActionEarnFeeCollectRejectedWebhookPayload#type
|
|
167
|
+
module Type
|
|
168
|
+
extend Privy::Internal::Type::Enum
|
|
169
|
+
|
|
170
|
+
WALLET_ACTION_EARN_FEE_COLLECT_REJECTED = :"wallet_action.earn_fee_collect.rejected"
|
|
171
|
+
|
|
172
|
+
# @!method self.values
|
|
173
|
+
# @return [Array<Symbol>]
|
|
174
|
+
end
|
|
175
|
+
end
|
|
176
|
+
end
|
|
177
|
+
end
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Privy
|
|
4
|
+
module Models
|
|
5
|
+
class WalletActionEarnFeeCollectSucceededWebhookPayload < Privy::Internal::Type::BaseModel
|
|
6
|
+
# @!attribute action_type
|
|
7
|
+
# Type of wallet action
|
|
8
|
+
#
|
|
9
|
+
# @return [Symbol, Privy::Models::Wallets::WalletActionType]
|
|
10
|
+
required :action_type, enum: -> { Privy::Wallets::WalletActionType }
|
|
11
|
+
|
|
12
|
+
# @!attribute asset_address
|
|
13
|
+
# Underlying asset token address.
|
|
14
|
+
#
|
|
15
|
+
# @return [String]
|
|
16
|
+
required :asset_address, String
|
|
17
|
+
|
|
18
|
+
# @!attribute caip2
|
|
19
|
+
# CAIP-2 chain identifier.
|
|
20
|
+
#
|
|
21
|
+
# @return [String]
|
|
22
|
+
required :caip2, String
|
|
23
|
+
|
|
24
|
+
# @!attribute completed_at
|
|
25
|
+
# ISO 8601 timestamp of when the wallet action completed successfully.
|
|
26
|
+
#
|
|
27
|
+
# @return [String]
|
|
28
|
+
required :completed_at, String
|
|
29
|
+
|
|
30
|
+
# @!attribute created_at
|
|
31
|
+
# ISO 8601 timestamp of when the wallet action was created.
|
|
32
|
+
#
|
|
33
|
+
# @return [String]
|
|
34
|
+
required :created_at, String
|
|
35
|
+
|
|
36
|
+
# @!attribute raw_amount
|
|
37
|
+
# Base-unit amount of fees collected (e.g. "1500000").
|
|
38
|
+
#
|
|
39
|
+
# @return [String]
|
|
40
|
+
required :raw_amount, String
|
|
41
|
+
|
|
42
|
+
# @!attribute status
|
|
43
|
+
# The status of the wallet action.
|
|
44
|
+
#
|
|
45
|
+
# @return [Symbol, Privy::Models::WalletActionEarnFeeCollectSucceededWebhookPayload::Status]
|
|
46
|
+
required :status, enum: -> { Privy::WalletActionEarnFeeCollectSucceededWebhookPayload::Status }
|
|
47
|
+
|
|
48
|
+
# @!attribute steps
|
|
49
|
+
# The steps of the wallet action, including transaction hashes.
|
|
50
|
+
#
|
|
51
|
+
# @return [Array<Privy::Models::Wallets::EvmTransactionWalletActionStep, Privy::Models::Wallets::EvmUserOperationWalletActionStep, Privy::Models::Wallets::SvmTransactionWalletActionStep, Privy::Models::Wallets::TvmTransactionWalletActionStep, Privy::Models::Wallets::ExternalTransactionWalletActionStep, Privy::Models::Wallets::CustodianTransactionWalletActionStep>]
|
|
52
|
+
required :steps, -> { Privy::Internal::Type::ArrayOf[union: Privy::Wallets::WalletActionStep] }
|
|
53
|
+
|
|
54
|
+
# @!attribute type
|
|
55
|
+
# The type of webhook event.
|
|
56
|
+
#
|
|
57
|
+
# @return [Symbol, Privy::Models::WalletActionEarnFeeCollectSucceededWebhookPayload::Type]
|
|
58
|
+
required :type, enum: -> { Privy::WalletActionEarnFeeCollectSucceededWebhookPayload::Type }
|
|
59
|
+
|
|
60
|
+
# @!attribute vault_address
|
|
61
|
+
# ERC-4626 vault contract address.
|
|
62
|
+
#
|
|
63
|
+
# @return [String]
|
|
64
|
+
required :vault_address, String
|
|
65
|
+
|
|
66
|
+
# @!attribute vault_id
|
|
67
|
+
# The vault ID.
|
|
68
|
+
#
|
|
69
|
+
# @return [String]
|
|
70
|
+
required :vault_id, String
|
|
71
|
+
|
|
72
|
+
# @!attribute wallet_action_id
|
|
73
|
+
# The ID of the wallet action.
|
|
74
|
+
#
|
|
75
|
+
# @return [String]
|
|
76
|
+
required :wallet_action_id, String
|
|
77
|
+
|
|
78
|
+
# @!attribute wallet_id
|
|
79
|
+
# The ID of the wallet involved in the action.
|
|
80
|
+
#
|
|
81
|
+
# @return [String]
|
|
82
|
+
required :wallet_id, String
|
|
83
|
+
|
|
84
|
+
# @!attribute amount
|
|
85
|
+
# Human-readable decimal amount of fees collected (e.g. "1.5"). Only present when
|
|
86
|
+
# the token is known in the asset registry.
|
|
87
|
+
#
|
|
88
|
+
# @return [String, nil]
|
|
89
|
+
optional :amount, String
|
|
90
|
+
|
|
91
|
+
# @!attribute asset
|
|
92
|
+
# Asset identifier (e.g. "usdc", "eth"). Only present when the token is known in
|
|
93
|
+
# the asset registry.
|
|
94
|
+
#
|
|
95
|
+
# @return [String, nil]
|
|
96
|
+
optional :asset, String
|
|
97
|
+
|
|
98
|
+
# @!attribute decimals
|
|
99
|
+
# Number of decimals for the underlying asset (e.g. 6 for USDC, 18 for ETH). Only
|
|
100
|
+
# present when the token is known in the asset registry.
|
|
101
|
+
#
|
|
102
|
+
# @return [Integer, nil]
|
|
103
|
+
optional :decimals, Integer
|
|
104
|
+
|
|
105
|
+
# @!method initialize(action_type:, asset_address:, caip2:, completed_at:, created_at:, raw_amount:, status:, steps:, type:, vault_address:, vault_id:, wallet_action_id:, wallet_id:, amount: nil, asset: nil, decimals: nil)
|
|
106
|
+
# Some parameter documentations has been truncated, see
|
|
107
|
+
# {Privy::Models::WalletActionEarnFeeCollectSucceededWebhookPayload} for more
|
|
108
|
+
# details.
|
|
109
|
+
#
|
|
110
|
+
# Payload for the wallet_action.earn_fee_collect.succeeded webhook event.
|
|
111
|
+
#
|
|
112
|
+
# @param action_type [Symbol, Privy::Models::Wallets::WalletActionType] Type of wallet action
|
|
113
|
+
#
|
|
114
|
+
# @param asset_address [String] Underlying asset token address.
|
|
115
|
+
#
|
|
116
|
+
# @param caip2 [String] CAIP-2 chain identifier.
|
|
117
|
+
#
|
|
118
|
+
# @param completed_at [String] ISO 8601 timestamp of when the wallet action completed successfully.
|
|
119
|
+
#
|
|
120
|
+
# @param created_at [String] ISO 8601 timestamp of when the wallet action was created.
|
|
121
|
+
#
|
|
122
|
+
# @param raw_amount [String] Base-unit amount of fees collected (e.g. "1500000").
|
|
123
|
+
#
|
|
124
|
+
# @param status [Symbol, Privy::Models::WalletActionEarnFeeCollectSucceededWebhookPayload::Status] The status of the wallet action.
|
|
125
|
+
#
|
|
126
|
+
# @param steps [Array<Privy::Models::Wallets::EvmTransactionWalletActionStep, Privy::Models::Wallets::EvmUserOperationWalletActionStep, Privy::Models::Wallets::SvmTransactionWalletActionStep, Privy::Models::Wallets::TvmTransactionWalletActionStep, Privy::Models::Wallets::ExternalTransactionWalletActionStep, Privy::Models::Wallets::CustodianTransactionWalletActionStep>] The steps of the wallet action, including transaction hashes.
|
|
127
|
+
#
|
|
128
|
+
# @param type [Symbol, Privy::Models::WalletActionEarnFeeCollectSucceededWebhookPayload::Type] The type of webhook event.
|
|
129
|
+
#
|
|
130
|
+
# @param vault_address [String] ERC-4626 vault contract address.
|
|
131
|
+
#
|
|
132
|
+
# @param vault_id [String] The vault ID.
|
|
133
|
+
#
|
|
134
|
+
# @param wallet_action_id [String] The ID of the wallet action.
|
|
135
|
+
#
|
|
136
|
+
# @param wallet_id [String] The ID of the wallet involved in the action.
|
|
137
|
+
#
|
|
138
|
+
# @param amount [String] Human-readable decimal amount of fees collected (e.g. "1.5"). Only present when
|
|
139
|
+
#
|
|
140
|
+
# @param asset [String] Asset identifier (e.g. "usdc", "eth"). Only present when the token is known in t
|
|
141
|
+
#
|
|
142
|
+
# @param decimals [Integer] Number of decimals for the underlying asset (e.g. 6 for USDC, 18 for ETH). Only
|
|
143
|
+
|
|
144
|
+
# The status of the wallet action.
|
|
145
|
+
#
|
|
146
|
+
# @see Privy::Models::WalletActionEarnFeeCollectSucceededWebhookPayload#status
|
|
147
|
+
module Status
|
|
148
|
+
extend Privy::Internal::Type::Enum
|
|
149
|
+
|
|
150
|
+
SUCCEEDED = :succeeded
|
|
151
|
+
|
|
152
|
+
# @!method self.values
|
|
153
|
+
# @return [Array<Symbol>]
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
# The type of webhook event.
|
|
157
|
+
#
|
|
158
|
+
# @see Privy::Models::WalletActionEarnFeeCollectSucceededWebhookPayload#type
|
|
159
|
+
module Type
|
|
160
|
+
extend Privy::Internal::Type::Enum
|
|
161
|
+
|
|
162
|
+
WALLET_ACTION_EARN_FEE_COLLECT_SUCCEEDED = :"wallet_action.earn_fee_collect.succeeded"
|
|
163
|
+
|
|
164
|
+
# @!method self.values
|
|
165
|
+
# @return [Array<Symbol>]
|
|
166
|
+
end
|
|
167
|
+
end
|
|
168
|
+
end
|
|
169
|
+
end
|
|
@@ -10,7 +10,7 @@ module Privy
|
|
|
10
10
|
required :action_type, enum: -> { Privy::Wallets::WalletActionType }
|
|
11
11
|
|
|
12
12
|
# @!attribute chain
|
|
13
|
-
# EVM chain name (e.g. "
|
|
13
|
+
# EVM chain name (e.g. "tempo", "base").
|
|
14
14
|
#
|
|
15
15
|
# @return [String]
|
|
16
16
|
required :chain, String
|
|
@@ -58,7 +58,7 @@ module Privy
|
|
|
58
58
|
#
|
|
59
59
|
# @param action_type [Symbol, Privy::Models::Wallets::WalletActionType] Type of wallet action
|
|
60
60
|
#
|
|
61
|
-
# @param chain [String] EVM chain name (e.g. "
|
|
61
|
+
# @param chain [String] EVM chain name (e.g. "tempo", "base").
|
|
62
62
|
#
|
|
63
63
|
# @param created_at [String] ISO 8601 timestamp of when the wallet action was created.
|
|
64
64
|
#
|
|
@@ -10,7 +10,7 @@ module Privy
|
|
|
10
10
|
required :action_type, enum: -> { Privy::Wallets::WalletActionType }
|
|
11
11
|
|
|
12
12
|
# @!attribute chain
|
|
13
|
-
# EVM chain name (e.g. "
|
|
13
|
+
# EVM chain name (e.g. "tempo", "base").
|
|
14
14
|
#
|
|
15
15
|
# @return [String]
|
|
16
16
|
required :chain, String
|
|
@@ -81,7 +81,7 @@ module Privy
|
|
|
81
81
|
#
|
|
82
82
|
# @param action_type [Symbol, Privy::Models::Wallets::WalletActionType] Type of wallet action
|
|
83
83
|
#
|
|
84
|
-
# @param chain [String] EVM chain name (e.g. "
|
|
84
|
+
# @param chain [String] EVM chain name (e.g. "tempo", "base").
|
|
85
85
|
#
|
|
86
86
|
# @param created_at [String] ISO 8601 timestamp of when the wallet action was created.
|
|
87
87
|
#
|
|
@@ -10,7 +10,7 @@ module Privy
|
|
|
10
10
|
required :action_type, enum: -> { Privy::Wallets::WalletActionType }
|
|
11
11
|
|
|
12
12
|
# @!attribute chain
|
|
13
|
-
# EVM chain name (e.g. "
|
|
13
|
+
# EVM chain name (e.g. "tempo", "base").
|
|
14
14
|
#
|
|
15
15
|
# @return [String]
|
|
16
16
|
required :chain, String
|
|
@@ -76,7 +76,7 @@ module Privy
|
|
|
76
76
|
#
|
|
77
77
|
# @param action_type [Symbol, Privy::Models::Wallets::WalletActionType] Type of wallet action
|
|
78
78
|
#
|
|
79
|
-
# @param chain [String] EVM chain name (e.g. "
|
|
79
|
+
# @param chain [String] EVM chain name (e.g. "tempo", "base").
|
|
80
80
|
#
|
|
81
81
|
# @param created_at [String] ISO 8601 timestamp of when the wallet action was created.
|
|
82
82
|
#
|
|
@@ -10,7 +10,7 @@ module Privy
|
|
|
10
10
|
required :action_type, enum: -> { Privy::Wallets::WalletActionType }
|
|
11
11
|
|
|
12
12
|
# @!attribute chain
|
|
13
|
-
# EVM chain name (e.g. "
|
|
13
|
+
# EVM chain name (e.g. "tempo", "base").
|
|
14
14
|
#
|
|
15
15
|
# @return [String]
|
|
16
16
|
required :chain, String
|
|
@@ -70,7 +70,7 @@ module Privy
|
|
|
70
70
|
#
|
|
71
71
|
# @param action_type [Symbol, Privy::Models::Wallets::WalletActionType] Type of wallet action
|
|
72
72
|
#
|
|
73
|
-
# @param chain [String] EVM chain name (e.g. "
|
|
73
|
+
# @param chain [String] EVM chain name (e.g. "tempo", "base").
|
|
74
74
|
#
|
|
75
75
|
# @param completed_at [String] ISO 8601 timestamp of when the wallet action completed successfully.
|
|
76
76
|
#
|
|
@@ -22,7 +22,7 @@ module Privy
|
|
|
22
22
|
required :destination_address, String
|
|
23
23
|
|
|
24
24
|
# @!attribute source_chain
|
|
25
|
-
# Chain name (e.g. "
|
|
25
|
+
# Chain name (e.g. "tempo", "base").
|
|
26
26
|
#
|
|
27
27
|
# @return [String]
|
|
28
28
|
required :source_chain, String
|
|
@@ -91,7 +91,7 @@ module Privy
|
|
|
91
91
|
#
|
|
92
92
|
# @param destination_address [String] Recipient address.
|
|
93
93
|
#
|
|
94
|
-
# @param source_chain [String] Chain name (e.g. "
|
|
94
|
+
# @param source_chain [String] Chain name (e.g. "tempo", "base").
|
|
95
95
|
#
|
|
96
96
|
# @param status [Symbol, Privy::Models::WalletActionTransferCreatedWebhookPayload::Status] The status of the wallet action.
|
|
97
97
|
#
|
|
@@ -34,7 +34,7 @@ module Privy
|
|
|
34
34
|
required :failure_reason, -> { Privy::Wallets::FailureReason }
|
|
35
35
|
|
|
36
36
|
# @!attribute source_chain
|
|
37
|
-
# Chain name (e.g. "
|
|
37
|
+
# Chain name (e.g. "tempo", "base").
|
|
38
38
|
#
|
|
39
39
|
# @return [String]
|
|
40
40
|
required :source_chain, String
|
|
@@ -114,7 +114,7 @@ module Privy
|
|
|
114
114
|
#
|
|
115
115
|
# @param failure_reason [Privy::Models::Wallets::FailureReason] A description of why a wallet action (or a step within a wallet action) failed.
|
|
116
116
|
#
|
|
117
|
-
# @param source_chain [String] Chain name (e.g. "
|
|
117
|
+
# @param source_chain [String] Chain name (e.g. "tempo", "base").
|
|
118
118
|
#
|
|
119
119
|
# @param status [Symbol, Privy::Models::WalletActionTransferFailedWebhookPayload::Status] The status of the wallet action.
|
|
120
120
|
#
|
|
@@ -34,7 +34,7 @@ module Privy
|
|
|
34
34
|
required :rejected_at, String
|
|
35
35
|
|
|
36
36
|
# @!attribute source_chain
|
|
37
|
-
# Chain name (e.g. "
|
|
37
|
+
# Chain name (e.g. "tempo", "base").
|
|
38
38
|
#
|
|
39
39
|
# @return [String]
|
|
40
40
|
required :source_chain, String
|
|
@@ -113,7 +113,7 @@ module Privy
|
|
|
113
113
|
#
|
|
114
114
|
# @param rejected_at [String] ISO 8601 timestamp of when the wallet action was rejected.
|
|
115
115
|
#
|
|
116
|
-
# @param source_chain [String] Chain name (e.g. "
|
|
116
|
+
# @param source_chain [String] Chain name (e.g. "tempo", "base").
|
|
117
117
|
#
|
|
118
118
|
# @param status [Symbol, Privy::Models::WalletActionTransferRejectedWebhookPayload::Status] The status of the wallet action.
|
|
119
119
|
#
|
|
@@ -28,7 +28,7 @@ module Privy
|
|
|
28
28
|
required :destination_address, String
|
|
29
29
|
|
|
30
30
|
# @!attribute source_chain
|
|
31
|
-
# Chain name (e.g. "
|
|
31
|
+
# Chain name (e.g. "tempo", "base").
|
|
32
32
|
#
|
|
33
33
|
# @return [String]
|
|
34
34
|
required :source_chain, String
|
|
@@ -105,7 +105,7 @@ module Privy
|
|
|
105
105
|
#
|
|
106
106
|
# @param destination_address [String] Recipient address.
|
|
107
107
|
#
|
|
108
|
-
# @param source_chain [String] Chain name (e.g. "
|
|
108
|
+
# @param source_chain [String] Chain name (e.g. "tempo", "base").
|
|
109
109
|
#
|
|
110
110
|
# @param status [Symbol, Privy::Models::WalletActionTransferSucceededWebhookPayload::Status] The status of the wallet action.
|
|
111
111
|
#
|
|
@@ -48,7 +48,7 @@ module Privy
|
|
|
48
48
|
required :available_liquidity_usd, Float, nil?: true
|
|
49
49
|
|
|
50
50
|
# @!attribute caip2
|
|
51
|
-
# CAIP-2 chain identifier (e.g. "eip155:8453").
|
|
51
|
+
# CAIP-2 chain identifier (e.g. "eip155:4217" for Tempo, "eip155:8453" for Base).
|
|
52
52
|
#
|
|
53
53
|
# @return [String]
|
|
54
54
|
required :caip2, String
|
|
@@ -103,7 +103,7 @@ module Privy
|
|
|
103
103
|
#
|
|
104
104
|
# @param available_liquidity_usd [Float, nil] Available liquidity in USD.
|
|
105
105
|
#
|
|
106
|
-
# @param caip2 [String] CAIP-2 chain identifier (e.g. "eip155:8453").
|
|
106
|
+
# @param caip2 [String] CAIP-2 chain identifier (e.g. "eip155:4217" for Tempo, "eip155:8453" for Base).
|
|
107
107
|
#
|
|
108
108
|
# @param name [String] Human-readable vault name from the yield provider.
|
|
109
109
|
#
|
|
@@ -16,7 +16,7 @@ module Privy
|
|
|
16
16
|
|
|
17
17
|
# @!attribute token
|
|
18
18
|
# The token contract address(es) to query in format "chain:address" (e.g.,
|
|
19
|
-
# "
|
|
19
|
+
# "tempo:0x20c000000000000000000000b9537d11c60e8b50" or
|
|
20
20
|
# "solana:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"). Cannot be used together
|
|
21
21
|
# with `asset`/`chain` or with `include_currency`.
|
|
22
22
|
#
|
|
@@ -31,7 +31,7 @@ module Privy
|
|
|
31
31
|
optional :asset, union: -> { Privy::Wallets::BalanceGetParams::Asset }
|
|
32
32
|
|
|
33
33
|
# @!attribute chain
|
|
34
|
-
# Chain(s) to query named assets on (e.g. `
|
|
34
|
+
# Chain(s) to query named assets on (e.g. `tempo`, `base`). Use together with
|
|
35
35
|
# `asset`. Cannot be used with `token`.
|
|
36
36
|
#
|
|
37
37
|
# @return [Symbol, Privy::Models::WalletAssetChainNameInput, Array<Symbol, Privy::Models::WalletAssetChainNameInput>, nil]
|
|
@@ -56,11 +56,11 @@ module Privy
|
|
|
56
56
|
#
|
|
57
57
|
# @param wallet_id [String] ID of the wallet.
|
|
58
58
|
#
|
|
59
|
-
# @param token [String, Array<String>] The token contract address(es) to query in format "chain:address" (e.g., "
|
|
59
|
+
# @param token [String, Array<String>] The token contract address(es) to query in format "chain:address" (e.g., "tempo:
|
|
60
60
|
#
|
|
61
61
|
# @param asset [Symbol, Array<Symbol, Privy::Models::WalletAsset>, Privy::Models::Wallets::BalanceGetParams::Asset] Named asset(s) to query (e.g. `eth`, `usdc`). Use together with `chain` to scope
|
|
62
62
|
#
|
|
63
|
-
# @param chain [Symbol, Privy::Models::WalletAssetChainNameInput, Array<Symbol, Privy::Models::WalletAssetChainNameInput>] Chain(s) to query named assets on (e.g. `
|
|
63
|
+
# @param chain [Symbol, Privy::Models::WalletAssetChainNameInput, Array<Symbol, Privy::Models::WalletAssetChainNameInput>] Chain(s) to query named assets on (e.g. `tempo`, `base`). Use together with `ass
|
|
64
64
|
#
|
|
65
65
|
# @param include_archived [Boolean] Include archived wallets in lookup. Defaults to false.
|
|
66
66
|
#
|
|
@@ -69,7 +69,7 @@ module Privy
|
|
|
69
69
|
# @param request_options [Privy::RequestOptions, Hash{Symbol=>Object}]
|
|
70
70
|
|
|
71
71
|
# The token contract address(es) to query in format "chain:address" (e.g.,
|
|
72
|
-
# "
|
|
72
|
+
# "tempo:0x20c000000000000000000000b9537d11c60e8b50" or
|
|
73
73
|
# "solana:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"). Cannot be used together
|
|
74
74
|
# with `asset`/`chain` or with `include_currency`.
|
|
75
75
|
module Token
|
|
@@ -109,6 +109,8 @@ module Privy
|
|
|
109
109
|
|
|
110
110
|
variant const: -> { Privy::Models::Wallets::BalanceGetParams::Asset::USDB }
|
|
111
111
|
|
|
112
|
+
variant const: -> { Privy::Models::Wallets::BalanceGetParams::Asset::PATHUSD }
|
|
113
|
+
|
|
112
114
|
variant const: -> { Privy::Models::Wallets::BalanceGetParams::Asset::SOL }
|
|
113
115
|
|
|
114
116
|
variant const: -> { Privy::Models::Wallets::BalanceGetParams::Asset::TRX }
|
|
@@ -133,6 +135,7 @@ module Privy
|
|
|
133
135
|
USDT = :usdt
|
|
134
136
|
EURC = :eurc
|
|
135
137
|
USDB = :usdb
|
|
138
|
+
PATHUSD = :pathusd
|
|
136
139
|
SOL = :sol
|
|
137
140
|
TRX = :trx
|
|
138
141
|
|
|
@@ -142,7 +145,7 @@ module Privy
|
|
|
142
145
|
WalletAssetArray = Privy::Internal::Type::ArrayOf[enum: -> { Privy::WalletAsset }]
|
|
143
146
|
end
|
|
144
147
|
|
|
145
|
-
# Chain(s) to query named assets on (e.g. `
|
|
148
|
+
# Chain(s) to query named assets on (e.g. `tempo`, `base`). Use together with
|
|
146
149
|
# `asset`. Cannot be used with `token`.
|
|
147
150
|
module Chain
|
|
148
151
|
extend Privy::Internal::Type::Union
|
|
@@ -74,6 +74,8 @@ module Privy
|
|
|
74
74
|
|
|
75
75
|
variant const: -> { Privy::Models::Wallets::BalanceGetResponse::Balance::Asset::USDB }
|
|
76
76
|
|
|
77
|
+
variant const: -> { Privy::Models::Wallets::BalanceGetResponse::Balance::Asset::PATHUSD }
|
|
78
|
+
|
|
77
79
|
variant const: -> { Privy::Models::Wallets::BalanceGetResponse::Balance::Asset::SOL }
|
|
78
80
|
|
|
79
81
|
variant const: -> { Privy::Models::Wallets::BalanceGetResponse::Balance::Asset::TRX }
|
|
@@ -98,6 +100,7 @@ module Privy
|
|
|
98
100
|
USDT = :usdt
|
|
99
101
|
EURC = :eurc
|
|
100
102
|
USDB = :usdb
|
|
103
|
+
PATHUSD = :pathusd
|
|
101
104
|
SOL = :sol
|
|
102
105
|
TRX = :trx
|
|
103
106
|
|