@@ -6,36 +6,29 @@ components:
6
6
maxSpendUsd :
7
7
type : string
8
8
description : Maximum amount of USD that can be spent by the Gas Manager
9
- default : ' 5000.00'
10
9
nullable : true
11
10
maxSpendPerSenderUsd :
12
11
type : string
13
12
description : Maximum amount of USD that can be spent by a single sender
14
- default : ' 100.00'
15
13
nullable : true
16
14
maxSpendPerUoUsd :
17
15
type : string
18
16
description : Maximum amount of USD that can be spent by a single user operation
19
- default : ' 20.00'
20
17
nullable : true
21
18
maxCount :
22
19
type : string
23
20
description : Maximum number of operations that can be sponsored through the policy
24
- default : ' 100'
25
21
nullable : true
26
22
maxCountPerSender :
27
23
type : string
28
24
description : Maximum number of operations that can be sponsored for a single sender through the policy
29
- default : ' 2'
30
25
nullable : true
31
26
senderAllowlist :
32
27
type : array
33
28
items :
34
29
type : string
35
30
description : List of addresses that are allowed to send operations
36
- default :
37
- - ' 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266'
38
- - ' 0x70997970c51812dc3a010c7d01b50e0d17dc79c8'
31
+ nullable : true
39
32
senderBlocklist :
40
33
type : array
41
34
items :
@@ -45,18 +38,19 @@ components:
45
38
startTimeUnix :
46
39
type : string
47
40
description : Unix timestamp of when the policy starts
48
- default : ' 1674228753 '
41
+ nullable : true
49
42
endTimeUnix :
50
43
type : string
51
44
description : Unix timestamp of when the policy ends
52
- default : ' 1679340742'
53
45
nullable : true
54
46
sponsorshipExpiryMs :
55
47
type : string
56
- description : Milliseconds from signing that the sponsorship expires
48
+ description : Milliseconds from signing that the sponsorship expires. Defaults to 600000 (10 minutes).
57
49
default : ' 600000'
50
+ nullable : true
58
51
webhookRules :
59
52
type : object
53
+ nullable : true
60
54
description : Make a request to your server to verify sponsorship eligibility.
61
55
properties :
62
56
webhookUrl :
@@ -72,14 +66,12 @@ components:
72
66
- webhookUrl
73
67
- approveOnFailure
74
68
networks :
75
- description : Networks for the policy
69
+ description : |
70
+ Networks for the policy. Example: ["ETH_MAINNET"]
76
71
type : array
77
72
items :
78
73
type : string
79
- default :
80
- - ETH_MAINNET
81
74
required :
82
- - startTimeUnix
83
75
- sponsorshipExpiryMs
84
76
85
77
SolanaRules :
@@ -88,30 +80,23 @@ components:
88
80
maxSpendUsd :
89
81
type : string
90
82
description : Maximum amount of USD that can be spent by the Gas Manager
91
- default : ' 6500.00'
92
83
maxSpendPerTxnUsd :
93
84
type : string
94
85
description : Maximum amount of USD that can be spent per transaction
95
- default : ' 30.00'
96
86
maxCount :
97
87
type : string
98
88
description : Maximum number of transactions that can be sponsored through the policy
99
- default : ' 200'
100
89
startTimeUnix :
101
90
type : string
102
91
description : Unix timestamp of when the policy starts
103
- default : ' 1674228753'
104
92
endTimeUnix :
105
93
type : string
106
94
description : Unix timestamp of when the policy ends
107
- default : ' 1679340742'
108
95
networks :
109
96
type : array
110
97
items :
111
98
type : string
112
- description : List of networks the policy is active on
113
- default :
114
- - ' SOLANA_MAINNET'
99
+ description : List of networks the policy is active on. Valid values are "SOLANA_MAINNET" and "SOLANA_DEVNET".
115
100
116
101
117
102
Policy :
0 commit comments