Skip to content

Commit

Permalink
feat(operators): adding new operators contract (#56)
Browse files Browse the repository at this point in the history
* feat(operators): adding new operators contract

* test(operators): adding coverage

* fix(operators): borrow_cap checks for operator ID

* refactor(operators): method syntax

* test(operators): full coverage

* test(operators): full coverage

* Update move/operators/sources/operators/operators.move

Co-authored-by: Milap Sheth <[email protected]>

* Update move/operators/sources/operators/operators.move

Co-authored-by: Milap Sheth <[email protected]>

* Update move/operators/sources/operators/operators.move

Co-authored-by: Milap Sheth <[email protected]>

* Update move/operators/sources/operators/operators.move

Co-authored-by: Milap Sheth <[email protected]>

* Update move/operators/sources/operators/operators.move

Co-authored-by: Milap Sheth <[email protected]>

* Update move/operators/sources/operators/operators.move

Co-authored-by: Milap Sheth <[email protected]>

* fix(operators): PR feedback

* feat(operators): adding events and named errors

* Update move/operators/sources/operators.move

Co-authored-by: Milap Sheth <[email protected]>

* Update move/operators/sources/operators.move

Co-authored-by: Milap Sheth <[email protected]>

* Update move/operators/sources/operators.move

Co-authored-by: Milap Sheth <[email protected]>

* Update move/operators/sources/operators.move

Co-authored-by: Milap Sheth <[email protected]>

* Update move/operators/sources/operators.move

Co-authored-by: Milap Sheth <[email protected]>

* feat(operators): adding cap name to events

* feat(operators): using operator address for whitelisting

---------

Co-authored-by: Milap Sheth <[email protected]>
  • Loading branch information
re1ro and milapsheth authored Jun 23, 2024
1 parent 34a30e2 commit 144446d
Show file tree
Hide file tree
Showing 4 changed files with 421 additions and 0 deletions.
26 changes: 26 additions & 0 deletions move/operators/Move.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# @generated by Move, please check-in and do not edit manually.

[move]
version = 2
manifest_digest = "F3843E711A5044D1CF9708AF5AA3CEC7EDA8C17E39065DE7ACBC14C91B9C3B24"
deps_digest = "F8BBB0CCB2491CA29A3DF03D6F92277A4F3574266507ACD77214D37ECA3F3082"
dependencies = [
{ name = "Sui" },
]

[[move.package]]
name = "MoveStdlib"
source = { git = "https://github.com/MystenLabs/sui.git", rev = "mainnet-v1.25.3", subdir = "crates/sui-framework/packages/move-stdlib" }

[[move.package]]
name = "Sui"
source = { git = "https://github.com/MystenLabs/sui.git", rev = "mainnet-v1.25.3", subdir = "crates/sui-framework/packages/sui-framework" }

dependencies = [
{ name = "MoveStdlib" },
]

[move.toolchain-version]
compiler-version = "1.26.1"
edition = "2024.beta"
flavor = "sui"
10 changes: 10 additions & 0 deletions move/operators/Move.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[package]
name = "Operators"
version = "0.1.0"
edition = "2024.beta"

[dependencies]
Sui = { git = "https://github.com/MystenLabs/sui.git", subdir = "crates/sui-framework/packages/sui-framework", rev = "mainnet-v1.25.3" }

[addresses]
operators = "0x107"
4 changes: 4 additions & 0 deletions move/operators/info.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"singletons": [
]
}
Loading

0 comments on commit 144446d

Please sign in to comment.