Skip to content

Commit

Permalink
r
Browse files Browse the repository at this point in the history
  • Loading branch information
Evgeny Marchenko committed Aug 25, 2019
1 parent 8b8e0f8 commit d0249f4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions truffle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ When set up anyone can call `save` and `saveN` methods of Insured to repay endan
2. Deploy Authority, use Insured address in constructor
3. Assuming user has his DSProxy contract (created via CDP Portal). Initialize `DSProxy.setAuthority` with Authority's address.
* One can use [IDSProxy](contracts/IDSProxy.sol) and [Remix](http://remix.ethereum.org/#optimize=false&evmVersion=null&version=soljson-v0.5.11+commit.c082d0b4.js) to call `setAuthority` function
* Or send call the proxy contract with that `msg.data`: `0x7a9e5e4b000000000000000000000000951b0913e4acb4e788cad7c82b171e3a4402e754`

Enjoy help from bots!

Expand All @@ -26,3 +27,4 @@ Enjoy help from bots!

## Bots
Bots could watch for [LogSetAuthority events](https://github.com/dapphub/ds-auth/blob/f783169408c278f85e26d77ba7b45823ed9503dd/src/auth.sol#L49), emitted from [`DSProxy.setAuthority` cals](https://kovan.etherscan.io/tx/0xba9c937ca87858dc9c0b2c11d33f87fed0f3c95bdc9ef9a38594f948f263f3da#eventlog).

0 comments on commit d0249f4

Please sign in to comment.