Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
sisyphusSmiling committed Jan 31, 2024
1 parent 171f507 commit 0c707bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,16 +177,16 @@ access(all) resource Capsule {
```

To support monitoring staging progress across the network, the single `StagingStatusUpdated` event is emitted any time a
contract is staged (`status == true`), staged code is replaced (`status == false`), or a contract is unstaged (`status
== nil`).
contract is staged (`status == "stage"`), staged code is replaced (`status == "replace"`), or a contract is unstaged
(`status == "unstage"`).

```cadence
access(all) event StagingStatusUpdated(
capsuleUUID: UInt64,
address: Address,
codeHash: [UInt8],
contract: String,
status: Bool?
action: String
)
```
Included in the contact are methods for querying staging status and retrieval of staged code. This enables platforms
Expand Down

0 comments on commit 0c707bf

Please sign in to comment.