2023-08-17 15:23:25 +00:00
|
|
|
// Code generated by go-bindata. DO NOT EDIT.
|
|
|
|
// sources:
|
2023-10-26 04:17:18 +00:00
|
|
|
// 1691753758_initial.up.sql (5.738kB)
|
|
|
|
// 1692701329_add_collectibles_and_collections_data_cache.up.sql (1.808kB)
|
|
|
|
// 1692701339_add_scope_to_pending.up.sql (576B)
|
|
|
|
// 1694540071_add_collectibles_ownership_update_timestamp.up.sql (349B)
|
|
|
|
// 1694692748_add_raw_balance_to_token_balances.up.sql (165B)
|
|
|
|
// 1695133989_add_community_id_to_collectibles_and_collections_data_cache.up.sql (275B)
|
|
|
|
// 1695932536_balance_history_v2.up.sql (653B)
|
|
|
|
// 1696853635_input_data.up.sql (23.14kB)
|
2023-10-25 16:49:18 +00:00
|
|
|
// 1698117918_add_community_id_to_tokens.up.sql (61B)
|
2023-10-26 06:30:18 +00:00
|
|
|
// 1698257443_add_community_metadata_to_wallet_db.up.sql (323B)
|
2023-11-16 04:18:03 +00:00
|
|
|
// 1699987075_add_timestamp_and_state_to_community_data_cache.up.sql (865B)
|
2023-11-19 17:29:17 +00:00
|
|
|
// 1700414564_add_wallet_connect_pairings_table.up.sql (439B)
|
2023-11-27 10:08:17 +00:00
|
|
|
// 1701101493_add_token_blocks_range.up.sql (469B)
|
2023-08-17 15:23:25 +00:00
|
|
|
// doc.go (74B)
|
|
|
|
|
|
|
|
package migrations
|
|
|
|
|
|
|
|
import (
|
|
|
|
"bytes"
|
|
|
|
"compress/gzip"
|
|
|
|
"crypto/sha256"
|
|
|
|
"fmt"
|
|
|
|
"io"
|
2023-11-19 17:29:17 +00:00
|
|
|
"io/ioutil"
|
2023-08-17 15:23:25 +00:00
|
|
|
"os"
|
|
|
|
"path/filepath"
|
|
|
|
"strings"
|
|
|
|
"time"
|
|
|
|
)
|
|
|
|
|
|
|
|
func bindataRead(data []byte, name string) ([]byte, error) {
|
|
|
|
gz, err := gzip.NewReader(bytes.NewBuffer(data))
|
|
|
|
if err != nil {
|
2023-11-19 17:29:17 +00:00
|
|
|
return nil, fmt.Errorf("read %q: %v", name, err)
|
2023-08-17 15:23:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
var buf bytes.Buffer
|
|
|
|
_, err = io.Copy(&buf, gz)
|
|
|
|
clErr := gz.Close()
|
|
|
|
|
|
|
|
if err != nil {
|
2023-11-19 17:29:17 +00:00
|
|
|
return nil, fmt.Errorf("read %q: %v", name, err)
|
2023-08-17 15:23:25 +00:00
|
|
|
}
|
|
|
|
if clErr != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
|
|
|
return buf.Bytes(), nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type asset struct {
|
|
|
|
bytes []byte
|
|
|
|
info os.FileInfo
|
|
|
|
digest [sha256.Size]byte
|
|
|
|
}
|
|
|
|
|
|
|
|
type bindataFileInfo struct {
|
|
|
|
name string
|
|
|
|
size int64
|
|
|
|
mode os.FileMode
|
|
|
|
modTime time.Time
|
|
|
|
}
|
|
|
|
|
|
|
|
func (fi bindataFileInfo) Name() string {
|
|
|
|
return fi.name
|
|
|
|
}
|
|
|
|
func (fi bindataFileInfo) Size() int64 {
|
|
|
|
return fi.size
|
|
|
|
}
|
|
|
|
func (fi bindataFileInfo) Mode() os.FileMode {
|
|
|
|
return fi.mode
|
|
|
|
}
|
|
|
|
func (fi bindataFileInfo) ModTime() time.Time {
|
|
|
|
return fi.modTime
|
|
|
|
}
|
|
|
|
func (fi bindataFileInfo) IsDir() bool {
|
|
|
|
return false
|
|
|
|
}
|
|
|
|
func (fi bindataFileInfo) Sys() interface{} {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-10-26 04:17:18 +00:00
|
|
|
var __1691753758_initialUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x58\xcd\x8e\xdb\x36\x10\xbe\xfb\x29\x88\x3d\xad\x01\x1d\x9a\xb4\x28\x0a\xe4\xa4\xf5\x6a\x37\x42\x5d\x39\x95\xe5\x26\x39\x11\xb4\x34\x5e\x13\x2b\x89\x0a\x49\x39\x76\x9e\xbe\xa0\x7e\x49\x89\x92\xdd\x45\x7a\x94\x38\xe4\xfc\x7f\xf3\x91\xab\xd0\x73\x23\x0f\x45\xee\xc3\xda\x43\xfb\x94\xc5\xaf\x02\xdd\x2f\x10\x42\x28\x07\xf9\x9d\xf1\x57\x4c\x13\xb4\x0b\xb6\xfe\x73\xe0\x3d\xa2\x07\xff\xd9\x0f\x22\x14\x6c\x22\x14\xec\xd6\x6b\xa7\x12\x24\x49\xc2\x41\x08\xf4\x8f\x1b\xae\x3e\xba\xe1\x60\x75\x9f\xbe\xe2\xbc\xcc\xf6\xc0\xed\xbb\xd5\xfa\x91\x88\xa3\x7d\x35\x65\x24\x81\x04\x3d\x6c\x36\x6b\xf4\xe8\x3d\xb9\xbb\x75\x84\x9e\xdc\xf5\xd6\xab\x97\x57\x9b\x60\x1b\x85\xae\xda\x57\xe6\xf4\x5b\x09\x38\x23\x45\x41\xf3\x17\x7c\x60\x1c\x93\x38\x66\x65\x2e\xb1\x64\xb8\xf2\x0c\x17\xc0\x71\xe3\x16\xda\x05\xfe\xdf\x3b\x0f\xdd\x37\xd6\x3b\xad\x1d\x4e\xef\xf7\x72\xb1\xfc\xb0\x58\x58\x22\x84\x39\xc9\x5f\xe0\x7f\x08\xd4\x81\xb3\x6c\x3a\x4c\x92\x4d\xac\x91\x94\xe4\x31\xa0\x87\xf5\xe6\xa1\xfe\x93\x33\xf5\xed\x07\x91\xf7\xec\x85\xf3\x4e\x60\x01\xdf\x4a\xc8\x25\x25\xe9\xcf\xf7\x47\x48\xc2\x65\xb3\x59\xf3\x92\x72\x21\xa7\xdd\x4c\xc9\xd4\xea\xa7\xd0\xff\xcb\x0d\xbf\xa2\x3f\xbd\xaf\xe8\xbe\x37\xd3\x69\x2d\x59\x2e\x96\xe8\xb3\x1f\x7d\xdc\xec\x22\x14\x6e\x3e\xfb\x8f\x43\xcf\x0b\xc8\x13\x55\x1d\x92\x93\x5c\x90\x58\x52\x96\xff\xe7\x2c\x56\xc5\x6a\x77\x59\xd2\x0c\x84\x24\x59\x71\xe5\x08\x95\x66\x3c\x1f\x3d\xc9\x86\x02\xf5\x7f\x71\xc9\xf6\x2c\x35\xff\xbd\x10\x81\x0b\x4e\x8d\x0a\x50\xff\x52\x9a\x51\xa9\xfd\x3b\x91\xb4\xd4\x65\x12\x22\x09\x8a\xbc\x2f\x4d\x6a\xe4\xa5\x00\xf3\x60\x92\x24\x54\xc5\x88\xa4\x78\x20\x9b\x95\xa9\xa4\x7a\x18\x55\xdc\xba\x24\x4f\xe6\x49\xc5\xee\x6a\x92\xee\x04\x39\x41\xd2\xba\x0f\xe2\xae\xc9\xd0\x7c\xc0\x72\x92\x41\x65\xe0\x30\xd6\xe4\xc4\x4a\x4e\x25\x54\x20\xe2\xb9\x41\xb7\x6e\x03\x14\x0e\x19\x3b\x35\x80\x73\x4d\xb6\x2c\x12\x22\x01\xc7\xaa\x9b\x90\x9e\xe4\x4e\xf8\x97\x5a\x30\x3e\x12\x9a\x63\x71\x64\x5c\x62\x65\x66\xef\x42\x2b\x78\x77\x57\x4b\x42\x2e\x2a\x89\x49\x01\x2a\xb0\x04\xd5\x1e\x8d\x7d\x16\xb3\x62\x0e\x44\xaa\xf8\xc9\xca\xa8\x81\x2d\x46\x6a\x5a\xec\xeb\xf4\x3a\xad\x82\xab\x49\x92\xec\x15\x72\xdc\x20\x4f\xdb\x43\xa5\x00\x7e\xb5\xae\xd5\x3e\xc3\x47\x9b\x80\x59\xe6\x56\x91\x5b\xf4\xc4\x2c\x65\x7c\x24\x31\x8a\x6a\x2d\x9c\x40\x4c\x33\x92\x0a\x34\x6e\xd8\x56\x40\xc4\x9c\x16\xaa\xdc\x6f\x3d\xb3\xe4\x63\x27\x46\xa2\x2d\x7e\xdb\x3d\xa9\xab\xa7\x6e\xaf\x39\x3c\xd4\x83\xef\x74\xbb\x1c\x23\xa0\x4b\xb4\x09\xd4\xd0\x7c\x5a\xfb\xab\x08\x85\xde\xa7\xb5\xbb\xf2\xc6\x53\xae\xda\x22\x6e\x6b\xbb\x5b\x61\x73\xaa\x3f\x67\x33\xdd\xa5\xa4\x3b\xbb\xc3\x18\x23\xb5\x73\xb5\x6d\xcc\xf3\xf9\xa2\x3e\x51\x41\xf7\x29\x60\xc3\xff\x2e\xfe\x63\x1b\xa6\x42\x33\x8e\x68\x5c\x72\x0e\x79\x7c\x51\xbc\x24\x23\x12\xc7\x24\x3e\x42\xa3\x60\x3e\x02\x54\x14\x29\xb9\xcc\x15\xa7\x90\x9c\x16\x0a\x8b\x69\xaa\x66\xdb\x0f\xe0\x0c\xc4\x08\xc1\xc6\x36\x8d\x30\xbc\xf5\xf8\x86\xf1\x54\x8b\x08\x01\x72\x56\x20\x53\xfc\xeb\xe6\x09\x67\x11\x98\xd1\xa0\x8f\xab\x37\xce\x61\xa5\xc1\x30\x51\xb3\x7d\xba\xb0\xbb\xbd\xd7\x44\x62\xce\x84\xc0\xf2\xac\x04\xa6\x00\xbd\xd2\x25\xcf\x0d\x05\xee\x46\xb3\x64\xc6\x4f\x0b\x11\xad\x31\x03\x1f\xa9\x90\x8c\x5f\x26\x6b\xf5\x0d\xc4\xad\xad\xd5\x49\x5e\xa7\xe6\x9d\x3d\x9e\x5d\xdc\x2d\xcc\x8e\x4a\x95\xcb\x79\xf6\x3a\xf6\xb3\xe2\x35\x46\xbb\x54\xcd\xf9\x36\xd3\x6b\x92\x14\x7a\xee\x7a\xa6\x2d\xfc\xa7\x6a\xd1\xfb\xe2\x6f\xa3\xad\x82\x99\x14\x62\xa9\x60\x41\x60\xf6\x3d\x07\x2e\x8e\xb4\x30\x0c\xba\x31\xe8\x31\xcb\x25\x27\xb1\xbc\x69\x70\xd1\xa4\x8a\xc7\x60\xad\xd2\x3f\xb9\xdf\x82\xe3\xaa\xb7\x0f\xc0\x7f\x26\xc7\xbd\x4e\xfa\xe7\x08\xf2\x59\xab\x71\x01\x79\x02\x03\x08\xe7\x10\x03\x2d\x74\xd2\x9a\xb2\x17\xbd\x2f\xa6\x9b\xfe\xda\x45\xf3\x56\x50\xb0\x5d\x39\xdf\xdd\xc2\x7a\xf7\x44\x00\x56\xbc\xfb\x00\x83\x49\x37\xea\x7a\x21\x89\x2c\x45\xbf\xb5\x71\x1b\x57\xee\xf5\x10\x33\x82\x85\x94\xbd\x60\x9a\x27\x70\xd6\xb4\x56\x37\xdb\x81\x5c\x5c\x66\x65\x4a\x24\x3d\xd5\x06\x95\x02\x12\x7d\x72\x0e\x0a\xb1\xa7\xf5\x63\x61\x85\x5e\xa6\x42\x79\x1e\x98\x59\x70\x26\x21\x96\x3d\x6b\x1e\xde\x40\xc6\x83\xb3\xbb\xb1\xe0\x3
|
2023-08-17 15:23:25 +00:00
|
|
|
|
|
|
|
func _1691753758_initialUpSqlBytes() ([]byte, error) {
|
|
|
|
return bindataRead(
|
|
|
|
__1691753758_initialUpSql,
|
|
|
|
"1691753758_initial.up.sql",
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _1691753758_initialUpSql() (*asset, error) {
|
|
|
|
bytes, err := _1691753758_initialUpSqlBytes()
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
2023-11-27 10:08:17 +00:00
|
|
|
info := bindataFileInfo{name: "1691753758_initial.up.sql", size: 5738, mode: os.FileMode(0644), modTime: time.Unix(1701079799, 0)}
|
2023-10-26 04:17:18 +00:00
|
|
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x6b, 0x25, 0x31, 0xc8, 0x27, 0x3, 0x6b, 0x9f, 0x15, 0x42, 0x2f, 0x85, 0xfb, 0xe3, 0x6, 0xea, 0xf7, 0x97, 0x12, 0x56, 0x3c, 0x9a, 0x5b, 0x1a, 0xca, 0xb1, 0x23, 0xfa, 0xcd, 0x57, 0x25, 0x5c}}
|
2023-08-17 15:23:25 +00:00
|
|
|
return a, nil
|
|
|
|
}
|
|
|
|
|
2023-10-26 04:17:18 +00:00
|
|
|
var __1692701329_add_collectibles_and_collections_data_cacheUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\x94\xc1\x8e\xda\x30\x10\x86\xef\x3c\xc5\x1c\x5b\x89\x37\xe8\x29\x24\x03\x8d\x1a\x99\x36\x24\xd5\xf6\x14\xcd\xda\x2e\x3b\xc2\xb1\x23\xc7\x59\x95\xb7\xaf\x80\x6e\xbb\x85\x75\xc8\xae\x84\xf6\xea\x19\xff\xb6\xe7\xfb\x7f\xa7\x25\x26\x15\x42\x95\x2c\x0a\x84\x7c\x09\x62\x5d\x01\xde\xe5\x9b\x6a\x03\xd2\x19\xa3\x65\xe0\x7b\xa3\x1b\x45\x81\x1a\x49\xf2\x41\xc3\x87\x19\x00\x80\x7c\x20\xb6\x0d\x2b\xa8\xc5\x26\x5f\x09\xcc\x60\x91\xaf\x72\x51\x1d\x05\x44\x5d\x14\xf3\x53\x9b\xb3\xc1\x93\x0c\x0d\x29\xe5\x75\xdf\xc3\xf7\xa4\x4c\x3f\x27\xe5\x59\x5b\x70\x3b\x7d\x54\x5b\x14\xeb\xc5\x59\xad\xf3\xee\x91\x95\xf6\x91\xad\x96\x5a\x1d\x29\x29\xdd\x4b\xcf\x5d\x60\x67\x23\x1d\x9d\xf6\x2d\x19\xb6\xbb\x48\x9d\x5b\xda\xea\x66\xf0\x26\x52\x27\xcb\x2d\x1d\xf4\x27\xf5\xb4\x5a\x31\x35\x61\xdf\xc5\x2e\x7c\x4f\x72\xb7\xf5\x6e\xb0\xaa\x91\xce\xb8\xd8\x93\x4f\xd3\x1a\x3c\x5f\xd4\x67\x1f\x3f\xcd\x66\x7f\x90\xd6\x22\xff\x56\x23\xe4\x22\xc3\xbb\x6b\x64\x59\x69\x1b\xf8\xe7\xbe\xd1\x36\xf8\x3d\xac\x45\x14\xfe\x13\xf7\xf9\x05\xda\xf9\x5f\x8a\xcf\x2e\x71\xcd\x57\xc1\x13\x87\xfe\x9d\x9c\x75\x3c\x7c\x8c\xc7\xa9\xe1\x91\xcc\x10\xb5\x18\xf7\x9d\xa1\xfd\x98\x48\x4b\xbf\x46\x25\x96\xeb\x12\xf3\x95\x80\x2f\xf8\x63\xda\x74\xa1\xc4\x25\x96\x28\x52\x8c\x65\x74\x9a\xce\xf1\x74\x38\xc0\xae\xbf\x66\x07\x58\x69\xb2\x49\x93\x0c\xff\xad\x67\x58\xe0\xb3\xf5\x89\x5c\x9d\xbd\xf5\x77\xf1\xf6\x2f\xa1\x37\xc3\xf6\xd5\x59\x7f\x65\xaa\x9e\xde\x1f\x0f\xd5\xd9\x84\xe2\xb4\xa6\x4f\xfc\xf6\x41\xba\x16\x96\x96\x2d\x94\x98\x14\x97\xf6\x7f\x69\x79\x9a\xeb\x5f\xf4\xfa\x7f\xd3\x1b\xdb\xfc\x16\x83\xff\x0e\x00\x00\xff\xff\xad\x71\x76\xba\x10\x07\x00\x00")
|
2023-08-22 11:15:24 +00:00
|
|
|
|
|
|
|
func _1692701329_add_collectibles_and_collections_data_cacheUpSqlBytes() ([]byte, error) {
|
|
|
|
return bindataRead(
|
|
|
|
__1692701329_add_collectibles_and_collections_data_cacheUpSql,
|
|
|
|
"1692701329_add_collectibles_and_collections_data_cache.up.sql",
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _1692701329_add_collectibles_and_collections_data_cacheUpSql() (*asset, error) {
|
|
|
|
bytes, err := _1692701329_add_collectibles_and_collections_data_cacheUpSqlBytes()
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
2023-11-27 10:08:17 +00:00
|
|
|
info := bindataFileInfo{name: "1692701329_add_collectibles_and_collections_data_cache.up.sql", size: 1808, mode: os.FileMode(0644), modTime: time.Unix(1699882401, 0)}
|
2023-10-26 04:17:18 +00:00
|
|
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x1, 0x51, 0xf4, 0x2b, 0x92, 0xde, 0x59, 0x65, 0xd8, 0x9b, 0x57, 0xe0, 0xfd, 0x7b, 0x12, 0xb, 0x29, 0x6e, 0x9d, 0xb5, 0x90, 0xe, 0xfa, 0x12, 0x97, 0xd, 0x61, 0x60, 0x7f, 0x32, 0x1d, 0xc3}}
|
2023-08-22 11:15:24 +00:00
|
|
|
return a, nil
|
|
|
|
}
|
|
|
|
|
2023-10-26 04:17:18 +00:00
|
|
|
var __1692701339_add_scope_to_pendingUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x91\xcd\x8a\xdb\x30\x14\x85\xf7\x7a\x8a\xc3\xac\x5a\xb0\x5b\xba\xf6\xca\x33\x56\xa1\xe0\xda\x43\x46\x81\xd9\x19\xd5\xba\x89\xc5\xe8\x27\x48\xd7\x8d\xf3\xf6\x25\x89\x4b\x53\x1a\xe8\xec\x84\x74\xbf\x4f\xe7\x70\xcb\x12\x2f\x44\x50\xcb\x0b\x6b\x9e\x33\x6c\x00\x27\x1d\xb2\x1e\xd9\xc6\x90\x3f\x1f\x28\x18\x1b\xf6\xbc\x70\xd2\xe3\x1b\xa5\x4f\xfb\x28\xea\x56\xc9\x0d\x54\xfd\xd8\x4a\xac\xef\xc3\x2d\x84\xba\x69\x90\xaf\x3e\x25\x5f\x15\xba\x5e\xa1\xdb\xb6\x2d\x1a\xf9\xb5\xde\xb6\x0a\x0f\xcf\x57\xec\xa1\x12\xa2\x2c\xa1\x26\xc2\x51\xf3\x38\x51\xc2\xd1\x3a\x07\x3d\x73\x84\x21\x47\x4c\xe0\x89\x7e\xff\x02\x5e\x32\x78\xd2\x0c\x9d\x08\x63\x0c\x3b\x9b\x3c\x19\xc4\x84\x9d\xb6\x8e\xcc\x59\x26\x5d\x5e\xa1\x14\xcd\x3c\x52\x82\x8f\x66\x76\x74\x35\x4f\xfa\x27\xe1\x2f\xb9\x87\xd7\x61\xd6\xce\x9d\x10\xc3\x19\x1a\x29\x67\x1b\xf6\xef\xab\xf9\xd4\xb7\xdb\xef\xdd\x25\xf0\xb0\x3a\x1f\xfb\xbe\x95\x75\xf7\x6f\xeb\x2f\x95\x10\xcd\xa6\x7f\xc6\xb7\xae\x91\xaf\xb0\x66\x19\xee\x79\x2b\x21\x9e\x36\xb2\x56\xf2\x3f\x73\xa2\xef\xee\xe7\xfa\xe0\x67\xc7\xf6\xf6\x6e\xb0\xa6\xc0\x2e\x45\x3f\x68\x63\x12\xe5\x5c\x80\xe3\x9f\x73\x20\x3e\xc6\xf4\x76\x99\x62\xeb\x29\xb3\xf6\x87\x02\xf9\xe4\x7f\x44\x57\x80\x4f\x07\x2a\xd6\x85\x16\xb7\x55\x3f\x56\xe2\x57\x00\x00\x00\xff\xff\x91\x52\x81\x7e\x40\x02\x00\x00")
|
2023-08-05 22:25:27 +00:00
|
|
|
|
|
|
|
func _1692701339_add_scope_to_pendingUpSqlBytes() ([]byte, error) {
|
|
|
|
return bindataRead(
|
|
|
|
__1692701339_add_scope_to_pendingUpSql,
|
|
|
|
"1692701339_add_scope_to_pending.up.sql",
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _1692701339_add_scope_to_pendingUpSql() (*asset, error) {
|
|
|
|
bytes, err := _1692701339_add_scope_to_pendingUpSqlBytes()
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
2023-11-27 10:08:17 +00:00
|
|
|
info := bindataFileInfo{name: "1692701339_add_scope_to_pending.up.sql", size: 576, mode: os.FileMode(0644), modTime: time.Unix(1699882401, 0)}
|
2023-10-26 04:17:18 +00:00
|
|
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x36, 0x8a, 0x5e, 0xe2, 0x63, 0x15, 0x37, 0xba, 0x55, 0x18, 0xf3, 0xcc, 0xe0, 0x5, 0x84, 0xe1, 0x5b, 0xe8, 0x1, 0x32, 0x6b, 0x9f, 0x7d, 0x9f, 0xd9, 0x23, 0x6c, 0xa9, 0xb5, 0xdc, 0xf4, 0x93}}
|
2023-08-05 22:25:27 +00:00
|
|
|
return a, nil
|
|
|
|
}
|
|
|
|
|
2023-10-26 04:17:18 +00:00
|
|
|
var __1694540071_add_collectibles_ownership_update_timestampUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\xcf\x41\x4b\x80\x30\x18\xc6\xf1\xfb\x3e\xc5\x7b\x4c\xf0\x1b\x78\x9a\xba\x6c\x20\xaf\xa4\x5b\x78\x1b\xcb\xbd\xe1\x40\xa7\xb8\x45\xf8\xed\x03\x09\xa1\xa0\x43\xdd\xff\x3c\x3c\xbf\xaa\x17\x5c\x09\x50\xbc\x6c\x05\xc8\x47\xc0\x4e\x81\x18\xe5\xa0\x06\x98\xb6\x65\xa1\x29\xf9\xd7\x85\xa2\xd9\x3e\x02\x1d\x71\xf6\xbb\x79\xdf\x9d\x4d\x64\x92\x5f\x29\x26\xbb\xee\x11\x1e\x18\x00\xc0\x55\x18\xeb\xdc\x41\x31\xc2\x0b\xef\xab\x27\xde\x5f\x7b\xa8\xdb\x36\xbf\x9a\x69\xb6\x3e\x18\xef\x40\xe3\x20\x1b\x14\x35\x94\xb2\x91\xa8\x7e\x64\xf7\xf6\xaf\x1d\xcb\x0a\xc6\xbe\xbe\x6b\x94\xcf\x5a\x80\xc4\x5a\x8c\xff\x24\x18\xef\x28\x24\xff\x76\x1a\x0a\xe9\x38\xa1\xc3\x3f\xe8\xbf\xc1\xf3\xdb\x98\x15\xec\x33\x00\x00\xff\xff\x02\x64\xbc\xba\x5d\x01\x00\x00")
|
2023-09-12 18:35:31 +00:00
|
|
|
|
|
|
|
func _1694540071_add_collectibles_ownership_update_timestampUpSqlBytes() ([]byte, error) {
|
|
|
|
return bindataRead(
|
|
|
|
__1694540071_add_collectibles_ownership_update_timestampUpSql,
|
|
|
|
"1694540071_add_collectibles_ownership_update_timestamp.up.sql",
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _1694540071_add_collectibles_ownership_update_timestampUpSql() (*asset, error) {
|
|
|
|
bytes, err := _1694540071_add_collectibles_ownership_update_timestampUpSqlBytes()
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
2023-11-27 10:08:17 +00:00
|
|
|
info := bindataFileInfo{name: "1694540071_add_collectibles_ownership_update_timestamp.up.sql", size: 349, mode: os.FileMode(0644), modTime: time.Unix(1699882401, 0)}
|
2023-10-26 04:17:18 +00:00
|
|
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x7f, 0x45, 0xc7, 0xce, 0x79, 0x63, 0xbc, 0x6f, 0x83, 0x5f, 0xe2, 0x3, 0x56, 0xcc, 0x5, 0x2f, 0x85, 0xda, 0x7e, 0xea, 0xf5, 0xd2, 0xac, 0x19, 0xd4, 0xd8, 0x5e, 0xdd, 0xed, 0xe2, 0xa9, 0x97}}
|
2023-09-12 18:35:31 +00:00
|
|
|
return a, nil
|
|
|
|
}
|
|
|
|
|
2023-10-26 04:17:18 +00:00
|
|
|
var __1694692748_add_raw_balance_to_token_balancesUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x34\xcd\xc1\x0a\x82\x40\x10\x87\xf1\xbb\x4f\xf1\xc7\xbb\xd0\x2b\x4c\x6a\x74\xd8\x14\x64\xed\x1a\xab\x3b\xc9\x92\xce\xc6\xce\x4a\x3d\x7e\x04\x75\xfd\x0e\xdf\xaf\xaa\x40\xde\x63\x8e\xeb\xbe\x09\xee\x31\x41\x73\x4c\x41\x16\x24\xf7\xc2\xe4\x56\x27\x33\x83\xdf\xcf\xc4\xaa\xec\x11\x04\x93\x53\xc6\x2e\x41\xb2\xc2\x29\xa6\xb0\x20\x48\xe6\x85\x13\x3c\xcf\x61\x73\x6b\x41\xc6\xb6\x03\x2c\x1d\x4d\x8b\x1c\x1f\x2c\xb7\xdf\x49\x41\x4d\x83\xba\x37\xe3\xa5\xfb\x0a\xff\x8e\x2b\x0d\xf5\x99\x06\x74\xbd\x45\x37\x1a\x83\xa6\x3d\xd1\x68\x2c\xca\x43\x59\x7c\x02\x00\x00\xff\xff\x88\x21\xef\xa1\xa5\x00\x00\x00")
|
2023-09-20 10:48:08 +00:00
|
|
|
|
|
|
|
func _1694692748_add_raw_balance_to_token_balancesUpSqlBytes() ([]byte, error) {
|
|
|
|
return bindataRead(
|
|
|
|
__1694692748_add_raw_balance_to_token_balancesUpSql,
|
|
|
|
"1694692748_add_raw_balance_to_token_balances.up.sql",
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _1694692748_add_raw_balance_to_token_balancesUpSql() (*asset, error) {
|
|
|
|
bytes, err := _1694692748_add_raw_balance_to_token_balancesUpSqlBytes()
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
2023-11-27 10:08:17 +00:00
|
|
|
info := bindataFileInfo{name: "1694692748_add_raw_balance_to_token_balances.up.sql", size: 165, mode: os.FileMode(0644), modTime: time.Unix(1699882401, 0)}
|
2023-10-26 04:17:18 +00:00
|
|
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xd4, 0xe0, 0x5b, 0x42, 0xf0, 0x96, 0xa5, 0xf5, 0xed, 0xc0, 0x97, 0x88, 0xb0, 0x6d, 0xfe, 0x7d, 0x97, 0x2e, 0x17, 0xd2, 0x16, 0xbc, 0x2a, 0xf2, 0xcc, 0x67, 0x9e, 0xc5, 0x47, 0xf6, 0x69, 0x1}}
|
2023-09-20 10:48:08 +00:00
|
|
|
return a, nil
|
|
|
|
}
|
|
|
|
|
2023-10-26 04:17:18 +00:00
|
|
|
var __1695133989_add_community_id_to_collectibles_and_collections_data_cacheUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x72\xf4\x09\x71\x0d\x52\x08\x71\x74\xf2\x71\x55\x48\xce\xcf\xc9\x49\x4d\x2e\xc9\x4c\xca\x49\x8d\x4f\x49\x2c\x49\x8c\x4f\x4e\x4c\xce\x48\x55\x70\x74\x71\x51\x70\xf6\xf7\x09\xf5\xf5\x53\x48\xce\xcf\xcd\x2d\xcd\xcb\x2c\xa9\x8c\xcf\x4c\x51\x08\x71\x8d\x08\x51\xf0\xf3\x0f\x51\xf0\x0b\xf5\xf1\x51\x70\x71\x75\x73\x0c\xf5\x09\x51\x50\x52\xb2\xe6\x0a\x0d\x70\x71\x0c\xc1\x69\x5e\xb0\x6b\x08\xaa\x41\xb6\x60\x4d\x5c\xd8\x9c\x92\x9f\x47\x55\x97\xa0\x1a\x87\xc3\x21\x80\x00\x00\x00\xff\xff\x2e\x30\x6f\xa7\x13\x01\x00\x00")
|
2023-09-21 12:40:58 +00:00
|
|
|
|
|
|
|
func _1695133989_add_community_id_to_collectibles_and_collections_data_cacheUpSqlBytes() ([]byte, error) {
|
|
|
|
return bindataRead(
|
|
|
|
__1695133989_add_community_id_to_collectibles_and_collections_data_cacheUpSql,
|
|
|
|
"1695133989_add_community_id_to_collectibles_and_collections_data_cache.up.sql",
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _1695133989_add_community_id_to_collectibles_and_collections_data_cacheUpSql() (*asset, error) {
|
|
|
|
bytes, err := _1695133989_add_community_id_to_collectibles_and_collections_data_cacheUpSqlBytes()
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
2023-11-27 10:08:17 +00:00
|
|
|
info := bindataFileInfo{name: "1695133989_add_community_id_to_collectibles_and_collections_data_cache.up.sql", size: 275, mode: os.FileMode(0644), modTime: time.Unix(1699882401, 0)}
|
2023-10-26 04:17:18 +00:00
|
|
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xfa, 0x2, 0xa, 0x7f, 0x4b, 0xd1, 0x3, 0xd0, 0x3, 0x29, 0x84, 0x31, 0xed, 0x49, 0x4f, 0xb1, 0x2d, 0xd7, 0x80, 0x41, 0x5b, 0xfa, 0x6, 0xae, 0xb4, 0xf6, 0x6b, 0x49, 0xee, 0x57, 0x33, 0x76}}
|
2023-09-21 12:40:58 +00:00
|
|
|
return a, nil
|
|
|
|
}
|
|
|
|
|
2023-10-26 04:17:18 +00:00
|
|
|
var __1695932536_balance_history_v2UpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x91\xc1\x4e\xeb\x30\x10\x45\xf7\xfe\x8a\xbb\x7c\x95\x92\xb7\x60\xdb\x55\xd2\x9a\x62\x29\x38\x90\x3a\xa8\xbb\xc8\x4d\x5c\x3a\x22\x75\x2b\xdb\x20\x85\xaf\x47\x0d\x0d\x48\x6d\x50\x11\xeb\xeb\x99\x33\xe7\x3a\x8e\x91\x5b\x03\x63\x83\xeb\x70\x30\x0e\xf5\x56\x93\xad\xa8\x89\xa0\x9b\xc6\x19\xef\x23\xd4\xaf\xce\x19\x5b\x77\x11\xd6\xed\xbe\x7e\x61\x71\x8c\xb5\x6e\xb5\xad\x0d\xc8\x43\xc3\x1b\x47\xba\xa5\x77\xd3\x60\x4d\xcf\xff\x85\x0d\x6c\x56\xf0\x44\x71\xa8\x24\xcd\x38\xc4\x2d\x64\xae\xc0\x57\x62\xa9\x96\xc3\x68\xb5\x25\x1f\xf6\xae\xab\xde\x6e\xf0\x8f\x01\xf8\x22\xa3\x94\x4b\xb1\x90\x7c\x8e\x54\x2c\x84\x54\xfd\xb0\x2c\xb3\x2c\xea\x9f\x9d\xce\xc2\x53\x52\xcc\xee\x92\xe2\x2c\x1d\x6e\xfd\x21\xee\x05\xc6\xf7\x06\xda\x19\x1f\xf4\xee\x80\xcb\x6c\xd0\x4d\xb3\x3c\x65\x93\x29\x1b\xfc\x4a\x29\x1e\x4b\x0e\x21\xe7\x7c\x75\x45\x93\x1a\x63\x03\x6d\xba\xea\xb3\xea\x5c\x8e\x16\x71\xbd\xfd\xc9\x74\x80\xff\x86\xba\xa1\x36\x18\xd7\x33\xc9\xf8\xbf\x53\xa3\xef\x7a\x8e\xfa\xf3\x22\x7f\x38\x7d\xee\xd9\xbe\x29\x4b\x32\xc5\x8b\xf1\xf0\x08\x2b\xb8\x4c\xee\x39\x54\x7e\x39\xc9\x3e\x02\x00\x00\xff\xff\x1e\x5e\x83\xea\x8d\x02\x00\x00")
|
2023-10-04 12:00:12 +00:00
|
|
|
|
|
|
|
func _1695932536_balance_history_v2UpSqlBytes() ([]byte, error) {
|
|
|
|
return bindataRead(
|
|
|
|
__1695932536_balance_history_v2UpSql,
|
|
|
|
"1695932536_balance_history_v2.up.sql",
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _1695932536_balance_history_v2UpSql() (*asset, error) {
|
|
|
|
bytes, err := _1695932536_balance_history_v2UpSqlBytes()
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
2023-11-27 10:08:17 +00:00
|
|
|
info := bindataFileInfo{name: "1695932536_balance_history_v2.up.sql", size: 653, mode: os.FileMode(0644), modTime: time.Unix(1699882401, 0)}
|
2023-10-26 04:17:18 +00:00
|
|
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x37, 0xf4, 0x14, 0x91, 0xf6, 0x5f, 0xc4, 0x9b, 0xb7, 0x83, 0x32, 0x72, 0xbe, 0x82, 0x42, 0x39, 0xa4, 0x3b, 0xc9, 0x78, 0x3d, 0xca, 0xd4, 0xbf, 0xfc, 0x7a, 0x33, 0x1e, 0xcd, 0x9e, 0xe4, 0x85}}
|
2023-10-11 05:10:08 +00:00
|
|
|
return a, nil
|
|
|
|
}
|
|
|
|
|
2023-10-26 04:17:18 +00:00
|
|
|
var __1696853635_input_dataUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x6c\x7c\x4d\xcb\x6d\xc7\x8e\xde\xdc\xbf\xe2\xc5\x13\xdb\xe0\x41\x95\xa4\x52\x55\xd1\x23\xa7\x39\x04\x93\xdb\xee\xc4\x7d\x1c\xd2\xa3\xa0\x4f\xee\x25\xb4\x6f\x20\x0e\xe4\xe7\x87\x7d\xec\x90\xf6\x7e\xd6\x54\x6b\x6d\xad\x2a\x95\x3e\x1f\xa9\xf6\x3f\xfe\xfc\xe9\x87\xcf\x9f\x3e\x3e\xff\xf0\x1f\xfe\xf2\xe9\xe3\xeb\xbf\xfd\xfa\x3f\xff\xf7\x6f\xff\x3d\xed\x37\xfb\xfa\xe3\xdb\xaf\x3e\x3e\x3e\x3e\xbe\xfe\x5b\x7e\xfd\xf1\xe3\x4f\x9f\x3f\xfd\xc7\x4f\x3f\x7f\xff\x3b\xe5\xaf\xf6\xbf\xfe\xfa\xf5\xc7\xe7\x4f\xff\xed\xf3\xc7\x4f\xff\xfc\xf9\xe3\xa7\x5f\xfe\xf2\x97\x3f\x9e\xfc\x5b\xfd\xf6\xd7\xbf\xe7\xe3\xb3\x5f\x7e\xfa\xf1\xbf\xfc\xf2\xe9\xdb\xdf\x7f\xfc\xfd\xff\x7b\xf3\xbb\xdf\x1f\xfe\xe7\x9f\x7f\xfc\xa7\x1f\x7e\xfe\xd7\x8f\xff\xf4\xe9\x5f\xbf\xfd\xf2\xc1\x1f\x7e\xf9\xfc\xcf\x3f\xfe\xf4\x8f\x3f\x7f\xfa\xa7\x4f\x3f\x7d\xfe\xee\xab\xef\xfe\xe1\xab\x1f\x7f\xfa\x97\x4f\x3f\x7f\xfe\xf8\xdb\xaf\xbf\xfd\xfd\xe3\xff\xaf\xf2\xe3\xdb\xdf\x19\x7d\xff\xf1\xe2\xfb\xdd\xc7\x57\xff\xf5\x87\xbf\xfc\xf2\xe9\x5f\x3e\xbe\xfa\xf6\x9b\x7f\xfb\xdb\xaf\xbf\x7d\xfe\xfb\xff\xa8\x5f\xbf\xf9\xfe\x9b\xf1\x7f\xa6\xaf\x2a\xb5\xfa\xe6\xbb\xef\xe1\xd9\xa0\x48\x1b\xe7\x3e\x3d\x9b\xeb\xc8\x99\xaa\x8f\xbf\x9b\x73\xb3\x6d\x79\x7c\x26\xc4\x4d\x32\x1e\x9f\xad\xe9\xe5\x77\x3f\x7e\x8f\x55\xae\xdb\x23\xcf\x49\x7a\x3c\x2b\x1e\x79\x36\x8f\xc8\x7a\xfe\x5e\x2d\x9a\xa3\xfc\xf1\x59\x9c\x8a\x28\x7b\x7a\x46\x63\x48\x77\x3e\xca\x85\x46\x78\xaf\x7e\x7e\xc6\xc6\x9a\xf4\xf8\x3d\xe2\x5a\x75\x88\x1e\x9f\xed\x53\xc3\xcf\x79\x7a\xc6\x9c\x6b\x5c\x7b\x3c\x07\xe6\x72\x93\xfb\xb8\x07\xb6\xb3\x76\xd5\xf3\xef\x72\x50\x8e\x78\xdc\x83\xa8\x25\x67\x3e\x9e\x83\x58\xad\x35\x22\x1f\x9f\xf9\x9a\x75\xf9\x71\x7f\x8b\x47\x8a\xc7\xf3\x33\xf5\x1c\x52\xfc\xf8\xcc\x5d\xe7\x98\x8f\xfa\xb2\x2a\x73\xba\x3e\xca\x4c\xe7\x74\xea\x7a\x5c\xa7\xd2\xb9\x6d\x3a\x1f\x9f\xf1\x61\xbf\xfe\xa8\x4b\xca\x7d\x2a\xe4\xf9\x77\x9b\x16\xdf\x67\x99\xe9\xed\x1d\xf3\xf9\x1c\xd4\x6c\x44\xe7\xe3\xfe\xd4\x6b\xcc\xec\x47\x5d\x52\xaf\x60\xca\xc7\x73\xd7\x6c\x4b\x3b\x8f\xdf\xdb\x64\xa7\xce\x7c\xdc\xc3\x5e\xc4\x93\xec\x51\x27\xb6\xba\x98\xc5\xe3\x3a\xf7\x99\xd3\x96\xf7\xe3\xb3\x1b\xba\xc6\xf3\x19\xed\x1c\x3a\x63\x3d\xca\xfa\x0c\xf3\xda\xcf\xb6\x79\xbc\xf5\xe8\x7d\xfc\xdd\xd5\xb4\x3c\xf1\xa8\x4b\xd7\x6a\x86\xf4\xe3\x5a\x6e\xbf\x76\x3e\x1f\x65\x6d\x53\x86\x15\x3d\xf2\xb4\x35\x47\x9c\xf3\xe8\x97\x6c\xd1\xb4\xdc\xcf\xcf\x74\xf9\x91\xf1\xfc\x2c\xf9\xc4\xbd\x8f\xb6\x62\xb5\x63\x12\x3d\xfa\x72\x2b\x3f\x7d\x9f\xfd\xb5\xb5\x1e\xe7\xf1\xc8\xd3\x47\x4d\xa6\x7e\xfc\x9d\x73\x25\x93\x3f\xea\x8b\x8b\x9d\x1a\xcf\xfa\xe2\xcb\x68\xcf\x67\x7b\xf0\x1d\x77\x1b\x3f\xca\x3a\x86\x28\x6f\x7a\x94\x4b\x8c\x1a\x29\xcf\x76\x1b\x2c\xbb\xc5\x1f\xcf\x28\x84\xcf\xde\xfb\x71\xef\xa1\x2c\x39\x9e\x7d\x56\xec\xb9\xeb\x3c\xeb\x60\x9c\x3e\xca\xcf\xf1\x28\x5a\xb2\x74\x3d\xfa\x9e\x1c\xbe\xc3\xd6\xa3\x1d\xe5\xb9\xaf\x90\xf4\xb8\x96\xca\x62\xf1\x7c\xe4\xd9\x63\xfa\x1a\xf9\x68\x7f\xad\xcc\x5e\xf3\x51\x5f\x7a\x6b\x1d\x7f\x3e\xbf\xbe\x63\x1d\x5f\x8f\x6b\xe9\x38\x1e\x73\xfd\xbb\xdf\xfd\x1e\x4e\x3d\x87\x92\x28\x90\x9b\x68\xc4\x40\xf2\xbe\xe3\x02\x93\x97\x76\x2f\xdf\x6f\xe4\xe9\x83\x96\xc9\x3b\x93\xe9\x22\x7f\xd6\x96\x3f\x92\x1a\xa3\xe5\xc3\x90\x1c\x71\xc5\xdf\xc9\x7c\x3c\xef\x82\xb7\x6f\xb8\x6a\x08\x2e\x70\x1f\x57\x06\x32\x0b\xcf\xf3\xbe\xf9\xb9\xb4\xe8\x36\x92\x8f\xaa\x9f\x46\xb2\x49\xae\x02\xf2\xb5\xad\x9e\x0f\x64\x9f\x02\x64\x6d\xab\x01\xeb\x9e\x7b\x6a\x8e\x9e\x40\x16\xb5\x95\xf4\x4e\x3e\x63\xb6\xd7\x02\x79\x1f\x4f\x1f\x70\x96\xf3\x90\xcd\xf9\xce\x7b\xcc\x97\x15\xc0\x27\x07\x4d\xbf\x27\xdf\x77\x39\x88\x65\xc6\x86\xb7\x97\xfa\x98\x01\x6f\xaf\x9b\xb2\xfa\x5d\x82\x63\xb9\x86\x0b\x90\x75\x19\xf9\x78\xd7\xaa\x71\xef\x1a\x2e\x28\xaa\x48\xa5\x7d\x80\x5c\xc2\x5e\xef\x1a\x3b\x8d\x6a\xa6\xc1\x31\x98\x4e\x22\x01\xd5\x4c\x39\xfb\x24\x68\x55\x4a\xce\x35\xdf\xb5\x6a\x72\x9e\xa3\xfb\x9d\xc9\xd4\x49\xb1\x0e\x9c\xa5\x9e\xf4\x28\x58\xb7\x9b\x74\xd1\xfb\x02\xc7\x28\x3b\x13\xed\x32\xc9\xd8\x0b\x2c\x6d\x58\x85\x18\x28\xf2\x88\x95\x79\xe0\x93\x27\x64\xda\x01\x26\xa7\x54\x65\xc1\x76\xac\x2c\xd9\xde\x0d\x70\xf2\x48\xdf\xa8\xdf\x3c
|
2023-10-11 05:10:08 +00:00
|
|
|
|
|
|
|
func _1696853635_input_dataUpSqlBytes() ([]byte, error) {
|
|
|
|
return bindataRead(
|
|
|
|
__1696853635_input_dataUpSql,
|
|
|
|
"1696853635_input_data.up.sql",
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _1696853635_input_dataUpSql() (*asset, error) {
|
|
|
|
bytes, err := _1696853635_input_dataUpSqlBytes()
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
2023-11-27 10:08:17 +00:00
|
|
|
info := bindataFileInfo{name: "1696853635_input_data.up.sql", size: 23140, mode: os.FileMode(0644), modTime: time.Unix(1699882401, 0)}
|
2023-10-26 04:17:18 +00:00
|
|
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x89, 0x30, 0x33, 0x33, 0x55, 0xc5, 0x57, 0x2b, 0xaf, 0xef, 0x3d, 0x8d, 0x2a, 0xaa, 0x5c, 0x32, 0xd1, 0xf4, 0xd, 0x4a, 0xd0, 0x33, 0x4a, 0xe8, 0xf6, 0x8, 0x6b, 0x65, 0xcc, 0xba, 0xed, 0x42}}
|
2023-10-25 16:49:18 +00:00
|
|
|
return a, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
var __1698117918_add_community_id_to_tokensUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x72\xf4\x09\x71\x0d\x52\x08\x71\x74\xf2\x71\x55\x28\xc9\xcf\x4e\xcd\x2b\x56\x70\x74\x71\x51\x70\xf6\xf7\x09\xf5\xf5\x53\x48\xce\xcf\xcd\x2d\xcd\xcb\x2c\xa9\x8c\xcf\x4c\x51\x08\x71\x8d\x08\x51\x70\x71\x75\x73\x0c\xf5\x09\x51\xf0\x0b\xf5\xf1\xb1\x06\x04\x00\x00\xff\xff\x5f\x7c\x71\xcb\x3d\x00\x00\x00")
|
|
|
|
|
|
|
|
func _1698117918_add_community_id_to_tokensUpSqlBytes() ([]byte, error) {
|
|
|
|
return bindataRead(
|
|
|
|
__1698117918_add_community_id_to_tokensUpSql,
|
|
|
|
"1698117918_add_community_id_to_tokens.up.sql",
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _1698117918_add_community_id_to_tokensUpSql() (*asset, error) {
|
|
|
|
bytes, err := _1698117918_add_community_id_to_tokensUpSqlBytes()
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
2023-11-27 10:08:17 +00:00
|
|
|
info := bindataFileInfo{name: "1698117918_add_community_id_to_tokens.up.sql", size: 61, mode: os.FileMode(0644), modTime: time.Unix(1699882401, 0)}
|
2023-10-25 16:49:18 +00:00
|
|
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb3, 0x82, 0xdb, 0xde, 0x3, 0x3, 0xc, 0x67, 0xf3, 0x54, 0xc4, 0xad, 0xd6, 0xce, 0x56, 0xfb, 0xc1, 0x87, 0xd7, 0xda, 0xab, 0xec, 0x1, 0xe1, 0x7d, 0xb3, 0x63, 0xd6, 0xe5, 0x5d, 0x1c, 0x15}}
|
2023-10-04 12:00:12 +00:00
|
|
|
return a, nil
|
|
|
|
}
|
|
|
|
|
2023-10-26 06:30:18 +00:00
|
|
|
var __1698257443_add_community_metadata_to_wallet_dbUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x6c\x8e\xc1\x4e\xc3\x30\x10\x44\xef\xfe\x8a\x39\x82\x44\xbe\xa0\xa7\xd0\x18\x88\x48\x1d\x94\x38\x52\x7b\xb2\x8c\xbd\x14\x4b\xeb\x38\x6a\xdc\x4a\xf9\x7b\x44\xa9\x44\x41\xbd\xee\xce\x9b\x37\x45\x81\x76\xe4\x05\x53\x9a\x8e\x6c\x33\x79\x84\x0f\xb8\x14\xe3\x71\xcc\x8b\x09\x1e\x61\xc6\x98\x32\x28\x4e\x79\x11\x65\xa3\x65\x07\x5d\x3e\x36\x12\x2e\x31\x93\xcb\xe1\x9d\xc9\x78\x9b\xad\x71\xd6\x7d\x12\xca\xaa\xc2\xba\x6d\x86\x8d\xba\xd4\x84\xbc\x98\xe9\x10\x4e\x81\x69\x4f\xb3\x61\x3a\x11\x63\x50\x7d\xfd\xac\x64\x85\x5a\xe9\x95\x10\x45\x81\x97\xc4\x7e\xfe\x45\x80\x48\xd9\x7e\xf7\x8a\x75\x27\x4b\x2d\x2f\xd6\xfa\x09\xaa\xd5\x90\xdb\xba\xd7\xfd\x95\xe1\x6a\xc1\x9d\x00\x80\xe0\xa1\xe5\x56\xe3\xad\xab\x37\x65\xb7\xc3\xab\xdc\x9d\x49\x35\x34\xcd\xc3\x39\x31\xda\x48\x3f\x99\xbf\x77\x97\x38\x1d\x6e\x3d\x42\xb4\xfb\x7f\x84\xb8\x5f\x89\xaf\x00\x00\x00\xff\xff\x54\x75\x5f\xc6\x43\x01\x00\x00")
|
|
|
|
|
|
|
|
func _1698257443_add_community_metadata_to_wallet_dbUpSqlBytes() ([]byte, error) {
|
|
|
|
return bindataRead(
|
|
|
|
__1698257443_add_community_metadata_to_wallet_dbUpSql,
|
|
|
|
"1698257443_add_community_metadata_to_wallet_db.up.sql",
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _1698257443_add_community_metadata_to_wallet_dbUpSql() (*asset, error) {
|
|
|
|
bytes, err := _1698257443_add_community_metadata_to_wallet_dbUpSqlBytes()
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
2023-11-27 10:08:17 +00:00
|
|
|
info := bindataFileInfo{name: "1698257443_add_community_metadata_to_wallet_db.up.sql", size: 323, mode: os.FileMode(0644), modTime: time.Unix(1699882401, 0)}
|
2023-10-26 06:30:18 +00:00
|
|
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x22, 0xd3, 0x4, 0x25, 0xfa, 0x23, 0x1, 0x48, 0x83, 0x26, 0x20, 0xf2, 0x3d, 0xbc, 0xc1, 0xa7, 0x7c, 0x27, 0x7c, 0x1d, 0x63, 0x3, 0xa, 0xd0, 0xce, 0x47, 0x86, 0xdc, 0xa1, 0x3c, 0x2, 0x1c}}
|
|
|
|
return a, nil
|
|
|
|
}
|
|
|
|
|
2023-11-16 04:18:03 +00:00
|
|
|
var __1699987075_add_timestamp_and_state_to_community_data_cacheUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x94\x92\xcd\x6a\xdc\x30\x14\x85\xf7\x7a\x8a\xb3\xcc\x80\x67\x91\xf5\xac\x34\xf6\xf5\x54\xd4\x23\x05\x59\x81\x64\x65\x84\xac\x36\x02\xff\x84\x91\x4c\xe9\xdb\x17\xdb\xa1\x25\xe0\x31\xe9\xd6\xfe\x3e\xee\xb9\xf7\xe8\x78\xc4\xb7\xb1\x6b\x23\xdc\xd8\xf7\xd3\x10\xd2\x6f\xf4\x3e\xd9\xd6\x26\x8b\x98\x6c\xf2\x2c\xd7\xc4\x0d\xc1\xf0\x73\x45\x10\x25\xa4\x32\xa0\x17\x51\x9b\xfa\x9f\xd3\xcc\x7c\xe3\xac\x7b\xf3\xcd\x62\xe1\x81\x01\x40\x68\x61\xe8\xc5\xe0\x49\x8b\x2b\xd7\xaf\xf8\x4e\xaf\x8b\x2f\x9f\xab\x2a\x5b\x88\xce\xc6\xd4\x4c\xef\xad\x4d\xbe\x49\xa1\xf7\x31\xd9\xfe\x1d\xcf\xb2\x16\x17\x49\x05\xce\xe2\x22\xa4\xd9\x71\xe2\xe4\x9c\x8f\xf1\xc7\xd4\xe1\xac\x54\x45\x5c\xfe\x85\xd9\xe1\xc4\x98\x90\x35\x69\x03\x21\x8d\xda\x8d\x1b\xda\x6c\x3b\x4b\x76\x67\xdc\x81\x01\x35\x55\x94\x1b\xcc\xee\x63\x86\x47\x94\x5a\x5d\x37\xa7\x9c\x18\x3b\x1e\xa1\xbd\xbb\xf9\x79\xda\x16\x82\x5f\x21\xbd\xad\x27\x87\x1b\x87\x98\x6e\x36\x0c\x29\x32\x5e\x19\xd2\x1f\xd7\xdf\xf4\x34\x49\x7e\x25\xdc\xdb\x6f\xec\xda\x13\xfb\xdf\x12\xbf\x5c\xdf\x60\x7b\xbf\x32\x9f\xbf\xbb\xb1\x1b\x6f\x5b\x3f\x42\x6f\x7f\x6e\x1a\xa5\xd2\x24\x2e\x72\x9e\xf1\x10\xda\x03\x34\x95\xa4\x49\xe6\xb4\xf7\xcc\x16\x52\x49\x14\x54\x91\x21\xe4\xbc\xce\x79\x41\x5f\x2a\xfe\x73\x7d\xf3\x1e\xd9\x9a\x3a\x5b\x33\x32\xdc\xaf\xf3\xe3\xa8\x85\x56\x4f\x3b\xcd\xac\xd4\x9f\x00\x00\x00\xff\xff\x44\x65\xb5\xf4\x61\x03\x00\x00")
|
|
|
|
|
|
|
|
func _1699987075_add_timestamp_and_state_to_community_data_cacheUpSqlBytes() ([]byte, error) {
|
|
|
|
return bindataRead(
|
|
|
|
__1699987075_add_timestamp_and_state_to_community_data_cacheUpSql,
|
|
|
|
"1699987075_add_timestamp_and_state_to_community_data_cache.up.sql",
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _1699987075_add_timestamp_and_state_to_community_data_cacheUpSql() (*asset, error) {
|
|
|
|
bytes, err := _1699987075_add_timestamp_and_state_to_community_data_cacheUpSqlBytes()
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
2023-11-27 10:08:17 +00:00
|
|
|
info := bindataFileInfo{name: "1699987075_add_timestamp_and_state_to_community_data_cache.up.sql", size: 865, mode: os.FileMode(0644), modTime: time.Unix(1701152469, 0)}
|
2023-11-16 04:18:03 +00:00
|
|
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xc3, 0xee, 0x37, 0xf9, 0x7f, 0x9e, 0xfe, 0x93, 0x66, 0x2b, 0xd, 0x57, 0xf4, 0x89, 0x6c, 0x51, 0xfd, 0x14, 0xe9, 0xcd, 0xab, 0x65, 0xe7, 0xa7, 0x83, 0x7e, 0xe0, 0x5c, 0x14, 0x49, 0xf3, 0xe5}}
|
|
|
|
return a, nil
|
|
|
|
}
|
|
|
|
|
2023-11-19 17:29:17 +00:00
|
|
|
var __1700414564_add_wallet_connect_pairings_tableUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x74\x90\x4b\x6a\xc3\x30\x10\x86\xf7\x3a\xc5\x2c\x1b\xc8\x0d\xb2\x72\xda\x69\x11\x75\xe5\xe2\xa8\xe0\xac\x84\x90\xa7\x61\xc0\x96\x85\xa4\xa6\xc9\xed\x0b\x76\x1f\x89\x68\x76\x9a\xff\xc1\x2f\xbe\xfb\x16\x2b\x8d\xa0\xab\x6d\x8d\x20\x1f\x41\x35\x1a\xb0\x93\x3b\xbd\x83\x4f\x3b\x0c\x94\x8d\x9b\xbc\x27\x97\x4d\xb0\x1c\xd9\x1f\x12\xdc\x09\x00\x80\x3c\x05\x76\xa0\xb1\xd3\xf0\xda\xca\x97\xaa\xdd\xc3\x33\xee\xe7\xbe\x7a\xab\xeb\xf5\x1c\xa2\x53\xe0\x78\x36\x99\x47\x4a\xd9\x8e\x01\xa4\xd2\xf8\x84\x6d\x11\xb3\x2e\xf3\x91\x60\xdb\x34\x35\x56\xaa\x34\x43\x30\xde\x8e\x34\x6f\x2d\xd2\x47\x1c\x2e\xae\x9e\x92\x8b\x1c\x32\x4f\xfe\x42\x65\x77\x75\x1e\x29\xf2\x3b\x53\x6f\x38\x99\xe4\xec\xf8\x33\x56\xb8\x53\xe4\x03\xff\xdb\x9b\x1f\x67\x73\x3d\xfd\xe7\xda\x81\x7b\xfb\xfb\x05\xb1\xda\x08\xf1\x8d\x56\xaa\x07\xec\x0a\xb4\xdc\x9f\xcc\xc2\x06\x1a\x75\x1b\x74\x89\x6f\xbd\x80\x5a\x6d\xc4\x57\x00\x00\x00\xff\xff\x66\xec\xe7\x64\xb7\x01\x00\x00")
|
|
|
|
|
|
|
|
func _1700414564_add_wallet_connect_pairings_tableUpSqlBytes() ([]byte, error) {
|
|
|
|
return bindataRead(
|
|
|
|
__1700414564_add_wallet_connect_pairings_tableUpSql,
|
|
|
|
"1700414564_add_wallet_connect_pairings_table.up.sql",
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _1700414564_add_wallet_connect_pairings_tableUpSql() (*asset, error) {
|
|
|
|
bytes, err := _1700414564_add_wallet_connect_pairings_tableUpSqlBytes()
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
2023-11-27 10:08:17 +00:00
|
|
|
info := bindataFileInfo{name: "1700414564_add_wallet_connect_pairings_table.up.sql", size: 439, mode: os.FileMode(0644), modTime: time.Unix(1701326149, 0)}
|
2023-11-19 17:29:17 +00:00
|
|
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xa9, 0x77, 0x5e, 0x19, 0x62, 0x3c, 0x3a, 0x81, 0x16, 0xa0, 0x95, 0x35, 0x62, 0xab, 0x5e, 0x2b, 0xea, 0x11, 0x71, 0x11, 0xd0, 0x9, 0xab, 0x9c, 0xab, 0xf2, 0xdd, 0x5f, 0x88, 0x83, 0x9a, 0x93}}
|
|
|
|
return a, nil
|
|
|
|
}
|
|
|
|
|
2023-11-27 10:08:17 +00:00
|
|
|
var __1701101493_add_token_blocks_rangeUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\xcf\x41\x0b\x82\x30\x18\xc6\xf1\xfb\x3e\xc5\xfb\x05\x06\xdd\xa5\xc3\x74\x2b\x84\x65\x51\xf3\x3c\xa6\xae\x10\xd7\x56\xbe\x33\xe8\xdb\x47\x0a\x5d\x8a\x40\xea\xf6\x5c\x9e\x1f\xfc\x29\x05\xd6\x34\x50\x07\x37\x9c\x3d\x12\x26\x95\xd8\x83\x62\xa9\x14\x50\xb9\x50\x77\xa8\x7b\xe3\x4f\x16\x35\xda\xeb\x60\x7d\x6c\x8d\x03\xc6\x39\x64\x5b\x59\x6e\x0a\x88\xa1\xb3\x5e\x57\xae\xd3\x18\x4d\x1f\x21\xcd\xd7\x79\xa1\x80\x8b\x15\x2b\xa5\x82\x45\xf2\x83\x78\x6c\x7b\xfc\xaf\xe8\xcc\x47\x90\x50\x0a\x59\xb8\xdc\xe1\x66\xdc\x60\x91\x94\x3b\xce\xd4\x17\xfb\x20\xd4\x5b\xf8\x12\x5e\x3b\x99\x09\x4c\x9d\x13\x30\xee\xb9\xc0\x98\x35\xfd\x9f\x33\x21\x8f\x00\x00\x00\xff\xff\x6f\x8c\xdc\x59\xd5\x01\x00\x00")
|
|
|
|
|
|
|
|
func _1701101493_add_token_blocks_rangeUpSqlBytes() ([]byte, error) {
|
|
|
|
return bindataRead(
|
|
|
|
__1701101493_add_token_blocks_rangeUpSql,
|
|
|
|
"1701101493_add_token_blocks_range.up.sql",
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
func _1701101493_add_token_blocks_rangeUpSql() (*asset, error) {
|
|
|
|
bytes, err := _1701101493_add_token_blocks_rangeUpSqlBytes()
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
|
|
|
info := bindataFileInfo{name: "1701101493_add_token_blocks_range.up.sql", size: 469, mode: os.FileMode(0644), modTime: time.Unix(1701435193, 0)}
|
|
|
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xe0, 0x37, 0xfb, 0x1a, 0x6c, 0x8c, 0xa8, 0x1e, 0xa2, 0xa5, 0x1f, 0x90, 0x73, 0x3e, 0x31, 0x5f, 0x48, 0x1e, 0x9a, 0x37, 0x27, 0x1c, 0xc, 0x67, 0x1, 0xcd, 0xec, 0x85, 0x4c, 0x1c, 0x26, 0x52}}
|
|
|
|
return a, nil
|
|
|
|
}
|
|
|
|
|
2023-08-17 15:23:25 +00:00
|
|
|
var _docGo = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x2c\xc9\xb1\x0d\xc4\x20\x0c\x05\xd0\x9e\x29\xfe\x02\xd8\xfd\x6d\xe3\x4b\xac\x2f\x44\x82\x09\x78\x7f\xa5\x49\xfd\xa6\x1d\xdd\xe8\xd8\xcf\x55\x8a\x2a\xe3\x47\x1f\xbe\x2c\x1d\x8c\xfa\x6f\xe3\xb4\x34\xd4\xd9\x89\xbb\x71\x59\xb6\x18\x1b\x35\x20\xa2\x9f\x0a\x03\xa2\xe5\x0d\x00\x00\xff\xff\x60\xcd\x06\xbe\x4a\x00\x00\x00")
|
|
|
|
|
|
|
|
func docGoBytes() ([]byte, error) {
|
|
|
|
return bindataRead(
|
|
|
|
_docGo,
|
|
|
|
"doc.go",
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
func docGo() (*asset, error) {
|
|
|
|
bytes, err := docGoBytes()
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
|
2023-11-27 10:08:17 +00:00
|
|
|
info := bindataFileInfo{name: "doc.go", size: 74, mode: os.FileMode(0644), modTime: time.Unix(1699882401, 0)}
|
2023-08-17 15:23:25 +00:00
|
|
|
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xde, 0x7c, 0x28, 0xcd, 0x47, 0xf2, 0xfa, 0x7c, 0x51, 0x2d, 0xd8, 0x38, 0xb, 0xb0, 0x34, 0x9d, 0x4c, 0x62, 0xa, 0x9e, 0x28, 0xc3, 0x31, 0x23, 0xd9, 0xbb, 0x89, 0x9f, 0xa0, 0x89, 0x1f, 0xe8}}
|
|
|
|
return a, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// Asset loads and returns the asset for the given name.
|
|
|
|
// It returns an error if the asset could not be found or
|
|
|
|
// could not be loaded.
|
|
|
|
func Asset(name string) ([]byte, error) {
|
|
|
|
canonicalName := strings.Replace(name, "\\", "/", -1)
|
|
|
|
if f, ok := _bindata[canonicalName]; ok {
|
|
|
|
a, err := f()
|
|
|
|
if err != nil {
|
|
|
|
return nil, fmt.Errorf("Asset %s can't read by error: %v", name, err)
|
|
|
|
}
|
|
|
|
return a.bytes, nil
|
|
|
|
}
|
|
|
|
return nil, fmt.Errorf("Asset %s not found", name)
|
|
|
|
}
|
|
|
|
|
|
|
|
// AssetString returns the asset contents as a string (instead of a []byte).
|
|
|
|
func AssetString(name string) (string, error) {
|
|
|
|
data, err := Asset(name)
|
|
|
|
return string(data), err
|
|
|
|
}
|
|
|
|
|
|
|
|
// MustAsset is like Asset but panics when Asset would return an error.
|
|
|
|
// It simplifies safe initialization of global variables.
|
|
|
|
func MustAsset(name string) []byte {
|
|
|
|
a, err := Asset(name)
|
|
|
|
if err != nil {
|
|
|
|
panic("asset: Asset(" + name + "): " + err.Error())
|
|
|
|
}
|
|
|
|
|
|
|
|
return a
|
|
|
|
}
|
|
|
|
|
|
|
|
// MustAssetString is like AssetString but panics when Asset would return an
|
|
|
|
// error. It simplifies safe initialization of global variables.
|
|
|
|
func MustAssetString(name string) string {
|
|
|
|
return string(MustAsset(name))
|
|
|
|
}
|
|
|
|
|
|
|
|
// AssetInfo loads and returns the asset info for the given name.
|
|
|
|
// It returns an error if the asset could not be found or
|
|
|
|
// could not be loaded.
|
|
|
|
func AssetInfo(name string) (os.FileInfo, error) {
|
|
|
|
canonicalName := strings.Replace(name, "\\", "/", -1)
|
|
|
|
if f, ok := _bindata[canonicalName]; ok {
|
|
|
|
a, err := f()
|
|
|
|
if err != nil {
|
|
|
|
return nil, fmt.Errorf("AssetInfo %s can't read by error: %v", name, err)
|
|
|
|
}
|
|
|
|
return a.info, nil
|
|
|
|
}
|
|
|
|
return nil, fmt.Errorf("AssetInfo %s not found", name)
|
|
|
|
}
|
|
|
|
|
|
|
|
// AssetDigest returns the digest of the file with the given name. It returns an
|
|
|
|
// error if the asset could not be found or the digest could not be loaded.
|
|
|
|
func AssetDigest(name string) ([sha256.Size]byte, error) {
|
|
|
|
canonicalName := strings.Replace(name, "\\", "/", -1)
|
|
|
|
if f, ok := _bindata[canonicalName]; ok {
|
|
|
|
a, err := f()
|
|
|
|
if err != nil {
|
|
|
|
return [sha256.Size]byte{}, fmt.Errorf("AssetDigest %s can't read by error: %v", name, err)
|
|
|
|
}
|
|
|
|
return a.digest, nil
|
|
|
|
}
|
|
|
|
return [sha256.Size]byte{}, fmt.Errorf("AssetDigest %s not found", name)
|
|
|
|
}
|
|
|
|
|
|
|
|
// Digests returns a map of all known files and their checksums.
|
|
|
|
func Digests() (map[string][sha256.Size]byte, error) {
|
|
|
|
mp := make(map[string][sha256.Size]byte, len(_bindata))
|
|
|
|
for name := range _bindata {
|
|
|
|
a, err := _bindata[name]()
|
|
|
|
if err != nil {
|
|
|
|
return nil, err
|
|
|
|
}
|
|
|
|
mp[name] = a.digest
|
|
|
|
}
|
|
|
|
return mp, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// AssetNames returns the names of the assets.
|
|
|
|
func AssetNames() []string {
|
|
|
|
names := make([]string, 0, len(_bindata))
|
|
|
|
for name := range _bindata {
|
|
|
|
names = append(names, name)
|
|
|
|
}
|
|
|
|
return names
|
|
|
|
}
|
|
|
|
|
|
|
|
// _bindata is a table, holding each asset generator, mapped to its name.
|
|
|
|
var _bindata = map[string]func() (*asset, error){
|
2023-11-19 17:29:17 +00:00
|
|
|
"1691753758_initial.up.sql": _1691753758_initialUpSql,
|
|
|
|
|
|
|
|
"1692701329_add_collectibles_and_collections_data_cache.up.sql": _1692701329_add_collectibles_and_collections_data_cacheUpSql,
|
|
|
|
|
|
|
|
"1692701339_add_scope_to_pending.up.sql": _1692701339_add_scope_to_pendingUpSql,
|
|
|
|
|
|
|
|
"1694540071_add_collectibles_ownership_update_timestamp.up.sql": _1694540071_add_collectibles_ownership_update_timestampUpSql,
|
|
|
|
|
|
|
|
"1694692748_add_raw_balance_to_token_balances.up.sql": _1694692748_add_raw_balance_to_token_balancesUpSql,
|
|
|
|
|
2023-09-21 12:40:58 +00:00
|
|
|
"1695133989_add_community_id_to_collectibles_and_collections_data_cache.up.sql": _1695133989_add_community_id_to_collectibles_and_collections_data_cacheUpSql,
|
2023-11-19 17:29:17 +00:00
|
|
|
|
|
|
|
"1695932536_balance_history_v2.up.sql": _1695932536_balance_history_v2UpSql,
|
|
|
|
|
|
|
|
"1696853635_input_data.up.sql": _1696853635_input_dataUpSql,
|
|
|
|
|
|
|
|
"1698117918_add_community_id_to_tokens.up.sql": _1698117918_add_community_id_to_tokensUpSql,
|
|
|
|
|
|
|
|
"1698257443_add_community_metadata_to_wallet_db.up.sql": _1698257443_add_community_metadata_to_wallet_dbUpSql,
|
|
|
|
|
|
|
|
"1699987075_add_timestamp_and_state_to_community_data_cache.up.sql": _1699987075_add_timestamp_and_state_to_community_data_cacheUpSql,
|
|
|
|
|
|
|
|
"1700414564_add_wallet_connect_pairings_table.up.sql": _1700414564_add_wallet_connect_pairings_tableUpSql,
|
|
|
|
|
2023-11-27 10:08:17 +00:00
|
|
|
"1701101493_add_token_blocks_range.up.sql": _1701101493_add_token_blocks_rangeUpSql,
|
|
|
|
|
2023-10-25 16:49:18 +00:00
|
|
|
"doc.go": docGo,
|
|
|
|
}
|
2023-10-12 15:45:23 +00:00
|
|
|
|
2023-08-17 15:23:25 +00:00
|
|
|
// AssetDir returns the file names below a certain
|
|
|
|
// directory embedded in the file by go-bindata.
|
|
|
|
// For example if you run go-bindata on data/... and data contains the
|
|
|
|
// following hierarchy:
|
2023-11-27 10:08:17 +00:00
|
|
|
//
|
|
|
|
// data/
|
|
|
|
// foo.txt
|
|
|
|
// img/
|
|
|
|
// a.png
|
|
|
|
// b.png
|
|
|
|
//
|
2023-08-17 15:23:25 +00:00
|
|
|
// then AssetDir("data") would return []string{"foo.txt", "img"},
|
|
|
|
// AssetDir("data/img") would return []string{"a.png", "b.png"},
|
|
|
|
// AssetDir("foo.txt") and AssetDir("notexist") would return an error, and
|
|
|
|
// AssetDir("") will return []string{"data"}.
|
|
|
|
func AssetDir(name string) ([]string, error) {
|
|
|
|
node := _bintree
|
|
|
|
if len(name) != 0 {
|
|
|
|
canonicalName := strings.Replace(name, "\\", "/", -1)
|
|
|
|
pathList := strings.Split(canonicalName, "/")
|
|
|
|
for _, p := range pathList {
|
|
|
|
node = node.Children[p]
|
|
|
|
if node == nil {
|
|
|
|
return nil, fmt.Errorf("Asset %s not found", name)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if node.Func != nil {
|
|
|
|
return nil, fmt.Errorf("Asset %s not found", name)
|
|
|
|
}
|
|
|
|
rv := make([]string, 0, len(node.Children))
|
|
|
|
for childName := range node.Children {
|
|
|
|
rv = append(rv, childName)
|
|
|
|
}
|
|
|
|
return rv, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type bintree struct {
|
|
|
|
Func func() (*asset, error)
|
|
|
|
Children map[string]*bintree
|
|
|
|
}
|
|
|
|
|
|
|
|
var _bintree = &bintree{nil, map[string]*bintree{
|
2023-11-19 17:29:17 +00:00
|
|
|
"1691753758_initial.up.sql": &bintree{_1691753758_initialUpSql, map[string]*bintree{}},
|
|
|
|
"1692701329_add_collectibles_and_collections_data_cache.up.sql": &bintree{_1692701329_add_collectibles_and_collections_data_cacheUpSql, map[string]*bintree{}},
|
|
|
|
"1692701339_add_scope_to_pending.up.sql": &bintree{_1692701339_add_scope_to_pendingUpSql, map[string]*bintree{}},
|
|
|
|
"1694540071_add_collectibles_ownership_update_timestamp.up.sql": &bintree{_1694540071_add_collectibles_ownership_update_timestampUpSql, map[string]*bintree{}},
|
|
|
|
"1694692748_add_raw_balance_to_token_balances.up.sql": &bintree{_1694692748_add_raw_balance_to_token_balancesUpSql, map[string]*bintree{}},
|
|
|
|
"1695133989_add_community_id_to_collectibles_and_collections_data_cache.up.sql": &bintree{_1695133989_add_community_id_to_collectibles_and_collections_data_cacheUpSql, map[string]*bintree{}},
|
|
|
|
"1695932536_balance_history_v2.up.sql": &bintree{_1695932536_balance_history_v2UpSql, map[string]*bintree{}},
|
|
|
|
"1696853635_input_data.up.sql": &bintree{_1696853635_input_dataUpSql, map[string]*bintree{}},
|
|
|
|
"1698117918_add_community_id_to_tokens.up.sql": &bintree{_1698117918_add_community_id_to_tokensUpSql, map[string]*bintree{}},
|
|
|
|
"1698257443_add_community_metadata_to_wallet_db.up.sql": &bintree{_1698257443_add_community_metadata_to_wallet_dbUpSql, map[string]*bintree{}},
|
|
|
|
"1699987075_add_timestamp_and_state_to_community_data_cache.up.sql": &bintree{_1699987075_add_timestamp_and_state_to_community_data_cacheUpSql, map[string]*bintree{}},
|
|
|
|
"1700414564_add_wallet_connect_pairings_table.up.sql": &bintree{_1700414564_add_wallet_connect_pairings_tableUpSql, map[string]*bintree{}},
|
2023-11-27 10:08:17 +00:00
|
|
|
"1701101493_add_token_blocks_range.up.sql": &bintree{_1701101493_add_token_blocks_rangeUpSql, map[string]*bintree{}},
|
2023-11-19 17:29:17 +00:00
|
|
|
"doc.go": &bintree{docGo, map[string]*bintree{}},
|
2023-08-17 15:23:25 +00:00
|
|
|
}}
|
|
|
|
|
|
|
|
// RestoreAsset restores an asset under the given directory.
|
|
|
|
func RestoreAsset(dir, name string) error {
|
|
|
|
data, err := Asset(name)
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
info, err := AssetInfo(name)
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
err = os.MkdirAll(_filePath(dir, filepath.Dir(name)), os.FileMode(0755))
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
2023-11-19 17:29:17 +00:00
|
|
|
err = ioutil.WriteFile(_filePath(dir, name), data, info.Mode())
|
2023-08-17 15:23:25 +00:00
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
return os.Chtimes(_filePath(dir, name), info.ModTime(), info.ModTime())
|
|
|
|
}
|
|
|
|
|
|
|
|
// RestoreAssets restores an asset under the given directory recursively.
|
|
|
|
func RestoreAssets(dir, name string) error {
|
|
|
|
children, err := AssetDir(name)
|
|
|
|
// File
|
|
|
|
if err != nil {
|
|
|
|
return RestoreAsset(dir, name)
|
|
|
|
}
|
|
|
|
// Dir
|
|
|
|
for _, child := range children {
|
|
|
|
err = RestoreAssets(dir, filepath.Join(name, child))
|
|
|
|
if err != nil {
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func _filePath(dir, name string) string {
|
|
|
|
canonicalName := strings.Replace(name, "\\", "/", -1)
|
|
|
|
return filepath.Join(append([]string{dir}, strings.Split(canonicalName, "/")...)...)
|
|
|
|
}
|