Lux.Web3.Contracts.AgenticCompany (Lux v0.5.0)
View SourceAgentic Company contract
Summary
Functions
Default address of the contract. Returns nil
if not specified.
Prepares acceptDefaultAdminTransfer()
call parameters on the contract.
Prepares AGENT_TOKEN()
call parameters on the contract.
Prepares ANS_RESOLVER()
call parameters on the contract.
Prepares ANS_REVERSE_REGISTRAR()
call parameters on the contract.
Prepares applyToJob(bytes32 jobId)
call parameters on the contract.
Prepares applyToJobOnBehalfOf(bytes32 jobId, bytes32 applicantAnsNode)
call parameters on the contract.
Prepares beginDefaultAdminTransfer(address newAdmin)
call parameters on the contract.
Prepares cancelDefaultAdminTransfer()
call parameters on the contract.
Prepares cancelJob(bytes32 jobId)
call parameters on the contract.
Prepares changeDefaultAdminDelay(uint48 newDelay)
call parameters on the contract.
Prepares COMPANY_NAME()
call parameters on the contract.
Prepares contract constructor values for deployment.
Prepares createJob(string jobName)
call parameters on the contract.
Prepares debitInterviewFee(bytes32 jobApplicationId, uint256 amount)
call parameters on the contract.
Prepares defaultAdmin()
call parameters on the contract.
Prepares defaultAdminDelay()
call parameters on the contract.
Prepares defaultAdminDelayIncreaseWait()
call parameters on the contract.
Prepares DEFAULT_ADMIN_ROLE()
call parameters on the contract.
Prepares depositHiringBonuses(bytes32 jobId, uint256 spectralAmount, uint256 agentTokenAmount, uint256 usdcAmount)
call parameters on the contract.
Prepares dissolveCompany(address withdrawTo)
call parameters on the contract.
Prepares DISTRIBUTOR()
call parameters on the contract.
Prepares employeeCount()
call parameters on the contract.
Prepares fireEmployee(bytes32 jobId)
call parameters on the contract.
Prepares FOUNDED_AT()
call parameters on the contract.
Prepares getEmployeeAtIndex(uint256 index)
call parameters on the contract.
Prepares getEmployeeCurrentJob(bytes32 employeeAnsNode)
call parameters on the contract.
Prepares getJob(bytes32 jobId)
call parameters on the contract.
Prepares getJobApplication(bytes32 jobApplicationId)
call parameters on the contract.
Prepares getJobApplicationCount(bytes32 jobId)
call parameters on the contract.
Prepares getJobApplicationIdAtIndex(bytes32 jobId, uint256 index)
call parameters on the contract.
Prepares getJobApplicationIds(bytes32 jobId)
call parameters on the contract.
Prepares getJobAtIndex(uint256 index)
call parameters on the contract.
Prepares getRoleAdmin(bytes32 role)
call parameters on the contract.
Prepares getRoleMember(bytes32 role, uint256 index)
call parameters on the contract.
Prepares getRoleMemberCount(bytes32 role)
call parameters on the contract.
Prepares getRoleMembers(bytes32 role)
call parameters on the contract.
Prepares getUserActiveJobApplicationId(bytes32 jobId, bytes32 applicantAnsNode)
call parameters on the contract.
Prepares grantRole(bytes32 role, address account)
call parameters on the contract.
Prepares hasRole(bytes32 role, address account)
call parameters on the contract.
Prepares hireApplicant(bytes32 jobApplicationId, bytes32[] shortlistAnsNodes)
call parameters on the contract.
Prepares HIRING_BONUS_DENOMINATOR()
call parameters on the contract.
Prepares HIRING_BONUS_EMPLOYEE_CUT()
call parameters on the contract.
Prepares HIRING_BONUS_SHORTLIST_CUT()
call parameters on the contract.
Prepares HIRING_BONUS_TREASURY_CUT()
call parameters on the contract.
Prepares initialize(address initialAdmin, address agentToken, string companyName)
call parameters on the contract.
Prepares isDissolved()
call parameters on the contract.
Prepares jobCount()
call parameters on the contract.
Prepares JOB_MANAGER_ROLE()
call parameters on the contract.
Prepares owner()
call parameters on the contract.
Prepares pendingDefaultAdmin()
call parameters on the contract.
Prepares pendingDefaultAdminDelay()
call parameters on the contract.
Prepares rejectApplicant(bytes32 jobApplicationId)
call parameters on the contract.
Prepares renounceRole(bytes32 role, address account)
call parameters on the contract.
Prepares revokeRole(bytes32 role, address account)
call parameters on the contract.
Prepares rollbackDefaultAdminDelay()
call parameters on the contract.
Prepares setRoleAdmin(bytes32 role, bytes32 adminRole)
call parameters on the contract.
Prepares SPECTRAL_TOKEN()
call parameters on the contract.
Prepares SPECTRAL_TREASURY()
call parameters on the contract.
Prepares supportsInterface(bytes4 interfaceId)
call parameters on the contract.
Prepares USDC()
call parameters on the contract.
Prepares VERSION()
call parameters on the contract.
Prepares withdrawAll(address to)
call parameters on the contract.
Prepares withdrawJobApplication(bytes32 jobApplicationId)
call parameters on the contract.
Prepares withdrawableAgentToken()
call parameters on the contract.
Prepares withdrawableSpectral()
call parameters on the contract.
Prepares withdrawableUsdc()
call parameters on the contract.
Functions
@spec __default_address__() :: nil
Default address of the contract. Returns nil
if not specified.
To specify a default address see Ethers.Contract
@spec accept_default_admin_transfer() :: Ethers.TxData.t()
Prepares acceptDefaultAdminTransfer()
call parameters on the contract.
This function can be used for a transaction or additionally called for results (Use Ethers.send_transaction/2
).
No amount of Ether can be sent with this function.
State mutability: non_payable
Return Types (when called with Ethers.call/2
)
This function does not return any values!
@spec agent_token() :: Ethers.TxData.t()
Prepares AGENT_TOKEN()
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Return Types (when called with Ethers.call/2
)
- token_:
:address
@spec ans_resolver() :: Ethers.TxData.t()
Prepares ANS_RESOLVER()
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Return Types (when called with Ethers.call/2
)
:address
@spec ans_reverse_registrar() :: Ethers.TxData.t()
Prepares ANS_REVERSE_REGISTRAR()
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Return Types (when called with Ethers.call/2
)
:address
@spec apply_to_job(<<_::256>>) :: Ethers.TxData.t()
Prepares applyToJob(bytes32 jobId)
call parameters on the contract.
This function can be used for a transaction or additionally called for results (Use Ethers.send_transaction/2
).
No amount of Ether can be sent with this function.
State mutability: non_payable
Function Parameter Types
- jobId:
{:bytes, 32}
Return Types (when called with Ethers.call/2
)
- newJobApplicationId_:
{:bytes, 32}
@spec apply_to_job_on_behalf_of(<<_::256>>, <<_::256>>) :: Ethers.TxData.t()
Prepares applyToJobOnBehalfOf(bytes32 jobId, bytes32 applicantAnsNode)
call parameters on the contract.
This function can be used for a transaction or additionally called for results (Use Ethers.send_transaction/2
).
No amount of Ether can be sent with this function.
State mutability: non_payable
Function Parameter Types
- jobId:
{:bytes, 32}
- applicantAnsNode:
{:bytes, 32}
Return Types (when called with Ethers.call/2
)
- newJobApplicationId_:
{:bytes, 32}
@spec begin_default_admin_transfer(Ethers.Types.t_address()) :: Ethers.TxData.t()
Prepares beginDefaultAdminTransfer(address newAdmin)
call parameters on the contract.
This function can be used for a transaction or additionally called for results (Use Ethers.send_transaction/2
).
No amount of Ether can be sent with this function.
State mutability: non_payable
Function Parameter Types
- newAdmin:
:address
Return Types (when called with Ethers.call/2
)
This function does not return any values!
@spec cancel_default_admin_transfer() :: Ethers.TxData.t()
Prepares cancelDefaultAdminTransfer()
call parameters on the contract.
This function can be used for a transaction or additionally called for results (Use Ethers.send_transaction/2
).
No amount of Ether can be sent with this function.
State mutability: non_payable
Return Types (when called with Ethers.call/2
)
This function does not return any values!
@spec cancel_job(<<_::256>>) :: Ethers.TxData.t()
Prepares cancelJob(bytes32 jobId)
call parameters on the contract.
This function can be used for a transaction or additionally called for results (Use Ethers.send_transaction/2
).
No amount of Ether can be sent with this function.
State mutability: non_payable
Function Parameter Types
- jobId:
{:bytes, 32}
Return Types (when called with Ethers.call/2
)
This function does not return any values!
@spec change_default_admin_delay(non_neg_integer()) :: Ethers.TxData.t()
Prepares changeDefaultAdminDelay(uint48 newDelay)
call parameters on the contract.
This function can be used for a transaction or additionally called for results (Use Ethers.send_transaction/2
).
No amount of Ether can be sent with this function.
State mutability: non_payable
Function Parameter Types
- newDelay:
{:uint, 48}
Return Types (when called with Ethers.call/2
)
This function does not return any values!
@spec company_name() :: Ethers.TxData.t()
Prepares COMPANY_NAME()
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Return Types (when called with Ethers.call/2
)
- name_:
:string
@spec constructor() :: binary()
Prepares contract constructor values for deployment.
To deploy a contracts use Ethers.deploy/2
and pass the result of this function as
:encoded_constructor
option.
Parameters
@spec create_job(String.t()) :: Ethers.TxData.t()
Prepares createJob(string jobName)
call parameters on the contract.
This function can be used for a transaction or additionally called for results (Use Ethers.send_transaction/2
).
No amount of Ether can be sent with this function.
State mutability: non_payable
Function Parameter Types
- jobName:
:string
Return Types (when called with Ethers.call/2
)
- newJobId_:
{:bytes, 32}
@spec debit_interview_fee(<<_::256>>, non_neg_integer()) :: Ethers.TxData.t()
Prepares debitInterviewFee(bytes32 jobApplicationId, uint256 amount)
call parameters on the contract.
This function can be used for a transaction or additionally called for results (Use Ethers.send_transaction/2
).
No amount of Ether can be sent with this function.
State mutability: non_payable
Function Parameter Types
- jobApplicationId:
{:bytes, 32}
- amount:
{:uint, 256}
Return Types (when called with Ethers.call/2
)
This function does not return any values!
@spec default_admin() :: Ethers.TxData.t()
Prepares defaultAdmin()
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Return Types (when called with Ethers.call/2
)
:address
@spec default_admin_delay() :: Ethers.TxData.t()
Prepares defaultAdminDelay()
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Return Types (when called with Ethers.call/2
)
{:uint, 48}
@spec default_admin_delay_increase_wait() :: Ethers.TxData.t()
Prepares defaultAdminDelayIncreaseWait()
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Return Types (when called with Ethers.call/2
)
{:uint, 48}
@spec default_admin_role() :: Ethers.TxData.t()
Prepares DEFAULT_ADMIN_ROLE()
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Return Types (when called with Ethers.call/2
)
{:bytes, 32}
@spec deposit_hiring_bonuses( <<_::256>>, non_neg_integer(), non_neg_integer(), non_neg_integer() ) :: Ethers.TxData.t()
Prepares depositHiringBonuses(bytes32 jobId, uint256 spectralAmount, uint256 agentTokenAmount, uint256 usdcAmount)
call parameters on the contract.
This function can be used for a transaction or additionally called for results (Use Ethers.send_transaction/2
).
No amount of Ether can be sent with this function.
State mutability: non_payable
Function Parameter Types
- jobId:
{:bytes, 32}
- spectralAmount:
{:uint, 256}
- agentTokenAmount:
{:uint, 256}
- usdcAmount:
{:uint, 256}
Return Types (when called with Ethers.call/2
)
This function does not return any values!
@spec dissolve_company(Ethers.Types.t_address()) :: Ethers.TxData.t()
Prepares dissolveCompany(address withdrawTo)
call parameters on the contract.
This function can be used for a transaction or additionally called for results (Use Ethers.send_transaction/2
).
No amount of Ether can be sent with this function.
State mutability: non_payable
Function Parameter Types
- withdrawTo:
:address
Return Types (when called with Ethers.call/2
)
This function does not return any values!
@spec distributor() :: Ethers.TxData.t()
Prepares DISTRIBUTOR()
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Return Types (when called with Ethers.call/2
)
:address
@spec employee_count() :: Ethers.TxData.t()
Prepares employeeCount()
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Return Types (when called with Ethers.call/2
)
- count_:
{:uint, 256}
@spec fire_employee(<<_::256>>) :: Ethers.TxData.t()
Prepares fireEmployee(bytes32 jobId)
call parameters on the contract.
This function can be used for a transaction or additionally called for results (Use Ethers.send_transaction/2
).
No amount of Ether can be sent with this function.
State mutability: non_payable
Function Parameter Types
- jobId:
{:bytes, 32}
Return Types (when called with Ethers.call/2
)
This function does not return any values!
@spec founded_at() :: Ethers.TxData.t()
Prepares FOUNDED_AT()
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Return Types (when called with Ethers.call/2
)
- timestamp_:
{:uint, 48}
@spec get_employee_at_index(non_neg_integer()) :: Ethers.TxData.t()
Prepares getEmployeeAtIndex(uint256 index)
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Function Parameter Types
- index:
{:uint, 256}
Return Types (when called with Ethers.call/2
)
- employeeAnsNode_:
{:bytes, 32}
@spec get_employee_current_job(<<_::256>>) :: Ethers.TxData.t()
Prepares getEmployeeCurrentJob(bytes32 employeeAnsNode)
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Function Parameter Types
- employeeAnsNode:
{:bytes, 32}
Return Types (when called with Ethers.call/2
)
- jobId_:
{:bytes, 32}
@spec get_job(<<_::256>>) :: Ethers.TxData.t()
Prepares getJob(bytes32 jobId)
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Function Parameter Types
- jobId:
{:bytes, 32}
Return Types (when called with Ethers.call/2
)
- job_:
{:tuple, [{:bytes, 32}, {:uint, 48}, {:uint, 8}, {:uint, 256}, {:uint, 256}, {:uint, 256}, {:bytes, 32}, :string]}
@spec get_job_application(<<_::256>>) :: Ethers.TxData.t()
Prepares getJobApplication(bytes32 jobApplicationId)
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Function Parameter Types
- jobApplicationId:
{:bytes, 32}
Return Types (when called with Ethers.call/2
)
- application_:
{:tuple, [bytes: 32, bytes: 32, bytes: 32, uint: 48, uint: 8]}
@spec get_job_application_count(<<_::256>>) :: Ethers.TxData.t()
Prepares getJobApplicationCount(bytes32 jobId)
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Function Parameter Types
- jobId:
{:bytes, 32}
Return Types (when called with Ethers.call/2
)
- count_:
{:uint, 256}
@spec get_job_application_id_at_index(<<_::256>>, non_neg_integer()) :: Ethers.TxData.t()
Prepares getJobApplicationIdAtIndex(bytes32 jobId, uint256 index)
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Function Parameter Types
- jobId:
{:bytes, 32}
- index:
{:uint, 256}
Return Types (when called with Ethers.call/2
)
- id_:
{:bytes, 32}
@spec get_job_application_ids(<<_::256>>) :: Ethers.TxData.t()
Prepares getJobApplicationIds(bytes32 jobId)
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Function Parameter Types
- jobId:
{:bytes, 32}
Return Types (when called with Ethers.call/2
)
- ids_:
{:array, {:bytes, 32}}
@spec get_job_at_index(non_neg_integer()) :: Ethers.TxData.t()
Prepares getJobAtIndex(uint256 index)
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Function Parameter Types
- index:
{:uint, 256}
Return Types (when called with Ethers.call/2
)
- jobId_:
{:bytes, 32}
@spec get_role_admin(<<_::256>>) :: Ethers.TxData.t()
Prepares getRoleAdmin(bytes32 role)
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Function Parameter Types
- role:
{:bytes, 32}
Return Types (when called with Ethers.call/2
)
{:bytes, 32}
@spec get_role_member(<<_::256>>, non_neg_integer()) :: Ethers.TxData.t()
Prepares getRoleMember(bytes32 role, uint256 index)
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Function Parameter Types
- role:
{:bytes, 32}
- index:
{:uint, 256}
Return Types (when called with Ethers.call/2
)
:address
@spec get_role_member_count(<<_::256>>) :: Ethers.TxData.t()
Prepares getRoleMemberCount(bytes32 role)
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Function Parameter Types
- role:
{:bytes, 32}
Return Types (when called with Ethers.call/2
)
{:uint, 256}
@spec get_role_members(<<_::256>>) :: Ethers.TxData.t()
Prepares getRoleMembers(bytes32 role)
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Function Parameter Types
- role:
{:bytes, 32}
Return Types (when called with Ethers.call/2
)
{:array, :address}
@spec get_user_active_job_application_id(<<_::256>>, <<_::256>>) :: Ethers.TxData.t()
Prepares getUserActiveJobApplicationId(bytes32 jobId, bytes32 applicantAnsNode)
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Function Parameter Types
- jobId:
{:bytes, 32}
- applicantAnsNode:
{:bytes, 32}
Return Types (when called with Ethers.call/2
)
- id_:
{:bytes, 32}
@spec grant_role(<<_::256>>, Ethers.Types.t_address()) :: Ethers.TxData.t()
Prepares grantRole(bytes32 role, address account)
call parameters on the contract.
This function can be used for a transaction or additionally called for results (Use Ethers.send_transaction/2
).
No amount of Ether can be sent with this function.
State mutability: non_payable
Function Parameter Types
- role:
{:bytes, 32}
- account:
:address
Return Types (when called with Ethers.call/2
)
This function does not return any values!
@spec has_role(<<_::256>>, Ethers.Types.t_address()) :: Ethers.TxData.t()
Prepares hasRole(bytes32 role, address account)
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Function Parameter Types
- role:
{:bytes, 32}
- account:
:address
Return Types (when called with Ethers.call/2
)
:bool
@spec hire_applicant(<<_::256>>, [<<_::256>>]) :: Ethers.TxData.t()
Prepares hireApplicant(bytes32 jobApplicationId, bytes32[] shortlistAnsNodes)
call parameters on the contract.
This function can be used for a transaction or additionally called for results (Use Ethers.send_transaction/2
).
No amount of Ether can be sent with this function.
State mutability: non_payable
Function Parameter Types
- jobApplicationId:
{:bytes, 32}
- shortlistAnsNodes:
{:array, {:bytes, 32}}
Return Types (when called with Ethers.call/2
)
This function does not return any values!
@spec hiring_bonus_denominator() :: Ethers.TxData.t()
Prepares HIRING_BONUS_DENOMINATOR()
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Return Types (when called with Ethers.call/2
)
{:uint, 256}
@spec hiring_bonus_employee_cut() :: Ethers.TxData.t()
Prepares HIRING_BONUS_EMPLOYEE_CUT()
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Return Types (when called with Ethers.call/2
)
{:uint, 256}
@spec hiring_bonus_shortlist_cut() :: Ethers.TxData.t()
Prepares HIRING_BONUS_SHORTLIST_CUT()
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Return Types (when called with Ethers.call/2
)
{:uint, 256}
@spec hiring_bonus_treasury_cut() :: Ethers.TxData.t()
Prepares HIRING_BONUS_TREASURY_CUT()
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Return Types (when called with Ethers.call/2
)
{:uint, 256}
@spec initialize(Ethers.Types.t_address(), Ethers.Types.t_address(), String.t()) :: Ethers.TxData.t()
Prepares initialize(address initialAdmin, address agentToken, string companyName)
call parameters on the contract.
This function can be used for a transaction or additionally called for results (Use Ethers.send_transaction/2
).
No amount of Ether can be sent with this function.
State mutability: non_payable
Function Parameter Types
- initialAdmin:
:address
- agentToken:
:address
- companyName:
:string
Return Types (when called with Ethers.call/2
)
This function does not return any values!
@spec is_dissolved() :: Ethers.TxData.t()
Prepares isDissolved()
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Return Types (when called with Ethers.call/2
)
- dissolved_:
:bool
@spec job_count() :: Ethers.TxData.t()
Prepares jobCount()
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Return Types (when called with Ethers.call/2
)
- count_:
{:uint, 256}
@spec job_manager_role() :: Ethers.TxData.t()
Prepares JOB_MANAGER_ROLE()
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Return Types (when called with Ethers.call/2
)
{:bytes, 32}
@spec owner() :: Ethers.TxData.t()
Prepares owner()
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Return Types (when called with Ethers.call/2
)
:address
@spec pending_default_admin() :: Ethers.TxData.t()
Prepares pendingDefaultAdmin()
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Return Types (when called with Ethers.call/2
)
- newAdmin:
:address
- schedule:
{:uint, 48}
@spec pending_default_admin_delay() :: Ethers.TxData.t()
Prepares pendingDefaultAdminDelay()
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Return Types (when called with Ethers.call/2
)
- newDelay:
{:uint, 48}
- schedule:
{:uint, 48}
@spec reject_applicant(<<_::256>>) :: Ethers.TxData.t()
Prepares rejectApplicant(bytes32 jobApplicationId)
call parameters on the contract.
This function can be used for a transaction or additionally called for results (Use Ethers.send_transaction/2
).
No amount of Ether can be sent with this function.
State mutability: non_payable
Function Parameter Types
- jobApplicationId:
{:bytes, 32}
Return Types (when called with Ethers.call/2
)
This function does not return any values!
@spec renounce_role(<<_::256>>, Ethers.Types.t_address()) :: Ethers.TxData.t()
Prepares renounceRole(bytes32 role, address account)
call parameters on the contract.
This function can be used for a transaction or additionally called for results (Use Ethers.send_transaction/2
).
No amount of Ether can be sent with this function.
State mutability: non_payable
Function Parameter Types
- role:
{:bytes, 32}
- account:
:address
Return Types (when called with Ethers.call/2
)
This function does not return any values!
@spec revoke_role(<<_::256>>, Ethers.Types.t_address()) :: Ethers.TxData.t()
Prepares revokeRole(bytes32 role, address account)
call parameters on the contract.
This function can be used for a transaction or additionally called for results (Use Ethers.send_transaction/2
).
No amount of Ether can be sent with this function.
State mutability: non_payable
Function Parameter Types
- role:
{:bytes, 32}
- account:
:address
Return Types (when called with Ethers.call/2
)
This function does not return any values!
@spec rollback_default_admin_delay() :: Ethers.TxData.t()
Prepares rollbackDefaultAdminDelay()
call parameters on the contract.
This function can be used for a transaction or additionally called for results (Use Ethers.send_transaction/2
).
No amount of Ether can be sent with this function.
State mutability: non_payable
Return Types (when called with Ethers.call/2
)
This function does not return any values!
@spec set_role_admin(<<_::256>>, <<_::256>>) :: Ethers.TxData.t()
Prepares setRoleAdmin(bytes32 role, bytes32 adminRole)
call parameters on the contract.
This function can be used for a transaction or additionally called for results (Use Ethers.send_transaction/2
).
No amount of Ether can be sent with this function.
State mutability: non_payable
Function Parameter Types
- role:
{:bytes, 32}
- adminRole:
{:bytes, 32}
Return Types (when called with Ethers.call/2
)
This function does not return any values!
@spec spectral_token() :: Ethers.TxData.t()
Prepares SPECTRAL_TOKEN()
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Return Types (when called with Ethers.call/2
)
:address
@spec spectral_treasury() :: Ethers.TxData.t()
Prepares SPECTRAL_TREASURY()
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Return Types (when called with Ethers.call/2
)
:address
@spec supports_interface(<<_::32>>) :: Ethers.TxData.t()
Prepares supportsInterface(bytes4 interfaceId)
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Function Parameter Types
- interfaceId:
{:bytes, 4}
Return Types (when called with Ethers.call/2
)
- supported_:
:bool
@spec usdc() :: Ethers.TxData.t()
Prepares USDC()
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Return Types (when called with Ethers.call/2
)
:address
@spec version() :: Ethers.TxData.t()
Prepares VERSION()
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Return Types (when called with Ethers.call/2
)
{:uint, 256}
@spec withdraw_all(Ethers.Types.t_address()) :: Ethers.TxData.t()
Prepares withdrawAll(address to)
call parameters on the contract.
This function can be used for a transaction or additionally called for results (Use Ethers.send_transaction/2
).
No amount of Ether can be sent with this function.
State mutability: non_payable
Function Parameter Types
- to:
:address
Return Types (when called with Ethers.call/2
)
This function does not return any values!
@spec withdraw_job_application(<<_::256>>) :: Ethers.TxData.t()
Prepares withdrawJobApplication(bytes32 jobApplicationId)
call parameters on the contract.
This function can be used for a transaction or additionally called for results (Use Ethers.send_transaction/2
).
No amount of Ether can be sent with this function.
State mutability: non_payable
Function Parameter Types
- jobApplicationId:
{:bytes, 32}
Return Types (when called with Ethers.call/2
)
This function does not return any values!
@spec withdrawable_agent_token() :: Ethers.TxData.t()
Prepares withdrawableAgentToken()
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Return Types (when called with Ethers.call/2
)
- withdrawableAmount_:
{:uint, 256}
@spec withdrawable_spectral() :: Ethers.TxData.t()
Prepares withdrawableSpectral()
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Return Types (when called with Ethers.call/2
)
- withdrawableAmount_:
{:uint, 256}
@spec withdrawable_usdc() :: Ethers.TxData.t()
Prepares withdrawableUsdc()
call parameters on the contract.
This function should only be called for result and never in a transaction on its own. (Use Ethers.call/2
)
State mutability: view
Return Types (when called with Ethers.call/2
)
- withdrawableAmount_:
{:uint, 256}