status-go/walletdatabase/migrations/bindata.go

488 lines
52 KiB
Go
Raw Normal View History

2023-08-17 15:23:25 +00:00
// Code generated by go-bindata. DO NOT EDIT.
// sources:
2023-10-25 16:49:18 +00:00
// 1691753758_initial.up.sql (5.929kB)
// 1692701329_add_collectibles_and_collections_data_cache.up.sql (1.859kB)
// 1692701339_add_scope_to_pending.up.sql (587B)
// 1694540071_add_collectibles_ownership_update_timestamp.up.sql (356B)
// 1694692748_add_raw_balance_to_token_balances.up.sql (167B)
// 1695133989_add_community_id_to_collectibles_and_collections_data_cache.up.sql (280B)
// 1695932536_balance_history_v2.up.sql (670B)
// 1696853635_input_data.up.sql (24.129kB)
// 1698117918_add_community_id_to_tokens.up.sql (61B)
2023-08-17 15:23:25 +00:00
// doc.go (74B)
package migrations
import (
"bytes"
"compress/gzip"
"crypto/sha256"
"fmt"
"io"
2023-10-25 16:49:18 +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-10-25 16:49:18 +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-10-25 16:49:18 +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-25 16:49:18 +00:00
var __1691753758_initialUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xb4\x58\x4f\x6f\xa4\x36\x14\xbf\x47\xca\x77\xb0\x72\x4a\x24\x0e\xdd\x6d\x55\x55\xea\x89\x4c\x48\x16\x75\xca\x6c\x19\xd2\xcd\x9e\x2c\x07\xde\x64\xac\x00\x66\x6d\x93\x9d\xd9\x4f\x5f\x99\xff\x06\x1b\x50\xd4\xbd\xda\xcf\x7e\xff\x7f\xef\x67\x6f\x42\xcf\x8d\x3c\x14\xb9\xb7\x5b\x0f\x3d\xa7\x2c\x7e\x15\xe8\xfa\xf2\x02\x21\x84\x72\x90\xdf\x19\x7f\xc5\x34\x41\x8f\xc1\xde\x7f\x08\xbc\x3b\x74\xeb\x3f\xf8\x41\x84\x82\x5d\x84\x82\xc7\xed\xd6\xa9\x25\x49\x92\x70\x10\x02\xfd\xeb\x86\x9b\x4f\x6e\x38\xde\x7e\x4e\x5f\x71\x5e\x66\xcf\xc0\x2d\xe7\x95\xc0\x91\x88\xa3\x65\x3b\x65\x24\x81\x04\xdd\xee\x76\x5b\x74\xe7\xdd\xbb\x8f\xdb\x08\xdd\xbb\xdb\xbd\xd7\xec\x6f\x76\xc1\x3e\x0a\x5d\x75\xb2\xcc\xe9\xb7\x12\x70\x46\x8a\x82\xe6\x2f\xf8\xc0\x38\x26\x71\xcc\xca\x5c\x62\xc9\x70\xe5\x1f\x2e\x80\xe3\xc6\x37\xf4\x18\xf8\xff\x3c\x7a\xe8\xba\xf1\xc0\x69\x2d\x71\x7a\xe7\x6f\x2e\x2f\x6e\xfe\xbc\xbc\xb8\xbc\x30\x84\x0a\x73\x92\xbf\xc0\xcf\x89\xd8\x81\xb3\x6c\x26\x5e\x92\xd9\x36\x49\x4a\xf2\x18\xd0\xed\x76\x77\xdb\x2c\xe5\x4c\x2d\xf8\x41\xe4\x3d\x78\xe1\x92\x33\x58\xc0\xb7\x12\x72\x49\x49\xfa\x53\xfc\x12\x92\x70\xd9\x1c\x1f\xba\x4b\xb9\x90\x33\xfe\xa6\xc4\xba\xfd\x39\xf4\xff\x76\xc3\xaf\xe8\x2f\xef\x2b\xba\xee\x6d\x75\x5a\x6b\x54\x06\xd1\x17\x3f\xfa\xb4\x7b\x8c\x50\xb8\xfb\xe2\xdf\x4d\x43\x50\x40\x9e\xa8\x8a\x91\x9c\xe4\x82\xc4\x92\xb2\xfc\x1d\x69\xad\x8a\xd8\xe2\xbb\xa4\x19\x08\x49\xb2\x62\xe9\x12\x95\x78\xbc\x10\x48\xc9\xc6\x12\xcd\x86\x38\x67\xcf\x2c\x1d\x2d\xbe\x10\x81\x0b\x4e\xf5\xa2\x50\x8b\x29\xcd\xa8\x1c\x2e\xbe\x91\xb4\xd4\xa4\x12\x22\x09\x8a\xbc\xa7\x36\x55\xf2\x5c\xc0\xe8\x76\x92\x24\x54\xc5\x8b\xa4\x78\x2c\x9d\x95\xa9\xa4\xc3\x98\xaa\x18\xf6\x79\xb7\x26\x4e\xc5\x71\x4d\xd6\xae\x04\x79\x83\xa4\x0d\x05\x88\xab\x36\x65\x0b\xe1\xcb\x49\x06\x95\x9d\x93\xd8\x93\x37\x56\x72\x2a\xa1\x42\x1b\xcf\x0d\x3a\x01\x23\xf2\x70\xc8\xd8\x5b\x03\x4d\x8b\xc2\x65\x91\x10\x09\x38\x56\xcd\x86\x86\x79\xef\xa4\x7f\x69\x24\xe3\x23\xa1\x39\x16\x47\xc6\x25\x56\xa6\xf6\x7e\xb4\x92\x57\x57\x8d\x28\xe4\xa2\x12\xb1\x4b\x50\x81\x25\xa8\xde\x69\x6c\x34\x99\x16\x73\x20\x52\x05\x52\x56\x86\x8d\xed\xd1\xf2\xd4\x42\x65\xa7\xda\x69\x55\xac\xc9\x98\x64\xaf\x90\xe3\x06\xa3\xba\x0e\x2b\x05\xf0\xe5\x92\x57\x27\x35\x5f\x8d\x12\x7a\x07\x98\x65\x56\xa9\x8a\x59\xca\xf8\x44\x64\x1a\xe0\x5a\x3a\x81\x98\x66\x24\x15\xc8\xd0\xd1\xad\x84\x88\x39\x2d\x54\x1b\xac\xbe\xb5\xe4\x53\x4f\xa6\xb2\x2d\xe4\x5b\xdc\xa9\xcb\xa9\xee\xbc\x59\xec\x1c\xa6\xc1\xe9\x8e\x39\x5a\x60\x6f\xd0\x2e\x50\x13\xf7\x7e\xeb\x6f\x22\x14\x7a\x9f\xb7\xee\xc6\x33\x8e\xc8\xea\x94\x58\xdb\x91\xab\x31\xd6\xda\xbb\xf3\x89\xef\xf2\xd3\x5d\xdf\xe3\x90\x96\xe9\xd9\x9a\xd7\x69\xc1\x52\xb1\xbf\x51\x41\x9f\x53\xc0\x7a\x24\xba\x74\x18\x2c\xb1\x45\xc9\x18\xe0\xb8\xe4\x1c\xf2\xf8\xac\x68\x4e\x46\x24\x8e\x49\x7c\x84\x56\xcb\x42\x34\xa8\x28\x52\x72\x9e\xad\x5a\x21\x39\x2d\x14\x78\xd3\x54\x4d\xc6\x1f\xc0\x19\x88\x09\xd4\x19\x2d\x9b\xe0\x7e\xe7\xfc\x9a\xe1\x56\xcb\x08\x01\x72\x5e\x22\x53\xbc\x6e\xfd\x84\x34\x49\xcc\x29\x19\x8e\xba\x77\x0f\x73\xa5\x44\xb3\x73\xe8\x81\xbd\xe8\xfb\xd3\x8b\x32\x31\x67\x42\x60\x79\x52\x12\xd6\x21\x50\xa9\x93\xa7\x86\x65\xf7\xe3\x5d\x32\x6d\xd5\x4c\x75\x6b\x74\xc1\x47\x2a\x24\xe3\x67\x7b\x19\xbf\x8b\x12\xb6\x45\x6c\xa7\x8c\x6a\x5c\x5a\x82\xdb\x65\xc1\x44\x1a\xa9\x54\xc9\x5d\x60\xc8\x46\x8f\x2b\xae\xa4\xb7\x53\xd5\xc2\xef\xf5\xa1\xe6\x5e\xa1\xe7\x6e\xe7\xdb\xc6\xbf\xaf\xf6\xbd\x27\x7f\x1f\xed\x15\x2a\xa5\x10\x4b\x85\x20\x02\xb3\xef\x39\x70\x71\xa4\x85\x6e\xd6\xda\x24\xc4\x2c\x97\x9c\xc4\x72\xdd\xe4\xa3\x49\x15\x9b\xf1\x66\x65\x83\xf5\x06\xf3\x0c\x50\x10\x70\x00\xfe\x3f\x73\xe9\x15\xcf\x8c\x59\x2a\x7e\x1a\xf6\x80\x80\x3c\x81\x31\xfc\x73\x88\x81\x16\x1a\x37\x4e\xd9\x8b\xd6\x3a\x33\xf0\xb0\xf8\xe2\x5d\x8d\x1f\xa6\xb7\xef\x87\x75\xec\xfa\x99\x08\xc0\x8a\xe5\x1f\x60\x34\x30\xa7\xf8\x20\x24\x91\xa5\x18\x1c\x6e\xfc\xc7\x95\x97\x03\x40\x9a\x42\x48\xca\x5e\x30\xcd\x13\x38\x0d\x55\x57\x0f\xed\xb1\x64\x5c\x66\x65\x4a\x24\x7d\xab\xcd\x2a\x05\x24\xda\x10\x1e\x95\xe8\xe0\x1d\x61\x10\x57\x80\x37\xd2\x2a\x4f\x63\x73\x0b\xce\x24\xc4\xb2\x67\xe8\x93\xb7\x8f\x6
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-10-25 16:49:18 +00:00
info := bindataFileInfo{name: "1691753758_initial.up.sql", size: 5929, mode: os.FileMode(0666), modTime: time.Unix(1695921811, 0)}
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x85, 0x94, 0xd0, 0x1b, 0x52, 0x26, 0x26, 0x6c, 0xad, 0x5d, 0xfd, 0x96, 0x77, 0x92, 0x90, 0xbf, 0x4a, 0x80, 0xb2, 0x80, 0x15, 0xad, 0x34, 0xb2, 0x38, 0xf6, 0x85, 0xbc, 0xdb, 0xd5, 0xac, 0xfc}}
2023-08-17 15:23:25 +00:00
return a, nil
}
2023-10-25 16:49:18 +00:00
var __1692701329_add_collectibles_and_collections_data_cacheUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xc4\x54\xcd\x8e\xda\x30\x10\xbe\x23\xf1\x0e\x73\x6c\x25\xde\xa0\xa7\x90\x0c\x34\x6a\x64\xda\x90\x54\xdb\x53\x34\x6b\xbb\xec\x08\xc7\x8e\x1c\x67\x55\xde\xbe\x02\x76\xab\x5d\x16\x43\x68\xa5\xed\x35\xf3\xf9\xb3\xf3\xfd\x4c\x5a\x62\x52\x21\x54\xc9\xbc\x40\xc8\x17\x20\x56\x15\xe0\x5d\xbe\xae\xd6\x20\x9d\x31\x5a\x06\xbe\x37\xba\x51\x14\xa8\x91\x24\x1f\x34\x7c\x98\x4e\x00\x00\xe4\x03\xb1\x6d\x58\x41\x2d\xd6\xf9\x52\x60\x06\xf3\x7c\x99\x8b\xea\xc0\x20\xea\xa2\x98\x3d\xe1\x9c\x0d\x9e\x64\x68\x48\x29\xaf\xfb\x1e\xbe\x27\x65\xfa\x39\x29\x4f\x71\xc1\x6d\xf5\x81\x6f\x5e\xac\xe6\xa7\xc3\xce\xbb\x47\x56\xda\xc7\x0e\x5b\x6a\x75\x6c\xa6\x74\x2f\x3d\x77\x81\x9d\x8d\x41\x3a\xed\x5b\x32\x6c\xb7\x31\x00\xb7\xb4\xd1\xcd\xe0\x4d\x0c\x40\x96\x5b\xda\x5f\x31\x0e\xd4\x6a\xc5\xd4\x84\x5d\x17\x7d\xf5\x3d\xc9\xed\xc6\xbb\xc1\xaa\x46\x3a\xe3\xa2\x7f\x7e\x94\x6d\xf0\xfc\x06\x30\x9d\x7c\xfc\x34\x9d\x4c\x27\x4f\x0e\xd7\x22\xff\x56\x23\xe4\x22\xc3\xbb\x6b\x46\xb3\xd2\x36\xf0\xcf\x5d\xa3\x6d\xf0\x3b\x58\x89\x68\x16\x9e\x53\x30\x7b\xe3\xf3\xec\x8f\xa3\xaf\x9e\x71\x2d\x68\xc1\x13\x87\xfe\x3f\x46\xed\xf0\x80\x8b\xd6\x1c\x11\x8f\x64\x86\x78\xe6\xb8\xef\x0c\xed\x2e\xd2\xb4\xf4\xeb\x32\xc9\x62\x55\x62\xbe\x14\xf0\x05\x7f\x8c\xd3\x19\x4a\x5c\x60\x89\x22\xc5\x58\x79\xc7\xf1\x1c\xaf\x87\xbd\xef\xf5\xd7\x6c\xef\x5a\x9a\xac\xd3\x24\xc3\x17\x83\x0c\x0b\x7c\x39\x18\x6d\xb2\xb3\xef\xb0\x4c\xfe\x65\x5f\xf4\x66\xd8\xdc\xbe\x07\x6e\x6f\xdb\xb3\x10\xf1\xb2\x9d\x48\x15\xf7\xee\x16\xf1\xdf\xa5\x60\x57\x3b\xd4\xb2\x85\x12\x93\xe2\x4c\x29\xce\x7e\x1f\xd7\x85\xb3\x0d\x78\xa5\xe2\xa5\xc3\x7f\x1b\xfb\xdf\x01\x00\x00\xff\xff\xcb\x36\xbb\x7f\x43\x07\x00\x00")
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-10-25 16:49:18 +00:00
info := bindataFileInfo{name: "1692701329_add_collectibles_and_collections_data_cache.up.sql", size: 1859, mode: os.FileMode(0666), modTime: time.Unix(1695921811, 0)}
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x94, 0xd7, 0x35, 0x2b, 0x66, 0xe2, 0xb7, 0x3c, 0x8a, 0x73, 0xb2, 0x59, 0x1b, 0xef, 0x82, 0xb1, 0x4a, 0x75, 0x74, 0x2b, 0x5d, 0xa9, 0x33, 0x40, 0x77, 0xe4, 0x16, 0xe5, 0x17, 0xef, 0x39, 0x64}}
return a, nil
}
2023-10-25 16:49:18 +00:00
var __1692701339_add_scope_to_pendingUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x8c\x91\x4d\x8b\xdb\x30\x18\x84\xef\x06\xff\x87\x61\x4f\x2d\xd8\x2d\x3d\xef\xc9\xbb\x56\xa1\xe0\xda\x4b\xa2\x40\x6e\x46\xb5\xde\xc4\x22\xfa\x08\xd2\xeb\xc6\xf9\xf7\xa5\x8e\x4b\x53\x1a\x68\x6f\x42\xcc\x3c\x9a\x07\x95\x25\xb6\x44\x90\xf3\x96\x15\x4f\x09\xc6\x83\xa3\xf2\x49\x0d\x6c\x82\x4f\x1f\xcf\xe4\xb5\xf1\x47\x9e\x39\xaa\xe1\x44\xf1\xc3\x31\xe4\x59\xd5\x48\xb1\x81\xac\x5e\x1a\x81\x35\xd0\xdf\xb7\x50\xd5\x35\xd2\x0d\x28\xc5\x5e\xa2\xed\x24\xda\x5d\xd3\xa0\x16\x9f\xab\x5d\x23\xf1\xf4\x76\xab\x3d\x3d\xe7\x59\x9e\x95\x25\xe4\x48\xb8\x28\x1e\x46\x8a\xb8\x18\x6b\xa1\x26\x0e\xd0\x64\x89\x09\x3c\xd2\xaf\x77\xc0\x73\x02\x8f\x8a\xa1\x22\x61\x08\xfe\x60\xa2\x23\x8d\x10\x71\x50\xc6\x92\x5e\x68\xc2\xa6\xb5\x15\x83\x9e\x06\x8a\x70\x41\x4f\x96\x6e\xe8\x51\x7d\x27\xfc\x41\x77\x70\xca\x4f\xca\xda\x2b\x82\xff\x59\x1a\x28\x25\xe3\x8f\xff\xa9\xfa\xda\x35\xbb\xaf\xed\x32\xb9\x5f\xa1\x2f\x5d\xd7\x88\xaa\xfd\xdb\xfc\xd3\x62\x5c\x6f\xba\x37\x7c\x69\x6b\xb1\x87\xd1\x73\xff\x88\xbc\xe4\x5e\x37\xa2\x92\xe2\x1f\xc9\x3c\xeb\xda\xc7\xe3\xde\xb9\xc9\xb2\xb9\xbf\xeb\x8d\x2e\x70\x88\xc1\xf5\x4a\xeb\x48\x29\x15\xe0\xf0\xfb\xec\x89\x2f\x21\x9e\x96\x14\x1b\x47\x89\x95\x3b\x17\x48\x57\xf7\x2d\xd8\x02\x7c\x3d\x53\xb1\xfe\x6c\x71\xef\xfb\xfe\x39\xcf\x7e\x04\x00\x00\xff\xff\xb1\x95\xae\x0c\x4b\x02\x00\x00")
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-10-25 16:49:18 +00:00
info := bindataFileInfo{name: "1692701339_add_scope_to_pending.up.sql", size: 587, mode: os.FileMode(0666), modTime: time.Unix(1695921811, 0)}
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xaf, 0x4e, 0x75, 0x89, 0x63, 0x4b, 0xe2, 0x1c, 0xb8, 0x28, 0x51, 0x35, 0x93, 0x36, 0xaa, 0xad, 0x5b, 0xa8, 0x53, 0x7d, 0x8a, 0x91, 0x63, 0xb9, 0x3a, 0x2, 0xba, 0x72, 0xab, 0x37, 0x8e, 0xd6}}
return a, nil
}
2023-10-25 16:49:18 +00:00
var __1694540071_add_collectibles_ownership_update_timestampUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\xd0\x41\x4a\xc5\x30\x10\xc6\xf1\x7d\x20\x77\x98\xa5\xc2\xbb\x81\xab\xbc\x36\xd6\x40\x99\x62\x9b\x48\x77\x21\x36\x23\x0d\xb4\x69\x69\x22\xd2\xdb\x8b\x55\x0a\x0a\x2e\x74\xff\xe7\x63\x7e\x53\xb4\x52\x68\x09\x5a\x5c\x6b\x09\xea\x1e\xb0\xd1\x20\x7b\xd5\xe9\x0e\x86\x65\x9a\x68\xc8\xe1\x79\xa2\x64\x97\xb7\x48\x5b\x1a\xc3\x6a\x5f\x57\xef\x32\xd9\x1c\x66\x4a\xd9\xcd\x6b\x82\x1b\xce\x00\x00\x8e\xc4\x3a\xef\x37\x4a\x09\x9e\x44\x5b\x3c\x88\xf6\x18\x44\x53\xd7\x97\xcf\x68\x18\x5d\x88\x36\x78\x30\xd8\xa9\x0a\x65\x09\x57\x55\x29\xd4\x3f\xbb\x73\xfe\xd7\x90\xb3\xdb\x3b\xce\x38\xfb\x12\x18\x54\x8f\x46\x82\xc2\x52\xf6\xff\x84\xd8\xe0\x29\xe6\xf0\xb2\x5b\x8a\x79\xdb\xa1\xc1\x3f\xfc\xe0\x9b\xfe\x72\x3a\x3f\x6e\x7c\x0f\x00\x00\xff\xff\xb0\x68\x02\x23\x64\x01\x00\x00")
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-10-25 16:49:18 +00:00
info := bindataFileInfo{name: "1694540071_add_collectibles_ownership_update_timestamp.up.sql", size: 356, mode: os.FileMode(0666), modTime: time.Unix(1695921811, 0)}
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x9, 0xb9, 0x96, 0x7e, 0xe2, 0x55, 0x68, 0xf8, 0xe5, 0x27, 0x6a, 0x4d, 0xf3, 0xdd, 0x4c, 0xd, 0xf2, 0xb3, 0x91, 0xd0, 0x3e, 0xb6, 0x92, 0x4a, 0xac, 0x59, 0x40, 0xdf, 0xff, 0x74, 0x73, 0xc1}}
return a, nil
}
2023-10-25 16:49: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\x8a\x83\x30\x10\x87\xf1\xbb\xe0\x3b\xfc\xf1\x2e\xec\x2b\xcc\xaa\xcb\x1e\x52\x05\x89\xbd\x96\x68\xa6\x12\xaa\x93\x92\x89\xb4\x8f\x5f\x0a\xed\xf5\x3b\x7c\xbf\xba\x06\x79\x8f\x25\x6e\xc7\x2e\xb8\xc6\x04\xcd\x31\x05\x59\x91\xdc\x03\xb3\xdb\x9c\x2c\x0c\x7e\xde\x13\xab\xb2\x47\x10\xcc\x4e\x19\x87\x04\xc9\x0a\xa7\x98\xc3\x8a\x20\x99\x57\x4e\xf0\xbc\x84\xdd\x6d\x65\x41\xc6\x76\x23\x2c\xfd\x9a\x0e\x39\xde\x58\x2e\x9f\x95\x82\xda\x16\xcd\x60\xa6\x53\xff\x26\xbe\x1d\x67\x1a\x9b\x7f\x1a\xd1\x0f\x16\xfd\x64\x0c\xda\xee\x8f\x26\x63\x51\xfd\x54\x65\xf1\x0a\x00\x00\xff\xff\xab\xf3\xea\x80\xa7\x00\x00\x00")
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-10-25 16:49:18 +00:00
info := bindataFileInfo{name: "1694692748_add_raw_balance_to_token_balances.up.sql", size: 167, mode: os.FileMode(0666), modTime: time.Unix(1695921811, 0)}
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x28, 0x83, 0x4b, 0x8b, 0x68, 0xf9, 0x8a, 0x35, 0x7, 0x7e, 0x45, 0xaf, 0x5a, 0xa0, 0x9e, 0x2e, 0xeb, 0x9f, 0x31, 0xfe, 0x8d, 0x2, 0xdd, 0x9e, 0x93, 0xc8, 0xb7, 0xf, 0x5a, 0xa7, 0x66, 0x4b}}
return a, nil
}
2023-10-25 16:49: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\xe5\x0a\x0d\x70\x71\x0c\xc1\x69\x60\xb0\x6b\x08\xaa\x49\xb6\x10\x5d\xbc\x5c\xd8\x5c\x93\x9f\x47\x5d\xc7\xa0\x9a\x87\xcb\x2d\x80\x00\x00\x00\xff\xff\x3a\x9c\xfc\xef\x18\x01\x00\x00")
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-10-25 16:49:18 +00:00
info := bindataFileInfo{name: "1695133989_add_community_id_to_collectibles_and_collections_data_cache.up.sql", size: 280, mode: os.FileMode(0666), modTime: time.Unix(1695921811, 0)}
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x95, 0x8c, 0xc0, 0xc4, 0xdd, 0x99, 0x2a, 0xbb, 0xd7, 0x47, 0x55, 0x95, 0xa6, 0xaa, 0x73, 0x34, 0x18, 0x43, 0xd2, 0x9d, 0xa, 0x2f, 0xdd, 0x6b, 0xd4, 0x66, 0xff, 0xe2, 0x5d, 0x84, 0xae, 0xc9}}
return a, nil
}
2023-10-25 16:49:18 +00:00
var __1695932536_balance_history_v2UpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x91\xcf\x6a\xf3\x30\x10\xc4\xef\x02\xbd\xc3\x1c\xbf\x0f\xec\x1e\x7a\xcd\xc9\x4e\xd4\x54\xe0\xca\xad\x22\x97\xdc\x8c\x62\x2b\x8d\xa8\xa3\x04\x49\x2d\xb8\x4f\x5f\xf2\xb7\x10\x1c\x52\x7a\x9e\x9d\xfd\xed\xcc\xa6\x29\x4a\x67\x60\x5c\xf4\x3d\xb6\xc6\xa3\x59\x69\xeb\x6a\xdb\x26\xd0\x6d\xeb\x4d\x08\x09\x9a\x0f\xef\x8d\x6b\xfa\x04\x8b\x6e\xd3\xbc\x53\x92\xa6\x58\xe8\x4e\xbb\xc6\xc0\x06\x68\x04\xe3\xad\xee\xec\x97\x69\xb1\xb0\x6f\x77\xdc\x45\x4a\xc6\x92\x65\x8a\x41\x65\x79\xc1\xc0\x1f\x20\x4a\x05\x36\xe7\x33\x35\x3b\x79\xeb\x95\x0d\x71\xe3\xfb\xfa\xf3\x1e\xff\x28\x01\x70\x86\xa3\x12\x33\x3e\x15\x6c\x82\x9c\x4f\xb9\x50\x7b\xb7\xa8\x8a\x22\x39\xcc\x1d\x4f\xc3\x6b\x26\xc7\x8f\x99\xbc\x94\x4f\x07\x5f\xd3\xf7\x31\xae\xac\x8e\x76\x6d\x42\xd4\xeb\x2d\x06\xc4\x53\xea\xbc\x28\x73\x4a\xfe\x8f\x28\x39\x07\xad\x04\x7f\xa9\x18\xb8\x98\xb0\xf9\x8d\xbc\xb6\x35\x2e\xda\x65\x5f\x1f\x5a\x2f\xc5\x60\x23\xb7\x1f\xb1\xe3\x1f\xe9\xbf\xc1\x2e\x6d\x17\x8d\xdf\x43\xad\x09\x7f\xc7\x26\x3f\x1d\x1d\x1a\x98\xc8\xf2\xf9\xf8\xe8\x8b\x8d\x23\x4a\xb2\x42\x31\x39\xac\xee\x78\x92\x89\xec\x89\x41\x95\x03\x56\x4a\xbe\x03\x00\x00\xff\xff\x44\xd6\x5b\x2f\x9e\x02\x00\x00")
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-10-25 16:49:18 +00:00
info := bindataFileInfo{name: "1695932536_balance_history_v2.up.sql", size: 670, mode: os.FileMode(0666), modTime: time.Unix(1696852547, 0)}
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0x50, 0x9a, 0x8e, 0x3b, 0xb7, 0xdb, 0x22, 0x43, 0x8f, 0xef, 0xf3, 0x32, 0xeb, 0x22, 0x40, 0x10, 0x15, 0x9b, 0xb8, 0xe6, 0xa8, 0x44, 0xde, 0x3e, 0x30, 0x18, 0xca, 0x39, 0xbd, 0x85, 0x4e, 0x4}}
return a, nil
}
2023-10-25 16:49:18 +00:00
var __1696853635_input_dataUpSql = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x74\x7c\x4d\x0b\x6d\xbb\x91\xdd\xdc\xe0\xff\x70\xf1\xc4\x36\x78\x20\x55\x95\x4a\x12\x3d\x72\x9a\x4b\x30\x71\xbf\x4e\x5e\x3f\x87\xf4\x28\xd4\x27\x6d\x42\xbb\x03\x71\x20\x3f\x3f\x9c\xe7\xd7\x24\xf6\xd2\x9d\x6a\xef\x23\x69\x97\xea\x63\xd5\xaa\xd2\xf9\xfb\xef\xbf\xfe\xf6\x87\xaf\x5f\x7e\xf8\xed\x7f\xf8\xfd\xd7\x2f\xbf\xf8\xe3\x9f\xfe\xe7\xff\xfe\xf3\x7f\x4f\xfb\xb3\xfd\xe2\xcb\xaf\x7e\xfe\xb3\x2f\x5f\xbe\x7c\xf9\xc5\x1f\xf3\x17\x5f\x7e\xf7\xdd\x0f\x5f\xff\xe3\xd7\xef\x7f\xf3\xd3\xd0\xbf\xd8\xff\xfa\x97\x5f\x7c\xf9\xe1\xeb\x7f\xfb\xe1\xcb\x77\xff\xf8\xc3\x97\xef\xfe\xf0\xfb\xdf\xff\xfb\xa3\x7f\xad\x3f\xff\xcb\xbf\xe5\xfb\xe1\x1f\xbe\xfb\xdd\x7f\xf9\xc3\xd7\x5f\xfd\xe5\xe7\xbf\xf9\xf7\x57\x7f\xfd\xd3\xd3\xff\xfc\xfd\xef\xfe\xe1\xb7\xdf\xff\xf3\x97\xff\xf4\xf5\x9f\x7f\xf5\xe3\xa2\xbf\xfd\xc3\x0f\xff\xf8\xbb\xef\xfe\xfe\xfb\xaf\xff\xf0\xf5\xbb\x1f\x7e\xfd\xf3\x9f\xfd\xfa\xef\x7e\xfe\xb3\xdf\x7d\xf7\x4f\x5f\xbf\xff\xe1\xcb\x1f\xff\xf4\xe7\x7f\xfb\xf2\xff\x36\xfb\xe5\x57\x7f\x99\xeb\x37\x5f\x3e\x53\xff\xfa\xcb\xcf\x7f\xf6\x5f\x7f\xfb\xfb\x3f\x7c\xfd\xa7\x2f\x3f\xff\xd9\xaf\x7e\xf9\xaf\x7f\xfc\xd3\x9f\x7f\xf8\xb7\xff\x51\x7f\xfa\xe5\x6f\x7e\x39\xfe\xcf\xf4\x55\xa5\x56\xbf\xfc\x2c\xfb\xb7\x0f\x07\x45\xda\x38\xf7\xf9\x70\xae\x23\x67\xaa\xbe\x7f\x39\xe7\x66\xdb\xf2\x7e\x28\xc4\x4d\x32\xde\x0f\xd7\xf4\xf2\xbb\xdf\x6b\xb2\xca\x75\x7b\x4f\x3b\x49\x8f\x67\xc5\x7b\xda\xe6\x11\x59\xdf\x58\xb3\x16\xcd\x51\xfe\x7e\x18\xa7\x22\xca\x9e\x0f\x69\x0c\xe9\xce\xb7\x84\x68\x84\xf7\xea\x6f\x3c\x64\x63\x4d\x7a\xaf\x49\x5c\xab\x0e\xd1\xfb\xe1\x3e\x35\xfc\x9c\xe7\x43\xe6\x5c\xe3\xda\xfb\x54\x98\xcb\x4d\xee\xfb\x53\xd8\xce\xda\x55\xdf\xf8\x65\x0e\xca\x11\xef\x4f\x11\xb5\xe4\xcc\xf7\xa9\x88\xd5\x5a\x23\xf2\xfd\xd0\xd7\xac\xcb\xef\xef\x5c\x3c\x52\x3c\xbe\xf1\x50\x3d\x87\x14\xbf\x1f\xba\xeb\x1c\xf3\xad\x43\xab\x32\xa7\xeb\x5b\x7c\x3a\xa7\x53\xd7\x7b\xb7\x4a\xe7\xb6\xe9\x7c\x3f\xe4\xc3\x7e\xfd\xad\x60\xca\x7d\x2a\xe4\x1b\xbf\xdc\xb4\xf8\x7e\x43\x7c\x7a\x7b\xc7\xfc\xc6\xa9\xa8\xd9\x88\xce\xf7\x77\xaa\xd7\x98\xd9\x6f\x05\x53\xaf\x60\xca\xb7\x26\x68\xb6\xa5\x9d\xf7\x9a\x9b\xec\xd4\x99\xef\x4f\xd9\x8b\x78\x92\xbd\xd5\x64\xab\x8b\x59\xbc\x77\xbb\xcf\x9c\xb6\xbc\xdf\x0f\x6f\xe8\x1a\xdf\x38\xb2\x9d\x43\x67\xac\xb7\xe0\xcf\x30\xaf\xfd\x0d\xe3\x3d\xde\x7a\xf4\xbe\x7f\x79\x35\x2d\x4f\xbc\x15\xec\x5a\xcd\x90\x7e\x6f\xe8\xf6\x47\x04\xf3\x2d\x78\x9b\x32\xac\xe8\x3d\xad\xad\x39\xe2\x9c\xb7\x07\xb3\x45\xd3\x72\x7f\xe3\xa1\x2e\x3f\x32\xbe\xf1\x30\xf9\xc4\xbd\x6f\x43\xb2\xda\x31\x89\xde\x01\xc0\xca\x4f\xdf\x6f\xf8\x78\x6b\x3d\xce\xe3\x3d\xad\x8f\x9a\x4c\xfd\xfe\xa5\x73\x25\x93\xbf\x75\xc8\xc5\x4e\x8d\x6f\xe8\x90\x2f\xa3\x3d\xbf\x61\x2b\xbe\xe3\x6e\xe3\xb7\xe0\x63\x88\xf2\xa6\xb7\x84\x62\xd4\x48\xf9\x86\x65\x07\xcb\x6e\xf1\xf7\x91\x85\xf0\xd9\x7b\xbf\x85\x10\xca\x92\xe3\x1b\xee\x2d\xf6\xdc\x75\xbe\xa1\x9a\x71\xfa\x28\x7f\x23\x96\x45\x4b\x96\xae\xb7\x93\xca\xe1\x3b\x6c\xbd\xad\x2c\xcf\xfd\x84\xb3\xf7\x86\x2a\x8b\xc5\xf3\x3d\x6d\x8f\xe9\x6b\xe4\xdb\x3e\x5b\x99\xbd\xe6\x5b\x87\x7a\x6b\x1d\xff\xc6\x79\xf6\x1d\xeb\xf8\x7a\x6f\xa8\xe3\x78\xcc\xf5\xff\xff\xf2\x2f\x11\xd9\x73\x28\x89\xe2\x78\x13\x8d\x18\x8f\xf1\x7d\xc7\xc5\x79\x3e\x8a\xbf\x7c\xff\xed\xf8\xf4\x41\xcb\x04\xe6\x99\x2e\xf2\x37\x2a\xf4\x13\x4c\x32\x5a\x3e\xec\x31\x1e\x71\xc5\x61\x9c\x8f\xe7\x5d\xf8\xfe\x0d\x57\x0d\x79\xec\x73\x1f\x57\xc6\x71\x16\x9e\x07\xe4\x30\x97\x16\xdd\x7e\x8c\x1f\x55\x3f\xfd\x18\x37\xc9\x55\x38\x7e\x6d\xab\xe7\x6b\xdc\xa7\xe0\xb8\xb6\xd5\xc0\xfd\xcf\x3d\x35\x47\x4f\x1c\x17\xb5\x95\x04\xe3\x67\xcc\xf6\x5a\x28\xff\xe3\xe9\x03\xcf\x77\x1e\xb2\x39\x61\xfe\x31\x3f\x56\x82\xeb\x0e\x9a\x7e\x4f\xc2\xf7\x0e\x62\x99\xb1\xf1\xfd\xa5\x3e\x66\xe0\xfb\xeb\xa6\xac\x06\x79\x8e\xe5\x1a\x2e\x38\xae\xcb\xc8\x07\xe8\xdb\xb8\x77\x0d\x97\x87\xdc\x22\x95\xf6\xc1\xf1\x12\xf6\x02\x7d\x9e\x46\x35\xd3\xf0\x5c\x4c\x27\x91\xa0\xde\xa6\x9c\x7d\x12\xf5\x2d\x25\xe7\x9a\xa0\x6f\x93\xf3\x1c\xdd\x30\xcf\xd4\x49\xb1\x0e\x9e\xaf\x9e\xf4\x28\xdc\xbf\x9b\x74\x11\xec\x73\x8c\xb2\x33\x1f\xf6\x9b\x64\xec\x85\xf6\x38\xac\x42\x0c\xf5\x7c\xc4\xca\x3c\xb8\xee\x09
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-10-25 16:49:18 +00:00
info := bindataFileInfo{name: "1696853635_input_data.up.sql", size: 24129, mode: os.FileMode(0666), modTime: time.Unix(1697097750, 0)}
a := &asset{bytes: bytes, info: info, digest: [32]uint8{0xb3, 0xe3, 0x1d, 0xe7, 0xb7, 0x56, 0x9d, 0x7e, 0x5d, 0xe2, 0x37, 0x3f, 0x60, 0xae, 0xa3, 0xcf, 0x52, 0xda, 0x90, 0xde, 0xd8, 0x6b, 0x3c, 0x37, 0xc5, 0x7f, 0x5d, 0x7b, 0xb0, 0xa4, 0x5b, 0x1c}}
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
}
info := bindataFileInfo{name: "1698117918_add_community_id_to_tokens.up.sql", size: 61, mode: os.FileMode(0666), modTime: time.Unix(1698206416, 0)}
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}}
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-10-25 16:49:18 +00:00
info := bindataFileInfo{name: "doc.go", size: 74, mode: os.FileMode(0666), modTime: time.Unix(1696237814, 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-10-25 16:49:18 +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,
"1695133989_add_community_id_to_collectibles_and_collections_data_cache.up.sql": _1695133989_add_community_id_to_collectibles_and_collections_data_cacheUpSql,
2023-10-25 16:49:18 +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,
"doc.go": docGo,
}
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-10-25 16:49:18 +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-10-25 16:49:18 +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{}},
"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-10-25 16:49:18 +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, "/")...)...)
}