privy_ruby 0.5.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 +12 -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 +1 -1
- 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/fiat_onramp_destination.rb +3 -3
- data/lib/privy/models/named_token_transfer_source.rb +4 -4
- 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/user_operation_input.rb +17 -1
- 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_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/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 +2 -2
- data/lib/privy/resources/wallets/balance.rb +2 -2
- data/lib/privy/version.rb +1 -1
- 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 +2 -2
- 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/fiat_onramp_destination.rbi +4 -4
- data/rbi/privy/models/named_token_transfer_source.rbi +6 -6
- 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/user_operation_input.rbi +22 -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_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/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 +2 -2
- data/rbi/privy/resources/wallets/balance.rbi +2 -2
- data/rbi/privy/resources/wallets/earn/ethereum/incentive.rbi +2 -2
- 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/user_operation_input.rbs +14 -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/transaction_get_params.rbs +2 -0
- metadata +2 -2
|
@@ -17,7 +17,7 @@ module Privy
|
|
|
17
17
|
attr_accessor :wallet_id
|
|
18
18
|
|
|
19
19
|
# The token contract address(es) to query in format "chain:address" (e.g.,
|
|
20
|
-
# "
|
|
20
|
+
# "tempo:0x20c000000000000000000000b9537d11c60e8b50" or
|
|
21
21
|
# "solana:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"). Cannot be used together
|
|
22
22
|
# with `asset`/`chain` or with `include_currency`.
|
|
23
23
|
sig do
|
|
@@ -55,7 +55,7 @@ module Privy
|
|
|
55
55
|
end
|
|
56
56
|
attr_writer :asset
|
|
57
57
|
|
|
58
|
-
# Chain(s) to query named assets on (e.g. `
|
|
58
|
+
# Chain(s) to query named assets on (e.g. `tempo`, `base`). Use together with
|
|
59
59
|
# `asset`. Cannot be used with `token`.
|
|
60
60
|
sig do
|
|
61
61
|
returns(
|
|
@@ -130,14 +130,14 @@ module Privy
|
|
|
130
130
|
# ID of the wallet.
|
|
131
131
|
wallet_id:,
|
|
132
132
|
# The token contract address(es) to query in format "chain:address" (e.g.,
|
|
133
|
-
# "
|
|
133
|
+
# "tempo:0x20c000000000000000000000b9537d11c60e8b50" or
|
|
134
134
|
# "solana:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"). Cannot be used together
|
|
135
135
|
# with `asset`/`chain` or with `include_currency`.
|
|
136
136
|
token: nil,
|
|
137
137
|
# Named asset(s) to query (e.g. `eth`, `usdc`). Use together with `chain` to scope
|
|
138
138
|
# the query. Cannot be used with `token`.
|
|
139
139
|
asset: nil,
|
|
140
|
-
# Chain(s) to query named assets on (e.g. `
|
|
140
|
+
# Chain(s) to query named assets on (e.g. `tempo`, `base`). Use together with
|
|
141
141
|
# `asset`. Cannot be used with `token`.
|
|
142
142
|
chain: nil,
|
|
143
143
|
# Include archived wallets in lookup. Defaults to false.
|
|
@@ -175,7 +175,7 @@ module Privy
|
|
|
175
175
|
end
|
|
176
176
|
|
|
177
177
|
# The token contract address(es) to query in format "chain:address" (e.g.,
|
|
178
|
-
# "
|
|
178
|
+
# "tempo:0x20c000000000000000000000b9537d11c60e8b50" or
|
|
179
179
|
# "solana:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"). Cannot be used together
|
|
180
180
|
# with `asset`/`chain` or with `include_currency`.
|
|
181
181
|
module Token
|
|
@@ -246,6 +246,11 @@ module Privy
|
|
|
246
246
|
T.let(:eurc, Privy::Wallets::BalanceGetParams::Asset::TaggedSymbol)
|
|
247
247
|
USDB =
|
|
248
248
|
T.let(:usdb, Privy::Wallets::BalanceGetParams::Asset::TaggedSymbol)
|
|
249
|
+
PATHUSD =
|
|
250
|
+
T.let(
|
|
251
|
+
:pathusd,
|
|
252
|
+
Privy::Wallets::BalanceGetParams::Asset::TaggedSymbol
|
|
253
|
+
)
|
|
249
254
|
SOL =
|
|
250
255
|
T.let(:sol, Privy::Wallets::BalanceGetParams::Asset::TaggedSymbol)
|
|
251
256
|
TRX =
|
|
@@ -258,7 +263,7 @@ module Privy
|
|
|
258
263
|
)
|
|
259
264
|
end
|
|
260
265
|
|
|
261
|
-
# Chain(s) to query named assets on (e.g. `
|
|
266
|
+
# Chain(s) to query named assets on (e.g. `tempo`, `base`). Use together with
|
|
262
267
|
# `asset`. Cannot be used with `token`.
|
|
263
268
|
module Chain
|
|
264
269
|
extend Privy::Internal::Type::Union
|
|
@@ -181,6 +181,11 @@ module Privy
|
|
|
181
181
|
:usdb,
|
|
182
182
|
Privy::Models::Wallets::BalanceGetResponse::Balance::Asset::TaggedSymbol
|
|
183
183
|
)
|
|
184
|
+
PATHUSD =
|
|
185
|
+
T.let(
|
|
186
|
+
:pathusd,
|
|
187
|
+
Privy::Models::Wallets::BalanceGetResponse::Balance::Asset::TaggedSymbol
|
|
188
|
+
)
|
|
184
189
|
SOL =
|
|
185
190
|
T.let(
|
|
186
191
|
:sol,
|
|
@@ -16,7 +16,7 @@ module Privy
|
|
|
16
16
|
sig { returns(String) }
|
|
17
17
|
attr_accessor :id
|
|
18
18
|
|
|
19
|
-
# EVM chain name (e.g. "
|
|
19
|
+
# EVM chain name (e.g. "tempo", "base").
|
|
20
20
|
sig { returns(String) }
|
|
21
21
|
attr_accessor :chain
|
|
22
22
|
|
|
@@ -112,7 +112,7 @@ module Privy
|
|
|
112
112
|
def self.new(
|
|
113
113
|
# The ID of the wallet action.
|
|
114
114
|
id:,
|
|
115
|
-
# EVM chain name (e.g. "
|
|
115
|
+
# EVM chain name (e.g. "tempo", "base").
|
|
116
116
|
chain:,
|
|
117
117
|
# ISO 8601 timestamp of when the wallet action was created.
|
|
118
118
|
created_at:,
|
|
@@ -13,8 +13,8 @@ module Privy
|
|
|
13
13
|
end
|
|
14
14
|
|
|
15
15
|
# The blockchain network on which to perform the incentive claim. Supported chains
|
|
16
|
-
# include: 'ethereum', 'base', 'arbitrum', 'polygon', 'solana', and more,
|
|
17
|
-
# with their respective testnets.
|
|
16
|
+
# include: 'tempo', 'ethereum', 'base', 'arbitrum', 'polygon', 'solana', and more,
|
|
17
|
+
# along with their respective testnets.
|
|
18
18
|
sig { returns(String) }
|
|
19
19
|
attr_accessor :chain
|
|
20
20
|
|
|
@@ -22,8 +22,8 @@ module Privy
|
|
|
22
22
|
sig { params(chain: String).returns(T.attached_class) }
|
|
23
23
|
def self.new(
|
|
24
24
|
# The blockchain network on which to perform the incentive claim. Supported chains
|
|
25
|
-
# include: 'ethereum', 'base', 'arbitrum', 'polygon', 'solana', and more,
|
|
26
|
-
# with their respective testnets.
|
|
25
|
+
# include: 'tempo', 'ethereum', 'base', 'arbitrum', 'polygon', 'solana', and more,
|
|
26
|
+
# along with their respective testnets.
|
|
27
27
|
chain:
|
|
28
28
|
)
|
|
29
29
|
end
|
|
@@ -12,14 +12,14 @@ module Privy
|
|
|
12
12
|
)
|
|
13
13
|
end
|
|
14
14
|
|
|
15
|
-
# Chain name to fetch rewards for (e.g. "
|
|
15
|
+
# Chain name to fetch rewards for (e.g. "tempo", "base").
|
|
16
16
|
sig { returns(String) }
|
|
17
17
|
attr_accessor :chain
|
|
18
18
|
|
|
19
19
|
# Query parameters for fetching incentive rewards.
|
|
20
20
|
sig { params(chain: String).returns(T.attached_class) }
|
|
21
21
|
def self.new(
|
|
22
|
-
# Chain name to fetch rewards for (e.g. "
|
|
22
|
+
# Chain name to fetch rewards for (e.g. "tempo", "base").
|
|
23
23
|
chain:
|
|
24
24
|
)
|
|
25
25
|
end
|
|
@@ -37,7 +37,7 @@ module Privy
|
|
|
37
37
|
sig { returns(T.nilable(Float)) }
|
|
38
38
|
attr_accessor :available_liquidity_usd
|
|
39
39
|
|
|
40
|
-
# CAIP-2 chain identifier (e.g. "eip155:8453").
|
|
40
|
+
# CAIP-2 chain identifier (e.g. "eip155:4217" for Tempo, "eip155:8453" for Base).
|
|
41
41
|
sig { returns(String) }
|
|
42
42
|
attr_accessor :caip2
|
|
43
43
|
|
|
@@ -97,7 +97,7 @@ module Privy
|
|
|
97
97
|
asset:,
|
|
98
98
|
# Available liquidity in USD.
|
|
99
99
|
available_liquidity_usd:,
|
|
100
|
-
# CAIP-2 chain identifier (e.g. "eip155:8453").
|
|
100
|
+
# CAIP-2 chain identifier (e.g. "eip155:4217" for Tempo, "eip155:8453" for Base).
|
|
101
101
|
caip2:,
|
|
102
102
|
# Human-readable vault name from the yield provider.
|
|
103
103
|
name:,
|
|
@@ -30,7 +30,7 @@ module Privy
|
|
|
30
30
|
sig { returns(T.nilable(String)) }
|
|
31
31
|
attr_accessor :destination_amount
|
|
32
32
|
|
|
33
|
-
# Chain name (e.g. "
|
|
33
|
+
# Chain name (e.g. "tempo", "base").
|
|
34
34
|
sig { returns(String) }
|
|
35
35
|
attr_accessor :source_chain
|
|
36
36
|
|
|
@@ -225,7 +225,7 @@ module Privy
|
|
|
225
225
|
# transfers, set at creation (the guaranteed exact amount). For exact_input
|
|
226
226
|
# cross-chain transfers, null until fill confirmation.
|
|
227
227
|
destination_amount:,
|
|
228
|
-
# Chain name (e.g. "
|
|
228
|
+
# Chain name (e.g. "tempo", "base").
|
|
229
229
|
source_chain:,
|
|
230
230
|
# Status of a wallet action.
|
|
231
231
|
status:,
|
|
@@ -37,7 +37,7 @@ module Privy
|
|
|
37
37
|
sig { returns(T.nilable(Float)) }
|
|
38
38
|
attr_accessor :available_liquidity_usd
|
|
39
39
|
|
|
40
|
-
# CAIP-2 chain identifier (e.g. "eip155:8453").
|
|
40
|
+
# CAIP-2 chain identifier (e.g. "eip155:4217" for Tempo, "eip155:8453" for Base).
|
|
41
41
|
sig { returns(String) }
|
|
42
42
|
attr_accessor :caip2
|
|
43
43
|
|
|
@@ -92,7 +92,7 @@ module Privy
|
|
|
92
92
|
asset:,
|
|
93
93
|
# Available liquidity in USD.
|
|
94
94
|
available_liquidity_usd:,
|
|
95
|
-
# CAIP-2 chain identifier (e.g. "eip155:8453").
|
|
95
|
+
# CAIP-2 chain identifier (e.g. "eip155:4217" for Tempo, "eip155:8453" for Base).
|
|
96
96
|
caip2:,
|
|
97
97
|
# Human-readable vault name from the yield provider.
|
|
98
98
|
name:,
|
|
@@ -30,14 +30,14 @@ module Privy
|
|
|
30
30
|
# ID of the wallet.
|
|
31
31
|
wallet_id,
|
|
32
32
|
# The token contract address(es) to query in format "chain:address" (e.g.,
|
|
33
|
-
# "
|
|
33
|
+
# "tempo:0x20c000000000000000000000b9537d11c60e8b50" or
|
|
34
34
|
# "solana:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"). Cannot be used together
|
|
35
35
|
# with `asset`/`chain` or with `include_currency`.
|
|
36
36
|
token: nil,
|
|
37
37
|
# Named asset(s) to query (e.g. `eth`, `usdc`). Use together with `chain` to scope
|
|
38
38
|
# the query. Cannot be used with `token`.
|
|
39
39
|
asset: nil,
|
|
40
|
-
# Chain(s) to query named assets on (e.g. `
|
|
40
|
+
# Chain(s) to query named assets on (e.g. `tempo`, `base`). Use together with
|
|
41
41
|
# `asset`. Cannot be used with `token`.
|
|
42
42
|
chain: nil,
|
|
43
43
|
# Include archived wallets in lookup. Defaults to false.
|
|
@@ -22,8 +22,8 @@ module Privy
|
|
|
22
22
|
# Path param: ID of the wallet.
|
|
23
23
|
wallet_id,
|
|
24
24
|
# Body param: The blockchain network on which to perform the incentive claim.
|
|
25
|
-
# Supported chains include: 'ethereum', 'base', 'arbitrum', 'polygon',
|
|
26
|
-
# and more, along with their respective testnets.
|
|
25
|
+
# Supported chains include: 'tempo', 'ethereum', 'base', 'arbitrum', 'polygon',
|
|
26
|
+
# 'solana', and more, along with their respective testnets.
|
|
27
27
|
chain:,
|
|
28
28
|
# Header param: Request authorization signature. If multiple signatures are
|
|
29
29
|
# required, they should be comma separated.
|
|
@@ -5,6 +5,7 @@ module Privy
|
|
|
5
5
|
| :arbitrum
|
|
6
6
|
| :avalanche
|
|
7
7
|
| :base
|
|
8
|
+
| :base_sepolia
|
|
8
9
|
| :bsc
|
|
9
10
|
| :tempo
|
|
10
11
|
| :linea
|
|
@@ -20,6 +21,7 @@ module Privy
|
|
|
20
21
|
ARBITRUM: :arbitrum
|
|
21
22
|
AVALANCHE: :avalanche
|
|
22
23
|
BASE: :base
|
|
24
|
+
BASE_SEPOLIA: :base_sepolia
|
|
23
25
|
BSC: :bsc
|
|
24
26
|
TEMPO: :tempo
|
|
25
27
|
LINEA: :linea
|
|
@@ -10,6 +10,8 @@ module Privy
|
|
|
10
10
|
pre_verification_gas: String,
|
|
11
11
|
sender: String,
|
|
12
12
|
verification_gas_limit: String,
|
|
13
|
+
factory: String,
|
|
14
|
+
factory_data: String,
|
|
13
15
|
paymaster: String,
|
|
14
16
|
paymaster_data: String,
|
|
15
17
|
paymaster_post_op_gas_limit: String,
|
|
@@ -33,6 +35,14 @@ module Privy
|
|
|
33
35
|
|
|
34
36
|
attr_accessor verification_gas_limit: String
|
|
35
37
|
|
|
38
|
+
attr_reader factory: String?
|
|
39
|
+
|
|
40
|
+
def factory=: (String) -> String
|
|
41
|
+
|
|
42
|
+
attr_reader factory_data: String?
|
|
43
|
+
|
|
44
|
+
def factory_data=: (String) -> String
|
|
45
|
+
|
|
36
46
|
attr_reader paymaster: String?
|
|
37
47
|
|
|
38
48
|
def paymaster=: (String) -> String
|
|
@@ -58,6 +68,8 @@ module Privy
|
|
|
58
68
|
pre_verification_gas: String,
|
|
59
69
|
sender: String,
|
|
60
70
|
verification_gas_limit: String,
|
|
71
|
+
?factory: String,
|
|
72
|
+
?factory_data: String,
|
|
61
73
|
?paymaster: String,
|
|
62
74
|
?paymaster_data: String,
|
|
63
75
|
?paymaster_post_op_gas_limit: String,
|
|
@@ -73,6 +85,8 @@ module Privy
|
|
|
73
85
|
pre_verification_gas: String,
|
|
74
86
|
sender: String,
|
|
75
87
|
verification_gas_limit: String,
|
|
88
|
+
factory: String,
|
|
89
|
+
factory_data: String,
|
|
76
90
|
paymaster: String,
|
|
77
91
|
paymaster_data: String,
|
|
78
92
|
paymaster_post_op_gas_limit: String,
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
module Privy
|
|
2
2
|
module Models
|
|
3
3
|
type wallet_ethereum_asset =
|
|
4
|
-
:usdc
|
|
4
|
+
:usdc
|
|
5
|
+
| :"usdc.e"
|
|
6
|
+
| :eth
|
|
7
|
+
| :avax
|
|
8
|
+
| :pol
|
|
9
|
+
| :bnb
|
|
10
|
+
| :usdt
|
|
11
|
+
| :eurc
|
|
12
|
+
| :usdb
|
|
13
|
+
| :pathusd
|
|
5
14
|
|
|
6
15
|
module WalletEthereumAsset
|
|
7
16
|
extend Privy::Internal::Type::Enum
|
|
@@ -15,6 +24,7 @@ module Privy
|
|
|
15
24
|
USDT: :usdt
|
|
16
25
|
EURC: :eurc
|
|
17
26
|
USDB: :usdb
|
|
27
|
+
PATHUSD: :pathusd
|
|
18
28
|
|
|
19
29
|
def self?.values: -> ::Array[Privy::Models::wallet_ethereum_asset]
|
|
20
30
|
end
|
|
@@ -86,6 +86,7 @@ module Privy
|
|
|
86
86
|
| :usdt
|
|
87
87
|
| :eurc
|
|
88
88
|
| :usdb
|
|
89
|
+
| :pathusd
|
|
89
90
|
| :sol
|
|
90
91
|
| :trx
|
|
91
92
|
| ::Array[Privy::Models::wallet_asset]
|
|
@@ -104,6 +105,7 @@ module Privy
|
|
|
104
105
|
USDT: :usdt
|
|
105
106
|
EURC: :eurc
|
|
106
107
|
USDB: :usdb
|
|
108
|
+
PATHUSD: :pathusd
|
|
107
109
|
SOL: :sol
|
|
108
110
|
TRX: :trx
|
|
109
111
|
|
|
@@ -92,6 +92,7 @@ module Privy
|
|
|
92
92
|
| :usdt
|
|
93
93
|
| :eurc
|
|
94
94
|
| :usdb
|
|
95
|
+
| :pathusd
|
|
95
96
|
| :sol
|
|
96
97
|
| :trx
|
|
97
98
|
| ::Array[Privy::Models::wallet_asset]
|
|
@@ -110,6 +111,7 @@ module Privy
|
|
|
110
111
|
USDT: :usdt
|
|
111
112
|
EURC: :eurc
|
|
112
113
|
USDB: :usdb
|
|
114
|
+
PATHUSD: :pathusd
|
|
113
115
|
SOL: :sol
|
|
114
116
|
TRX: :trx
|
|
115
117
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: privy_ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.6.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Privy API
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-07-
|
|
11
|
+
date: 2026-07-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|