Skip to content

Function client::owner::delegate

zaun_community_protocol::client::owner::delegate · Function

pub fn delegate(root: &SecretKey, community_id: CommunityId, host: &HostInfo, epoch: u64, expires_at: Option<u64>, now_ms: u64) -> Result<Signed<HostDelegation>, BuildError>

Signs a delegation of every v1 scope to host, valid from now_ms.

BuildError::Signed for a field rule (addresses) or a signing failure.

Full rustdoc page