graceful-unwinding-widget
Version:
graceful-unwinding-widget React component
27 lines (24 loc) • 1.11 kB
JavaScript
;
exports.__esModule = true;
var ATOMICA_WEBSITE = exports.ATOMICA_WEBSITE = 'https://atomica.org';
//TODO: Add correct url.
var TERMS_AND_CONDITIONS_URL = exports.TERMS_AND_CONDITIONS_URL = 'https://atomica.org/gu-terms';
var GU_INFO_URL = exports.GU_INFO_URL = 'https://docs.atomica.org/getting-started/graceful-unwinding';
var ERRORS = exports.ERRORS = {
INVALID_ADDRESS: 'Invalid address',
WRONG_CONTRACT: 'Wrong distributor contract',
NO_METAMASK: 'No metamask',
ACCOUNT_LOCKED: 'Account is locked',
UNSUPPORTED_NETWORK: 'Unsupported network',
ACCESS_DENIED: 'Access is denied',
WEB3_OUTDATED: 'Web3 is outdated',
NO_WEB3: 'No web3',
NO_CDP_ID_PROVIDED: 'Vault ID must be provided',
NOT_OWNED_CDP: 'Vault is not owned by this account',
201: 'Mutual group not exists',
202: 'RiskPool has not enough assets to cover your contract. Please, enter less coverage',
203: 'Min coverage should be 1 ETH',
101: 'Your contract is not verified. Sorry, we cannot provide coverage for it',
102: 'You are not an owner of this MultiSigWallet',
4001: 'User rejected request'
};