Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 24 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,48 +20,51 @@ yarn test
## Deployments

For the most up-to-date, please refer to: https://docs.prl.one/buttonwood/developers/deployed-contracts.

```yaml
mainnet:
ButtonTokenFactory: "0x84D0F1Cd873122F2A87673e079ea69cd80b51960"
instances:
- name: "Button WETH"
- symbol: "bWETH"
- underlying: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"
- address: "0x8f471e1896d16481678db553f86283eab1561b02"
symbol: "bWETH"
underlying: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"
address: "0x8f471e1896d16481678db553f86283eab1561b02"
- name: "Button WBTC"
- symbol: "bWBTC"
- underlying: "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599"
- address: "0x8e8212386d580d8dd731a2b1a36a43935250304e"
symbol: "bWBTC"
underlying: "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599"
address: "0x8e8212386d580d8dd731a2b1a36a43935250304e"

UnbuttonTokenFactory: "0x75ff649d6119fab43dea5e5e9e02586f27fc8b8f"
instances:
- name: "Unbuttoned AAVE AMPL"
- symbol: "ubAAMPL"
- underlying: "0x1e6bb68acec8fefbd87d192be09bb274170a0548"
- address: "0xF03387d8d0FF326ab586A58E0ab4121d106147DF"
symbol: "ubAAMPL"
underlying: "0x1e6bb68acec8fefbd87d192be09bb274170a0548"
address: "0xF03387d8d0FF326ab586A58E0ab4121d106147DF"

avalanche:
ButtonTokenFactory: "0x83f6392Aab030043420D184a025e0Cd63f508798"

instances:
- name: "Button WETH"
- symbol: "bWETH"
- underlying: "0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab"
- address: "0x227d7A0e2586A5bFdA7f32aDF066d20D1bfDfDfb"
symbol: "bWETH"
underlying: "0x49d5c2bdffac6ce2bfdb6640f4f80f226bc10bab"
address: "0x227d7A0e2586A5bFdA7f32aDF066d20D1bfDfDfb"
- name: "Button WAVAX"
- symbol: "bWAVAX"
- underlying: "0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7"
- address: "0x9f61aE42c01698aC35AedeF651B0FE5E407bC6A0"
symbol: "bWAVAX"
underlying: "0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7"
address: "0x9f61aE42c01698aC35AedeF651B0FE5E407bC6A0"
- name: "Button WBTC"
- symbol: "bWBTC"
- underlying: "0x50b7545627a5162f82a992c33b87adc75187b218"
- address: "0x9bFE32D18e66ffAF6dcB0306AE7D24F768469f91"
symbol: "bWBTC"
underlying: "0x50b7545627a5162f82a992c33b87adc75187b218"
address: "0x9bFE32D18e66ffAF6dcB0306AE7D24F768469f91"
```

## Example script usage

### Verifying ChainlinkOracle contract
`yarn hardhat verify:ChainlinkOracle --network kovan --address 0x29636cE5b252a0F3C088BA1A70Bf936AA00ce7D4 --aggregator 0x6135b13325bfC4B00278B4abC5e20bbce2D6580e --staleness-threshold-secs 0x15180`

```bash
yarn hardhat verify:ChainlinkOracle --network kovan --address 0x29636cE5b252a0F3C088BA1A70Bf936AA00ce7D4 --aggregator 0x6135b13325bfC4B00278B4abC5e20bbce2D6580e --staleness-threshold-secs 0x15180
```

## Contribute

Expand Down