space_ex v0.8.0 SpaceEx.SpaceCenter.Contract
A contract.
Can be accessed using SpaceEx.SpaceCenter.contract_manager/1.
Link to this section Summary
Functions
Accept an offered contract
Whether the contract is active
Whether the contract can be canceled
Whether the contract can be declined
Whether the contract can be failed
Cancel an active contract
Decline an offered contract
Description of the contract
Whether the contract has been failed
Funds received when accepting the contract
Funds received on completion of the contract
Funds lost if the contract is failed
Keywords for the contract
Notes for the contract
Parameters for the contract
Whether the contract has been read
Reputation gained on completion of the contract
Reputation lost if the contract is failed
Science gained on completion of the contract
Whether the contract has been seen
State of the contract
Synopsis for the contract
Title of the contract
Type of the contract
Link to this section Functions
Accept an offered contract.
Returns: :ok
Whether the contract is active.
Returns: true or false
Whether the contract can be canceled.
Returns: true or false
Whether the contract can be declined.
Returns: true or false
Whether the contract can be failed.
Returns: true or false
Cancel an active contract.
Returns: :ok
Decline an offered contract.
Returns: :ok
Description of the contract.
Returns: a string
Whether the contract has been failed.
Returns: true or false
Funds received when accepting the contract.
Returns: a high precision decimal
Funds received on completion of the contract.
Returns: a high precision decimal
Funds lost if the contract is failed.
Returns: a high precision decimal
Keywords for the contract.
Returns: [str, ...], where str is a string
Notes for the contract.
Returns: a string
Parameters for the contract.
Returns: [contract_parameter, ...], where contract_parameter is a reference to a SpaceEx.SpaceCenter.ContractParameter object
Whether the contract has been read.
Returns: true or false
Reputation gained on completion of the contract.
Returns: a high precision decimal
Reputation lost if the contract is failed.
Returns: a high precision decimal
Science gained on completion of the contract.
Returns: a high precision decimal
Whether the contract has been seen.
Returns: true or false
State of the contract.
Returns: a Elixir.SpaceEx.SpaceCenter.ContractState value in atom form
Synopsis for the contract.
Returns: a string
Title of the contract.
Returns: a string
Type of the contract.
Returns: a string