Add "state" tests
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
6f4312cb4f
commit
14aa8a6d59
21 changed files with 116 additions and 3 deletions
5
companion/templates/balance.md.j2
Normal file
5
companion/templates/balance.md.j2
Normal file
|
@ -0,0 +1,5 @@
|
|||
*💰 New {{pool}} balance*
|
||||
|
||||
*Address*: [{{address}}]({{url}})
|
||||
*Unpaid balance*: {{balance}} {% if balance_fiat != 'None' %}\({{balance_fiat}}\){% endif %}
|
||||
*Unpaid percentage*: {{balance_percentage}}
|
7
companion/templates/block.md.j2
Normal file
7
companion/templates/block.md.j2
Normal file
|
@ -0,0 +1,7 @@
|
|||
*⛏️ New {{pool}} block*
|
||||
|
||||
*Number*: [{{number}}](https://etherscan.io/block/{{hash}})
|
||||
*Reward*: {{reward}} {% if reward_fiat != 'None' %}\({{reward_fiat}}\){% endif %}
|
||||
*Date/Time*: {{time}}
|
||||
*Round time*: {{round_time}}
|
||||
*Luck*: {{luck}}
|
7
companion/templates/payment.md.j2
Normal file
7
companion/templates/payment.md.j2
Normal file
|
@ -0,0 +1,7 @@
|
|||
*💵 New {{pool}} payment*
|
||||
|
||||
*Amount*: {{amount}} {% if amount_fiat != 'None' %}\({{amount_fiat}}\){% endif %}
|
||||
*ID*: [{{txid}}](https://etherscan.io/tx/{{txid}})
|
||||
*Address*: [{{address}}](https://flexpool.io/{{address}})
|
||||
*Date/Time*: {{time}}
|
||||
*Duration*: {{duration}}
|
Reference in a new issue