This contract is responsible for creating margin accounts.
function createMarginAccount() external returns (uint marginAccountID) { marginAccountID = nextTokenID; _safeMint(msg.sender, marginAccountID); nextTokenID++; emit CreateMarginAccount(marginAccountID); }
Last updated 1 month ago