• Overview

  • Overview
  • Blockchain

  • Blockchain
  • BlocksTransactionsTop accounts
  • Validators

  • Validators
  • Proposals

  • Proposals
  • Utilities

  • Utilities
  • ParametersConsensusUptimeAPI
  • Relayers

  • Relayers
  • Nodes

  • Nodes

mainnet

agoric-3

Latest Block

‌
11 Jul, 2025 02:51:08
Powered bySTAKEME
Lightindexation

Cosmos

‌
from‌
to‌
Backend: v4.5.3-f6e8a2c0Frontend: v4.5.3-95556dc0

Company

About usStakingFaucetBrand kit

Contribute

Contact usBug reportStatus page

Socials

Proposal details

#17 # Add DAI Parity Stability Modules on agoric-3

Passed
CoreEvalProposal

# Add DAI Parity Stability Modules This is a proposal to start PSM contracts for trading DAI with IST. Note details in the attached code and permit. Discussion: https://community.agoric.com/t/add-axelar-dai-to-parity-stability-module/102 Background: https://community.agoric.com/t/blder-dao-governance-using-arbitrary-code-injection-swingset-coreeval/99

Submit time: 02 Dec 2022, 18:14

Details

Voting period

100.00%
02 Dec 2022, 18:3105 Dec 2022, 18:31

Core Eval Proposal

  • Title

    # Add DAI Parity Stability Modules on agoric-3

  • Type

    CoreEvalProposal

  • Data
    {
    "evals":[
    0:{
    "jsonPermits":"{ "consume": { "agoricNamesAdmin": true, "bankManager": true, "board": true, "chainStorage": true, "zoe": "zoe", "feeMintAccess": "zoe", "economicCommitteeCreatorFacet": "economicCommittee", "provisionPoolStartResult": true, "psmCharterCreatorFacet": "psmCharter", "psmFacets": true, "chainTimerService": "timer" }, "produce": { "testFirstAnchorKit": true }, "installation": { "consume": { "contractGovernor": true, "psm": true, "mintHolder": true } }, "instance": { "consume": { "economicCommittee": true } }, "brand": { "consume": { "DAI": true, "IST": true } } } "
    "jsCode":"/* global startPSM */ // @ts-check /** * @typedef {{ * denom: string, * keyword?: string, * proposedName?: string, * decimalPlaces?: number * }} AnchorOptions */ /** @type {AnchorOptions[]} */ const assetDetails = [ { keyword: 'DAI_axl', proposedName: 'DAI', decimalPlaces: 18, denom: 'ibc/3914BDEF46F429A26917E4D8D434620EC4817DC6B6E68FB327E190902F1E9242', }, { keyword: 'DAI_grv', proposedName: 'DAI', decimalPlaces: 18, denom: 'ibc/3D5291C23D776C3AA7A7ABB34C7B023193ECD2BC42EA19D3165B2CF9652117E7', }, ]; const initParams = { WantMintedFeeBP: 0n, GiveMintedFeeBP: 0n, MINT_LIMIT: 1_000_000000n, // 1000 IST }; /** @param {*} permittedPowers see gov-add-psm-permit.json */ const main = async permittedPowers => { const { consume: { feeMintAccess: _, ...restC }, ...restP } = permittedPowers; const noMinting = { consume: restC, ...restP }; await Promise.all( assetDetails.map(async anchorOptions => { console.log('starting PSM:', anchorOptions); const config = { ...initParams, options: { anchorOptions } }; await Promise.all([ startPSM.makeAnchorAsset(noMinting, { options: { anchorOptions } }), startPSM.startPSM(permittedPowers, config), ]); console.log('started PSM:', config); }), ); }; // "export" from script main; "
    }
    ]
    "@type":"/agoric.swingset.CoreEvalProposal"
    }