You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.
We have many custom types in this repo, and not a lot of constructors for how a user of this library constructs custom types from "plain" solidity types. Both the common types file as the higher priority and API specific types that are based on builtin solidity types + common types in the library, it would be really nice to have an interface for constructing these types. This will prevent confusion and repetition of code as any developer who integrates the filecoin-solidity library into their codebase will need to construct these custom types.
Example:
from CommonTypes.sol, how does an end user construct a bigInt from a u256? what about a cid from a string?
in MarketTypes.sol how does an end user construct a DealProposal from the composite types?
We have built constructors for the FilAddress type, and having util / constructors for the rest will be really really helpful for end users
We have many custom types in this repo, and not a lot of constructors for how a user of this library constructs custom types from "plain" solidity types. Both the common types file as the higher priority and API specific types that are based on builtin solidity types + common types in the library, it would be really nice to have an interface for constructing these types. This will prevent confusion and repetition of code as any developer who integrates the filecoin-solidity library into their codebase will need to construct these custom types.
Example:
from CommonTypes.sol, how does an end user construct a bigInt from a u256? what about a cid from a string?
in MarketTypes.sol how does an end user construct a DealProposal from the composite types?
We have built constructors for the FilAddress type, and having util / constructors for the rest will be really really helpful for end users
🔗 zboto Link
The text was updated successfully, but these errors were encountered: