IDSSPSM
Interface for the Maker DAO PSMs
gem refers to collateral tokens
Methods
buyGem
function buyGem(address usr, uint256 gemAmt) external nonpayable
Swap DAI for the underlying collateral type
Parameters
Name | Type | Description |
---|---|---|
usr | address | undefined |
gemAmt | uint256 | undefined |
sellGem
function sellGem(address usr, uint256 gemAmt) external nonpayable
Swap collateral type for DAI
Parameters
Name | Type | Description |
---|---|---|
usr | address | undefined |
gemAmt | uint256 | undefined |