Skip to content

Commit

Permalink
Increase mana payout parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
muXxer committed Mar 15, 2024
1 parent 77e364a commit 9b77d31
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions components/faucet/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ type ParametersFaucet struct {
BaseTokenAmount uint64 `default:"1000000000" usage:"the amount of funds the requester receives"`
BaseTokenAmountSmall uint64 `default:"100000000" usage:"the amount of funds the requester receives if the target address has more funds than the faucet amount and less than maximum"`
BaseTokenAmountMaxTarget uint64 `default:"5000000000" usage:"the maximum allowed amount of funds on the target address"`
ManaAmount uint64 `default:"1000" usage:"the amount of mana the requester receives"`
ManaAmountMinFaucet uint64 `default:"1000000" usage:"the minimum amount of mana the faucet needs to hold before mana payouts become active"`
ManaAmount uint64 `default:"1000000" usage:"the amount of mana the requester receives"`
ManaAmountMinFaucet uint64 `default:"1000000000" usage:"the minimum amount of mana the faucet needs to hold before mana payouts become active"`
TagMessage string `default:"FAUCET" usage:"the faucet transaction tag payload"`
BatchTimeout time.Duration `default:"2s" usage:"the maximum duration for collecting faucet batches"`
BindAddress string `default:"localhost:8091" usage:"the bind address on which the faucet website can be accessed from"`
Expand Down
4 changes: 2 additions & 2 deletions config_defaults.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"baseTokenAmount": 1000000000,
"baseTokenAmountSmall": 100000000,
"baseTokenAmountMaxTarget": 5000000000,
"manaAmount": 1000,
"manaAmountMinFaucet": 1000000,
"manaAmount": 1000000,
"manaAmountMinFaucet": 1000000000,
"tagMessage": "FAUCET",
"batchTimeout": "2s",
"bindAddress": "localhost:8091",
Expand Down
8 changes: 4 additions & 4 deletions configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ Example:
| baseTokenAmount | The amount of funds the requester receives | uint | 1000000000 |
| baseTokenAmountSmall | The amount of funds the requester receives if the target address has more funds than the faucet amount and less than maximum | uint | 100000000 |
| baseTokenAmountMaxTarget | The maximum allowed amount of funds on the target address | uint | 5000000000 |
| manaAmount | The amount of mana the requester receives | uint | 1000 |
| manaAmountMinFaucet | The minimum amount of mana the faucet needs to hold before mana payouts become active | uint | 1000000 |
| manaAmount | The amount of mana the requester receives | uint | 1000000 |
| manaAmountMinFaucet | The minimum amount of mana the faucet needs to hold before mana payouts become active | uint | 1000000000 |
| tagMessage | The faucet transaction tag payload | string | "FAUCET" |
| batchTimeout | The maximum duration for collecting faucet batches | string | "2s" |
| bindAddress | The bind address on which the faucet website can be accessed from | string | "localhost:8091" |
Expand Down Expand Up @@ -151,8 +151,8 @@ Example:
"baseTokenAmount": 1000000000,
"baseTokenAmountSmall": 100000000,
"baseTokenAmountMaxTarget": 5000000000,
"manaAmount": 1000,
"manaAmountMinFaucet": 1000000,
"manaAmount": 1000000,
"manaAmountMinFaucet": 1000000000,
"tagMessage": "FAUCET",
"batchTimeout": "2s",
"bindAddress": "localhost:8091",
Expand Down

0 comments on commit 9b77d31

Please sign in to comment.