Skip to content
Merged
Show file tree
Hide file tree
Changes from 67 commits
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
b8e2d97
base ownable example
olga24912 Oct 14, 2022
85b979c
function for view and call
olga24912 Oct 14, 2022
b59bad5
view macros
olga24912 Oct 14, 2022
8932a46
tests for ownable
olga24912 Oct 14, 2022
0af6958
example change owner_storage_key
olga24912 Oct 14, 2022
2a0d8a6
cross contract example
olga24912 Oct 14, 2022
d36c09b
separate add extra code to function
olga24912 Oct 15, 2022
fd7b3ae
example for pausable
olga24912 Oct 15, 2022
a9e2ea0
example for upgradable base second
olga24912 Oct 16, 2022
28cc57d
example for full access key fallback base
olga24912 Oct 17, 2022
30045d1
axample for access_controle_role
olga24912 Oct 17, 2022
32f14a0
example for access_controllable_base
olga24912 Oct 17, 2022
0f8e193
check that admin cann't call functions
olga24912 Oct 17, 2022
62546b7
crate to roles function
olga24912 Oct 17, 2022
e26e1dd
separate near-pluginf-test-utils
olga24912 Oct 18, 2022
911fd5c
remove view function duplication
olga24912 Oct 18, 2022
6ee28cb
mecros for call
olga24912 Oct 18, 2022
5aa1af7
separate check counter function
olga24912 Oct 18, 2022
8ce8a8e
README for ownable_base
olga24912 Oct 18, 2022
b3d45c1
update build.sh
olga24912 Oct 18, 2022
ce9ef6b
preparing step for ownable contract
olga24912 Oct 18, 2022
947fe11
docs for ownable example
olga24912 Oct 18, 2022
e1a0ec5
description of NULL ownership
olga24912 Oct 19, 2022
e9c3e8b
add description of the contract methods
olga24912 Oct 19, 2022
5ea7375
create a README for access controll plugin
olga24912 Oct 19, 2022
de38224
the contract method descriptions
olga24912 Oct 19, 2022
822cb72
the contract method descriptions 2
olga24912 Oct 19, 2022
a2ac89a
the contract method descriptions 3
olga24912 Oct 19, 2022
ac401f8
simple examples for access control
olga24912 Oct 19, 2022
7c68c98
fix tests
olga24912 Oct 19, 2022
4f8d173
README for upgradable base
olga24912 Oct 19, 2022
356979c
README for pausable
olga24912 Oct 19, 2022
b095d72
full access key fallback README
olga24912 Oct 19, 2022
aed85f8
add metods list for plugins
olga24912 Oct 19, 2022
cd304df
info about pausable storage key
olga24912 Oct 20, 2022
865406b
info for pa_is_paused
olga24912 Oct 20, 2022
36393fb
the contract methods description
olga24912 Oct 20, 2022
d0df171
pauseble example
olga24912 Oct 20, 2022
d575fae
examples for upgradable
olga24912 Oct 20, 2022
d31b513
readme for full access key example
olga24912 Oct 21, 2022
10d5e5f
block_on -> async await
olga24912 Oct 21, 2022
9884eb4
use workspace for examples
olga24912 Oct 24, 2022
38a5667
separate up_stage_code
olga24912 Oct 24, 2022
1ab36ae
script for build all wasm files
olga24912 Oct 24, 2022
9f7d0e6
add flags to compile 2 counters
olga24912 Oct 24, 2022
27f62bd
fix build.sh
olga24912 Oct 24, 2022
9e92312
fix target
olga24912 Oct 24, 2022
ce28d9f
cleanup access controllable role readme
olga24912 Oct 24, 2022
c729b6d
cleanup full access key fallback README
olga24912 Oct 24, 2022
5b01910
clean up ownable readme
olga24912 Oct 24, 2022
fd1fd53
cleanup pausable readme
olga24912 Oct 24, 2022
681f6b7
cleanup upgradable_base
olga24912 Oct 24, 2022
23977fa
fix after rebase
olga24912 Oct 24, 2022
4dd588f
Apply suggestions from code review
sept-en Oct 24, 2022
f6ea443
Apply suggestions from code review: fix readme
sept-en Oct 24, 2022
f5b3b05
merge 2 upgradable contracts
olga24912 Oct 25, 2022
5c8f754
copy wasm file to res folder
olga24912 Oct 27, 2022
a334a44
fix access control init
olga24912 Oct 27, 2022
6fd1a4a
the admin -> an admin
olga24912 Oct 27, 2022
c11247d
add example of changing storage_prefix
olga24912 Oct 27, 2022
6ce7415
acl_init_super_admin and acl_get_super_admin discription
olga24912 Oct 27, 2022
b11fc7a
add emitted events description
olga24912 Oct 28, 2022
22213f6
add information about return values
olga24912 Oct 28, 2022
11d7092
two super admins
olga24912 Oct 29, 2022
662b8af
remove unused imports
olga24912 Nov 3, 2022
b8b88ae
use async main
olga24912 Nov 3, 2022
c69044e
args for wasm and network
olga24912 Nov 4, 2022
1a7a34b
style fix
olga24912 Nov 7, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = [
"near-plugins",
"near-plugins-derive"
]
exclude = ["target"]
exclude = ["target", "examples"]

[workspace.metadata.workspaces]
version = "0.15.0"
Expand Down
14 changes: 14 additions & 0 deletions examples/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[workspace]

members = [
"access-controllable-examples/access_controllable_base",
"access-controllable-examples/access_control_role_base",
"full-access-key-fallback-examples/full_access_key_fallback_base",
"near-plugins-test-utils",
"ownable-examples/ownable_base",
"ownable-examples/ownable_change_storage_key",
"ownable-examples/ownable_cross_call",
"pausable-examples/pausable_base",
"upgradable-examples/upgradable_base",
"upgradable-examples/up_stage_code"
]
Loading