Skip to content

Commit

Permalink
build(run-protocol): regenerate psm eval, permit
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Apr 24, 2022
1 parent d894055 commit c847d7e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
13 changes: 7 additions & 6 deletions packages/run-protocol/scripts/gov-startPSM-permit.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@
"agoricNamesAdmin": true,
"board": true
},
"installation": {
"consume": {
"mintHolder": "zoe",
"contractGovernor": "zoe",
"psm": "zoe"
}
},
"issuer": {
"produce": {
"AUSD": true
Expand All @@ -29,12 +36,6 @@
"psmCreatorFacet": "psm",
"psmGovernorCreatorFacet": "psmGovernor"
},
"installation": {
"consume": {
"contractGovernor": "zoe",
"psm": "zoe"
}
},
"instance": {
"consume": {
"economicCommittee": "economicCommittee"
Expand Down
4 changes: 3 additions & 1 deletion packages/run-protocol/scripts/gov-startPSM.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ const ParamTypes = {

const PERCENT = 100n;

const BASIS_POINTS = 10000n;

const makeAmount = (brand, value) => harden({ brand, value });
harden(makeAmount);

Expand Down Expand Up @@ -240,7 +242,7 @@ const startPSMWorkAround = async agoricdev10Powers => {
* @param {string} key
*/
const produceIt = (admin, key) => {
return harden({ produce: { resolve: it => E(admin).update(key, it) } });
return harden({ resolve: it => E(admin).update(key, it) });
};
/**
* @param {ERef<NameAdmin>} admin
Expand Down

0 comments on commit c847d7e

Please sign in to comment.