fn __constructor(env: soroban_sdk::Env, farm: soroban_sdk::Address)
Harvest for multiple farmers with a single pail
farmers - vector of farmer addressespail - the single pail index to harvest for all farmersfarmers vector is emptyfn harvest(
env: soroban_sdk::Env,
farmers: soroban_sdk::Vec,
pail: u32,
) -> soroban_sdk::Vec
Plant for multiple farmers with a single amount Requires authentication from each farmer
farmers - vector of farmer addressesamount - the amount to plant for each farmerfarmers vector is emptyfn plant(
env: soroban_sdk::Env,
farmers: soroban_sdk::Vec,
amount: i128,
) -> soroban_sdk::Vec
Work for multiple farmers with corresponding hashes and nonces
farmers - vector of farmer addresseshashes - vector of hashes, one per farmernonces - vector of nonces, one per farmerfarmers vector is emptyfn work(
env: soroban_sdk::Env,
farmers: soroban_sdk::Vec,
hashes: soroban_sdk::Vec>,
nonces: soroban_sdk::Vec,
) -> soroban_sdk::Vec