-
Notifications
You must be signed in to change notification settings - Fork 39
/
input.ts
26 lines (23 loc) · 971 Bytes
/
input.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import { BigNumber } from 'ethers';
import { Task, TaskMode } from '@src';
import { fp } from '@helpers/numbers';
export type AvalancheRootGaugeFactoryDeployment = {
Vault: string;
BalancerMinter: string;
MultichainRouter: string;
MinBridgeLimit: BigNumber;
MaxBridgeLimit: BigNumber;
};
const Vault = new Task('20210418-vault', TaskMode.READ_ONLY);
const BalancerMinter = new Task('20220325-gauge-controller', TaskMode.READ_ONLY);
export default {
mainnet: {
Vault,
BalancerMinter,
// From https://docs.multichain.org/developer-guide/bridge-api-token-list-tx-status
MultichainRouter: '0x765277eebeca2e31912c9946eae1021199b39c61',
// The following values were taken from the router UI: https://app.multichain.org/#/router
MinBridgeLimit: fp(2), // Actual limit is 1.459854 - make slightly higher for a safety margin
MaxBridgeLimit: fp(725000), // Actual limit is 729,927.007299 - make slightly lower for a safety margin
},
};