gas.models
Define the Gas models.
Copyright (C) 2021 Gitcoin Core
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.
GasProfile
GasProfile(self, *args, **kwargs)
Define the Gas Profile data model.
gas_price
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
_method
GasProfile._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
GasProfile._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
GasProfile._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
GasProfile._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)
id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
mean_time_to_confirm_blocks
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
mean_time_to_confirm_minutes
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
GasGuzzler
GasGuzzler(self, *args, **kwargs)
Define the Gas Guzzler data model.
address
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
gas_used
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
_method
GasGuzzler._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
GasGuzzler._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
GasGuzzler._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
GasGuzzler._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)
ID
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
pct_total
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
GasAdvisory
GasAdvisory(self, *args, **kwargs)
Define the Gas Advisory data model.
active
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
active_until
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
body
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
_method
GasAdvisory._method(self, *, field=<django.db.models.fields.DateTimeField: active_until>, is_next=True, **kwargs)
_method
GasAdvisory._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=True, **kwargs)
_method
GasAdvisory._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=True, **kwargs)
_method
GasAdvisory._method(self, *, field=<django.db.models.fields.DateTimeField: active_until>, is_next=False, **kwargs)
_method
GasAdvisory._method(self, *, field=<django.db.models.fields.DateTimeField: created_on>, is_next=False, **kwargs)
_method
GasAdvisory._method(self, *, field=<django.db.models.fields.DateTimeField: modified_on>, is_next=False, **kwargs)
id
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.