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
not very clear where to put <ContractType>Ext doc itself
EDIT: it should be a sub-heading under #[near] macro documentation, peer (at the same heading level as) to attributes such as #[private] and what not
This task should describe, that this structure is created for all contracts, and what's the purpose of each method,
and how its methods signatures can be looked up on generated cargo doc --lib for contract
#[must_use]pubstructCrossContractExt{pub(crate)account_id:::near_sdk::AccountId,pub(crate)deposit:::near_sdk::NearToken,pub(crate)static_gas:::near_sdk::Gas,pub(crate)gas_weight:::near_sdk::GasWeight,}implCrossContractExt{pubfnwith_attached_deposit(mutself,amount:::near_sdk::NearToken) -> Self{/// ...}pubfnwith_static_gas(mutself,static_gas:::near_sdk::Gas) -> Self{/// ...}pubfnwith_unused_gas_weight(mutself,gas_weight:u64) -> Self{/// ...}}implCrossContract{/// API for calling this contract's functions in a subsequent execution.pubfnext(account_id:::near_sdk::AccountId) -> CrossContractExt{/// ....}}implCrossContractExt{pubfncontract_source_metadata(self) -> ::near_sdk::Promise{/// ...}}implCrossContractExt{pubfnmethod_one(self,n:u32) -> ::near_sdk::Promise{}pubfnmethod_two(self,n:u32) -> ::near_sdk::Promise{/// ...}}
Hola. I'm Tobias . I've already contributed to some projects concerning their documentation and would like to add this to my pool of experience plus I recently learned rust and cairo
not very clear where to put
<ContractType>Ext
doc itselfEDIT: it should be a sub-heading under #[near] macro documentation, peer (at the same heading level as) to attributes such as #[private] and what not
This task should describe, that this structure is created for all contracts, and what's the purpose of each method,
and how its methods signatures can be looked up on generated
cargo doc --lib
for contractlinks:
<ContractType>Ext
=> [near_sdk::Promise]<ContractType>Ext
(added in scope of doc:#[near(contract_state)]
in-depth pass #1307)<ContractType>Ext
(added in scope of doc:#[near(contract_state)]
in-depth pass #1307)The text was updated successfully, but these errors were encountered: