Smart Contracts
userAccount
1min
function verifyPayment(address token) external {....}
This function is used to make the SideMarginFundingAccount contract owned by a user make deposit on behalf of the user and this function can be triggerred by anyone on behalf of the contract owner but it update only the balance of the owner. Deposit is done by emptying the balance of the SideMarginFundingAccount to the side vault.