@agoric/zoe
Version:
Zoe: the Smart Contract Framework for Offer Enforcement
12 lines • 498 B
TypeScript
/**
* `assertRightsConserved` checks that the total amount per brand is
* equal to the total amount per brand in the proposed reallocation
*
* @param {Amount[]} previousAmounts - an array of the amounts before the
* proposed reallocation
* @param {Amount[]} newAmounts - an array of the amounts in the
* proposed reallocation
* @returns {void}
*/
export function assertRightsConserved(previousAmounts: Amount[], newAmounts: Amount[]): void;
//# sourceMappingURL=rightsConservation.d.ts.map