Skip to content

Commit

Permalink
Update ToS message and ToS version deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
miohtama committed Apr 2, 2024
1 parent ac99073 commit 90fed3a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,19 @@ scripts/set-terms-of-service.sh
- Run `python scripts/update.py` to change on-chain state and get a new hash
- Update `lib/assets/tos/tos-map.js`

Example:

```shell
# TOS version will be automatically picked from the smart contract
poetry shell
export TOS_DATE=2024-03-20
export CONTRACT_ADDRESS=0xbe1418df0bAd87577de1A41385F19c6e77312780
export JSON_RPC_POLYGON=
export DEPLOY_PRIVATE_KEY=
python scripts/update.py

```

## Deployment

A deployment can be found on Polygon [0xbe1418df0bAd87577de1A41385F19c6e77312780](https://polygonscan.com/address/0xbe1418df0bAd87577de1A41385F19c6e77312780).
Expand Down
6 changes: 2 additions & 4 deletions terms_of_service/acceptance_message.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,9 @@


TRADING_STRATEGY_ACCEPTANCE_MESSAGE = """
I read and agree on Terms of Service to access the
smart contract software deployed on a blockchain.
I agree on Terms of Service. I understand smart contract trading is risky and I may lose all of my deposits.
The Terms of Service version {version}, dated {date}, was published at
https://tradingstrategy.ai/tos/{date}.txt
This Terms of Service version {version}, dated {date}, was published at https://tradingstrategy.ai/tos/{date}.txt
""".strip()


Expand Down

0 comments on commit 90fed3a

Please sign in to comment.