Skip to content

Commit

Permalink
chore: api docs
Browse files Browse the repository at this point in the history
  • Loading branch information
angrybayblade committed Nov 1, 2023
1 parent 7fd1797 commit eef6e84
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
13 changes: 9 additions & 4 deletions docs/api/chain/mint.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,16 @@ Publish component on-chain.
#### update`_`service

```python
def update_service(ledger_api: LedgerApi, crypto: Crypto, service_id: int,
metadata_hash: str, chain_type: ChainType,
agent_ids: List[int], number_of_slots_per_agent: List[int],
def update_service(ledger_api: LedgerApi,
crypto: Crypto,
service_id: int,
metadata_hash: str,
chain_type: ChainType,
agent_ids: List[int],
number_of_slots_per_agent: List[int],
cost_of_bond_per_agent: List[int],
threshold: int) -> Optional[int]
threshold: int,
token: Optional[str] = None) -> Optional[int]
```

Publish component on-chain.
Expand Down
6 changes: 4 additions & 2 deletions docs/api/cli/helpers/chain.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,10 @@ Update agent.
#### update`_`service

```python
def update_service(number_of_slots: int, cost_of_bond: int,
threshold: int) -> None
def update_service(number_of_slots: int,
cost_of_bond: int,
threshold: int,
token: Optional[str] = None) -> None
```

Update service
Expand Down

0 comments on commit eef6e84

Please sign in to comment.