Skip to content

Commit 63bade3

Browse files
author
Maksim Kiselev
committed
Update v3-smartconrtact-changes.mdx
Added more details about bet signing in V3
1 parent ef3da42 commit 63bade3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/hub/protocol-v3/v3-smartconrtact-changes.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ In the V2 protocol, bets on pre-match, live and combo events processed in differ
1818

1919
Placing a bet occurs in several stages:
2020
- bettor approves token spending (for the bet) for the *Relayer contract* (entry point for bets)
21-
- bettor forms the bet parameters and signs it in the WEB3 wallet
21+
- bettor forms the bet parameters and signs (using EIP-712 standard) it in the WEB3 wallet. *All betting in V3 is done in the same way as V2 "live betting", using the EIP-712 parameters signing*
2222
- bettor transfers the signed data to the oracle via API
2323
- oracle signs received data, forms and transfers the order to the executor (Relayer Executor)
2424
- the executor (Relayer Executor) execute transaction call of `function betFor(OrderData[] orders)` method of *Relayer contract*, `orders` contains the user's bet data, placing the bet

0 commit comments

Comments
 (0)