Skip to main content

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

NameTypeDescription
usraddressundefined
gemAmtuint256undefined

sellGem

function sellGem(address usr, uint256 gemAmt) external nonpayable

Swap collateral type for DAI

Parameters

NameTypeDescription
usraddressundefined
gemAmtuint256undefined