Skip to content

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
chibie committed Jun 12, 2024
1 parent 53e0df6 commit 7c5bc5f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,18 @@ Deployment is done using Hardhat scripts
npx hardhat run scripts/deploy.ts --network <network>

npx hardhat verify --network <network> <contract_address>

# for Tron network,
tronbox migrate -f 1 --to 1 --network <network>
```

#### Upgrade proxy contract

```bash
npx hardhat run scripts/upgrade.ts --network <network>

# for Tron network,
tronbox migrate -f 2 --to 2 --network <network>
```

#### Owner configurations
Expand All @@ -34,6 +40,13 @@ npx hardhat run scripts/setSupportedTokens.ts --network <network>
npx hardhat run scripts/updateProtocolAddresses.ts --network <network>

npx hardhat run scripts/updateProtocolFee.ts --network <network>

# for Tron network,
npx hardhat run scripts/tron/setSupportedTokens.ts

npx hardhat run scripts/tron/updateProtocolAddresses.ts

npx hardhat run scripts/tron/updateProtocolFee.ts
```


Expand Down Expand Up @@ -69,6 +82,18 @@ npx hardhat run scripts/updateProtocolFee.ts --network <network>
<td>Gateway Implementation</td>
<td>0xD293fCd3dBc025603911853d893A4724CF9f70a0</td>
</tr>
<tr>
<td colspan="3"></td>
</tr>
<tr>
<td rowspan="2">Tron Shasta</td>
<td>Gateway Proxy</td>
<td>TRpBoQ3mW8ePtJfbQq8FEcKNmCV5rioEL7</td>
</tr>
<tr>
<td>Gateway Implementation</td>
<td>TFhQCQ3BUMTHRHy3hbitscQjzTjpHycdhZ</td>
</tr>
</tbody>
</table>

Expand Down
2 changes: 1 addition & 1 deletion scripts/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ const NETWORKS = {
USDT: "TG3XXyExBkPp9nzdajDZsozEu4BkaSJozs",
},
TREASURY_FEE_PERCENT: 100, // in BPS i.e 0.1%
GATEWAY_CONTRACT: "TRpBoQ3mW8ePtJfbQq8FEcKNmCV5rioEL7", //"TDJwpCwrWq6q1fU5jWxTZVaCJA1HJ4owXZ",
GATEWAY_CONTRACT: "TRpBoQ3mW8ePtJfbQq8FEcKNmCV5rioEL7",
},
};

Expand Down

0 comments on commit 7c5bc5f

Please sign in to comment.