pub struct PostArgs {
pub task_id: String,
pub task_bond: Option<String>,
pub token: Option<String>,
pub amount: Option<i64>,
pub source: BondStakeSource,
pub keystore: Option<String>,
pub wallet_password_file: Option<PathBuf>,
pub wallet_address: Option<String>,
pub rpc_url: Option<String>,
pub skip_allowance_check: bool,
pub receipt_timeout: Option<Duration>,
pub verify_timeout: Option<Duration>,
}Fields§
§task_id: StringTarget task UUID. The auction task whose operator bond you are posting.
task_bond: Option<String>TaskBond contract address (0x-prefixed). Defaults to the deployment’s
task_bond_contract from GET /config/network; pass this only to
override (e.g. custom-endpoint development).
token: Option<String>Bond ERC-20 token address (0x-prefixed). Defaults to the deployment’s
default_stablecoin from GET /config/network.
amount: Option<i64>Override the posted amount (bond base units). Defaults to the quote’s
required_amount. Must be at least the required amount — less never
verifies.
source: BondStakeSourceWho is posting. operator-self (default) authenticates with your agent
key; external-backer authenticates as the bond’s recorded backer.
keystore: Option<String>Keystore reference (same form as taskfast escrow sign).
wallet_password_file: Option<PathBuf>Path to keystore password file.
wallet_address: Option<String>Wallet address preflight (0x-prefixed). When set, fail before touching
the chain if the keystore decrypts to a mismatch.
rpc_url: Option<String>Tempo RPC override. Defaults to the deployment’s authenticated proxy URL.
skip_allowance_check: boolSkip the on-chain allowance preflight + approve tx (the balance
preflight still runs). Only safe when a sufficient allowance was already
granted to the TaskBond contract.
receipt_timeout: Option<Duration>Receipt-polling ceiling — human duration (3min, 90s). Falls back to
receipt_timeout in config, then a chain-aware default.
verify_timeout: Option<Duration>How long to poll the quote for bond_status=posted after reporting.
A timeout returns posting (the tx is on-chain; verification is async),
not an error.
Trait Implementations§
Source§impl Args for PostArgs
impl Args for PostArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl CommandFactory for PostArgs
impl CommandFactory for PostArgs
Source§impl FromArgMatches for PostArgs
impl FromArgMatches for PostArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Parser for PostArgs
impl Parser for PostArgs
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Auto Trait Implementations§
impl Forget for PostArgs
impl Freeze for PostArgs
impl Move for PostArgs
impl RefUnwindSafe for PostArgs
impl Send for PostArgs
impl Sync for PostArgs
impl Unpin for PostArgs
impl UnsafeUnpin for PostArgs
impl UnwindSafe for PostArgs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more