getFundMeta | Gets unique identifier of the fund as parameter get a fund's name and focus and returns them. |
getFunds | Gets all fund addresses and return them. |
getDepositAddressFor | Gets unique identifier of the fund as parameter and address of token tracker and return the address of the fund. |
getFundAddress | Gets unique identifier of a fund as parameter and returns the fund’s deposit address. |
getAllowedTokens | Gets unique identifier of a fund as parameter and returns list of allowed tokens for a fund. |
isTokenAllowed | Gets unique identifier of a fund and token address as parameter and check id token is allowed to this fund. |
createFund | Gets name of the fund, focus of the fund, description of the fund, address of underlying Gnosis Safe, Array of allowed token addresses, a Boolean indicating if fund is requestable and a list of checks if fund is requestable as parameters, create a clone of FundV1 contract, and emits an event to blockchain. |
createFundWithSafe | Similar to createFund but has 2 additional parameters as address array of owners of the safe and uint256 threshold value. If threshold value is greater than owner’s length than it reverts. |
setImplementation | Gets address of underlying Gnosis Safe sets implementation address and returns Boolean indicating operation result. |
_setupSafe | ? |
_encodeSetup | Gets a list of safe owners, number of required confrimations for a Safe transaction, contract address for optional delegate call, data payload for optional delegate call, a handler for fallback calls to this contract, a token that should be used for the payment, a value sthat should be paid, an address that should receive the payment as parameters and returns encoded bytes representation of the parameters with setup signature. |