mixin_bot 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fcc69721b226d0b558be21473b00ad31c5ddff688b81742167b58db6989b55a7
4
- data.tar.gz: a4384317d625df14c6a015da3203cf23f840955691b3908ea81fab4a806e55bf
3
+ metadata.gz: 8c1313d5bfb3552add5f8e54e5427695755dbc6a13b72c9aca7b43379d85b6d3
4
+ data.tar.gz: 57029bdfe6ef1af87e81a20a9c063e0955927c5be235e29154b5c6cf88d56fd7
5
5
  SHA512:
6
- metadata.gz: 0c782580d7a5c7e3e4f52d1523890ba9a336c5459bf3c4841ab81b692335957db1eed78c1cb5ac2b03f7b190df2fb7d6c216833be38054e606efc9130d514963
7
- data.tar.gz: 7b63815549077772b357e4d43d4b05d16d6a8bf6efc7899960878f1a75b12bf7320949b8806c80ea6b3ddf09ac4451eadc52b600475f056dd5c3be616203fd7c
6
+ metadata.gz: 3e8fe5f71267fde3c18ac2b2e8bd45736c7a6efd61bb3f0459d59526149b96fa923db7b913ab76eb507605c738e9b271afb19d57442692c13b7163010332aa9e
7
+ data.tar.gz: 733748278679ba56508454da2ecc452d695235a879cef2a400738cff40c4e44e60025ed5468f51cd30af4277f0f420cca75e70f3f4ca0ad09cb3711c465ee907
@@ -27,6 +27,22 @@ module MixinBot
27
27
  def get_utxo(hash, index = 0, access_token: nil)
28
28
  rpc_proxy 'getutxo', [hash, index], access_token: access_token
29
29
  end
30
+
31
+ def get_snapshot(hash, access_token: nil)
32
+ rpc_proxy 'getsnapshot', [hash], access_token: access_token
33
+ end
34
+
35
+ def list_snapshots(offset = 0, count = 10, sig = false, tx = false, access_token: nil)
36
+ rpc_proxy 'listsnapshots', [offset, count, sig, tx], access_token: access_token
37
+ end
38
+
39
+ def list_mint_works(offset = 0, access_token: nil)
40
+ rpc_proxy 'listmintworks', [offset], access_token: access_token
41
+ end
42
+
43
+ def list_mint_distributions(offset = 0, count = 10, tx = false, access_token: nil)
44
+ rpc_proxy 'listmintdistributions', [offset, count, tx], access_token: access_token
45
+ end
30
46
  end
31
47
  end
32
48
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MixinBot
4
- VERSION = '0.7.0'
4
+ VERSION = '0.7.1'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mixin_bot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - an-lee
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-17 00:00:00.000000000 Z
11
+ date: 2021-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport